SharedLab 9 / Lab9-turnin.sagewsOpen in CoCalc
# Lab: 9

# Name: Sydney
# I worked on this code with: Sam, Dawit, Carlos

# Please do all of your work for this week's lab in this worksheet. If
# you wish to create other worksheets for scratch work, you can, but
# this is the one that will be graded. You do not need to do anything
# to turn in your lab. It will be collected by your TA at the beginning
# of (or right before) next week’s lab.

# Be sure to clearly label which question you are answering as you go and to
# use enough comments that you and the grader can understand your code.
#1
var("x,y")
plot3d(x^2 + y^2, (x,-10,10), (y,-10,10), axes_labels= ("x", "y"))
(x, y)
3D rendering not yet implemented
#2
var("x,y")
plot(x^2, axes_labels=("X","y")) + plot(0, color="orange", thickness= 5)
(x, y)
#3
var("x,y")
plot(y^2, axes_labels=("X","y")) + plot(0, color="magenta", thickness= 5)
(x, y)
#4
var("x,y")
plot3d(x^2 + y^2, (x,-5,5), (y,-5,5), axes_labels= ("x", "y")) + plot3d(0*x + 0*y, (x,-5,5), (y,-5,5), axes_labels= ("x", "y"))
(x, y)
3D rendering not yet implemented
#5
var("x","y")
plot3d((2*(x-2))+(-1*(y-3)-7), (x,-5,5), (y,-5,5)) + point3d((2,3,-7), color="red", thickness=10)
(x, y)
3D rendering not yet implemented
#6
plot3d(x^2+y^2, (x, -5, 5), (y, -5, 5), opacity=0.5, color="blue") + plot3d((2*(x-1)) + (-1*(y+1)+2), (x,-5,5), (y,-5,5), color="red", opacity=0.5) + point3d((1,-1,2), color="yellow", thickness=20)
3D rendering not yet implemented
#7
plot3d(x^2-y^2, (x,-5,10), (y,-5,10), opacity=0.5, color="red") + plot3d((2*(x-1) + 4*(y-2)-3), (x,-5,10), (y,-5,10)) + point3d((1,2,-3), color="yellow", thickness=10)
3D rendering not yet implemented
plot3d(x^2-y^2, (x,-5,10), (y,-5,10), opacity=0.5, color="red") + plot3d((-2*(x+1) - 4*(y+2)-3), (x,-5,10), (y,-5,10)) + point3d((-1,-2,-3), color="yellow", thickness=10)
3D rendering not yet implemented
# The initial point changed from (1,2,3) to (-1,-2,3)