Applets:Spektrum: Unterschied zwischen den Versionen

Aus LNTwww
Wechseln zu:Navigation, Suche
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 (Math.abs(x)<=(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2))
+
             if (x<0)
 
                           {return x;}
 
                           {return x;}
             else if (((sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2)<= Math.abs(x)) && (Math.abs(x)<=((sldR1.Value()*sldDT1.Value())/2+sldDT1.Value()/2)))
+
             else if ((0<= x) && (x<=3))
 
                           {return x*x}
 
                           {return x*x}
 
             else
 
             else

Version vom 18. September 2017, 14:58 Uhr

Impuls 1

Impuls 2