Kosmala-iwp2017/zajęcia 8/wykresy.txt
2017-11-30 12:34:52 +01:00

23 lines
379 B
Plaintext

x=var('x')
x, y = var('x,y')
1)
plot(x^2+2*x+3,(x,-15,15))
2)
plot((cos(2*x)),(x,-2*pi,2*pi),color="green",thickness=10,linestyle=
"-.",ticks=[pi/2,1])
3)
plot((sin(1/x)),(x,-2,2),color="black",thickness=0.35,linestyle="--",axes=False)
4)
plot3d((x^2+y^2),(x,-4,4),(y,-4,4))
5)
plot3d((x^2-y^2+2*x*y^2+1),(x,-2,2),(y,-2,2),frame=false,color="red")