Intro to working in Sage
Tips:
To execute a command, hit "Run" or press "shift+enter".
Multiplciation must be written as , e.g. 4x must be typed 4x
To define variables use =, in an equation use == to represent the equals sign.
Practice:
- Part 1: Practice evaluating expressions and basic equations
Evaluate 1/2+3/7, show answer as a fraction and decimal
Simplify the expressions: 5*(x-3)+(x-3)^2+7x
Assign the value of -5 to a and evaluate a^2-3a
Define y as a variable
Solve 5y^2-8y-4=0
Solve the system 5x+3y=13, -3x-2y=-9
- Part 2: Practice Graphing functions and equations
Define f(x)=-3x+6 (explicit)
Plot f(x) on the window [-3,3]x[-3,15]
Graph the equation 3x+2y=12 (implicit)
ASSIGNMENT - Part 3: Conics and systems practice
Graph the conic equation 3x^2+6x+2y^2-8y-5=0, on an appropriate window
Graph the equation x+2=-4(y-1)^2 on an appropriate window
Solve the system of equations x^2-2xy+y^2=7, x^2-2xy+y^2=1
Part 1 - you will see examples worked out for each problem. Copy the code and change it for the assigned problem!
Part 2: Graphing functions and equations
Part 3 Your turn to apply the above to conic sections!
Graph the conic equation 3x^2+6x+2y^2-8y-5=0, on an appropriate window
Graph the equation x+2=-4(y-1)^2 on an appropriate window
Solve the system of equations x^2-2xy+y^2=7, x^2-2xy+y^2=1