Applets:Spektrum: Unterschied zwischen den Versionen
Aus LNTwww
Zeile 242: | Zeile 242: | ||
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); | ||
var funcT1 = pltBox1.create('functiongraph',[function(x){ | var funcT1 = pltBox1.create('functiongraph',[function(x){ | ||
− | if | + | if (x<0) |
− | { | + | {3;} |
− | else if( | + | else if((0<= x) && (x<=3)) |
− | { | + | {2;} |
else | else | ||
− | {return | + | {return 1;}}], |
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); | ||
Version vom 18. September 2017, 15:03 Uhr
Impuls 1
Impuls 2