Difference between revisions of "Applets:Spektrum"

From LNTwww
Line 242: Line 242:
 
             {strokeColor: "red", visible: false});
 
             {strokeColor: "red", visible: false});
 
var funcT1 = pltBox1.create('functiongraph',[function(x){
 
var funcT1 = pltBox1.create('functiongraph',[function(x){
             if (x<0)
+
             if (Math.abs(x)<sldDT1.Value()/2)
                           {return x;}
+
                           {return sldA1.Value();}
             else if (x==2)
+
             else if(Math.abs(x)==sldDT1.Value()/2)
                           {return x*x;}
+
                           {return sldA1.Value()/2;}
            else
+
            else
                           {return 1;}
+
                           {return 0;}}],
}],
 
  
  

Revision as of 15:00, 18 September 2017

Impuls 1

Impuls 2