I search a programm witch can split a graph in 3spaces
Perhaps If X<=2 Y=2X
If 10<X>2 Y=5x
If X>=10 Y=50
Is there any possibility to make this
![Help :help:](./images/smilies/help.png)
: Define myfunc(x) = Func
: If x <= 2
: Return 2*x
: If x > 2 and x < 10
: Return 5*x
: Return 50
: EndFunc
{ 2x , x<=2
{ 5x , x>2 and x<10
{ 50 , x>=10
when(x<=2, 2x, when(x<10, 5x,50))
: Define myfunc(x) = Func
: a=2x
: If a <= 2
: Return 2*x
: If a > 2 and a < 10
: Return 5*x
: Return 50
: EndFunc
Retourner vers Problèmes divers / Aide débutants
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 16 invités