CoCalc Public FilesSol-D5.sagewsOpen with one click!
Author: Juan Carlos Bustamante
Views : 43
Compute Environment: Ubuntu 18.04 (Deprecated)

Quelques graphiques accompagnant la solution du devoir n.5

Graphiques pour le problème n.1

var('x,y') f(x,y) = y^3 -x^3 -1 G = f.gradient() G(x,y)
(x, y) (-3*x^2, 3*y^2)
Champ = plot_vector_field([y^2,x^2],(x,-2,2),(y,-2,2), color="blue") Courbe = implicit_plot(f(x,y) == 0 , (x,-2,2), (y,-2,2), color= "red") show(Champ + Courbe)

Graphique pour le problème n. 2

var('s,t') def x(t) : return 10*cos(t) def y(t) : return 10*sin(t) def z(x,y) : return 4+(x^2-y^2)/100 S = parametric_plot3d([x(t),y(t), s*z(x(t),y(t))],(t,0,2*pi),(s,0,1), color= "darkgreen", opacity = 0.35) C = parametric_plot3d([x(t),y(t), z(x(t),y(t))],(t,0,2*pi), color= "red", thickness= 2) show(S+C, frame_aspect_ratio = [1,1,3])
(s, t)
3D rendering not yet implemented