Karatkiewicz-iwp2017/08/zajecia 8.txt
Anna Karatkiewicz 44c4b39c09 zadania 08
2017-11-30 12:44:06 +01:00

18 lines
563 B
Plaintext

zadanie1
p=plot(x^2-2*x+3,(x,-20,20),ticks=[2,25],color='orange',thickness=10,title='wykres funkcji: x^2-2x+3')
t=text('x^2-2x+3',[18,150],color='olive')
p+t
zadanie2
plot(cos(2*x),(x,-10,10),color="pink",thickness=5,linestyle=":",title='wykres funkcji: cos(2x)',axes=False)
zadanie3
plot(sin(1/x),(x,-25,25),color='red',thickness=0.1,title='wykres funkcji sin(1/x)')
zadanie4
x,y= var('x,y')
plot3d(x^2+y^2,(x,-3,4),(y,-2,3),color='pink',frame=False)
zadanie 5
x, y = var('x,y')
plot3d(x^2 - y^2+2*x*y^2+1, (x,-5,2), (y,-3,2), color="green")