Re: KhiCAS TI-Nspire CX: appli intégrée Math-Science - mode
![Message non lu Message non lu](/forum/styles/prosilver/imageset/icon_post_target_unread.gif)
Une super nouvelle ! Peut-on espérer voir les fonctions implicites en 3D du type f(x,y,z) = 0 ? Par exemple cos(x)+cos(y)+cos(z)=0 ?
News, programmes, tutoriaux, forum sur les calculatrices TI !
https://tiplanet.org/forum/
niconspire a écrit:Une super nouvelle ! Peut-on espérer voir les fonctions implicites en 3D du type f(x,y,z) = 0 ? Par exemple cos(x)+cos(y)+cos(z)=0 ?
implicitplot(x^2+y^2+z^4-1,[x=-2..2,y=-2..2,z=-2..2],xstep=0.5,ystep=0.5,zstep=0.5)
implicitplot(x^2+y^2+z^4-1,x,y,z,nstep=400)
parisse a écrit:Avez-vous un resume rapide des commandes manquantes ou bugguees?
import turtle
from math import sqrt
def triangle(t):
for i in range(4):
turtle.forward(t/(i%4 == 0 and 2 or sqrt(2)))
turtle.left(i==1 and 90 or not(i%2) and 135)
def etoiles():
turtle.pencolor("yellow")
turtle.pensize(2)
for i in range(8):
etoile(-60-30*(i%4)+(i>=4 and 220), (-80,10,-40,60)[i%4])
def etoile(x,y):
turtle.up()
turtle.goto(x,y)
turtle.down()
for i in range(12):
turtle.forward(10)
turtle.left(i%2 and -60 or 120)
turtle.up()
turtle.goto(0,60)
turtle.down()
turtle.pencolor("green")
turtle.pensize(5)
for i in range(4):
triangle(50+20*i)
turtle.up()
turtle.goto(0,30-40*i)
turtle.down()
turtle.pencolor("brown")
turtle.backward(10)
for i in range(4):
turtle.forward(i%2 and 40 or 20)
turtle.left(90)
etoiles()