CoCalc Public Files201-303-AH / Fichiers Sage pour les Étudiants / Exercice 26 page 124.sagewsOpen with one click!
Author: Julien Giol
Description: Fichiers Sage
Compute Environment: Ubuntu 18.04 (Deprecated)
%md # Exercice 26 page 124

Exercice 26 page 124

%md ## Traces dans les plans x = k

Traces dans les plans x = k

var('x, y, z') eq = z==cos(y) r = 10 G = implicit_plot(eq, (y, -r, r), (z, -r, r), color = 'red') show(G)
(x, y, z)
%md ## Traces dans les plans y = k

Traces dans les plans y = k

var('x, y, z') y=0 eq = z==cos(y) show(eq) r = 10 G = implicit_plot(eq, (x, -r, r), (z, -r, r), color = 'blue') for k in range(1,4): y = k*pi/3 eq = z==cos(y) G+= implicit_plot(eq, (x, -r, r), (z, -r, r), color = 'blue') show(G)
(x, y, z)
z=1\displaystyle z = 1
%md ## Traces dans les plans z = k (courbes de niveau)

Traces dans les plans z = k (courbes de niveau)

var('x, y, z') z=0 eq = z==cos(y) show(eq) G = implicit_plot(eq, (x, -r, r), (y, -r, r), color = 'green') for k in range(-1,2): z = k eq = z==cos(y) G+= implicit_plot(eq, (x, -r, r), (y, -r, r), color = 'green') show(G)
(x, y, z)
0=cos(y)\displaystyle 0 = \cos\left(y\right)
%md ## Graphe

Graphe

var('x, y, z') eq = z==cos(y) show(eq) r = 10 G = implicit_plot3d(eq, (x, -r, r), (y, -r, r), (z, -r, r), plot_points=30, color='orange', mesh=1, opacity=.7) show(G, spin=1)
(x, y, z)
z=cos(y)\displaystyle z = \cos\left(y\right)
3D rendering not yet implemented