CoCalc Public FilesExemplesCourbes.sagews
Author: Juan Carlos Bustamante
Views : 37
Compute Environment: Ubuntu 18.04 (Deprecated)

Figures des exercices 19 à 24 du document "Courbes paramétrées".

On va tracer toutes les courbes nécessaires. Elles sont données sous forme paramétrique. Regardez la syntaxe de la commande parametric_plot3d(...) qui est utilisée.

var('t') #Déclaration de la variable qui servira de paramètre

t
#Exo 19
C19 = parametric_plot3d([cos(4*t),t, sin(4*t)],(t, -6*pi, 8*pi), plot_points = 1000, color="blue", thickness = 2)
show(C19, frame_aspect_ratio=[10,1,10])

3D rendering not yet implemented
#Exo 20
C20 = parametric_plot3d([t,t^2, exp(-t)],(t, -2, 2), plot_points = 1000, color="blue", thickness = 2)
show(C20)

3D rendering not yet implemented
#Exo 21
C21 = parametric_plot3d([t,1/(1+t^2), t^2],(t, -2, 2), plot_points = 1000, color="blue", thickness = 2)
show(C21, frame_aspect_ratio=[1,5,1])

3D rendering not yet implemented
#Exo 22
C22 = parametric_plot3d([exp(-t)*cos(10*t),exp(-t)*sin(10*t), exp(-t)],(t, -2, 2),  plot_points = 200, color="blue", thickness = 2)
show(C22)

3D rendering not yet implemented
#Exo 23
C23 = parametric_plot3d([cos(t),sin(t), sin(5*t)],(t, -2*pi, 2*pi),  plot_points = 200, color="blue", thickness = 2)
show(C23)

3D rendering not yet implemented
#Exo 23
C24 = parametric_plot3d([cos(t),sin(t), ln(t)],(t, 0.1, 5*e^2),  plot_points = 200, color="blue", thickness = 2)
show(C24)

3D rendering not yet implemented