Difference between revisions of "Applets:Spektrum"

From LNTwww
Line 162: Line 162:
 
                           {return '\\[x(t)= '+ Math.round((sldA1.Value()*Math.exp(-1*Math.PI*(sldT.Value()/sldDT1.Value())*(sldT.Value()/sldDT1.Value())))*1000)/1000 +' \\]';}],
 
                           {return '\\[x(t)= '+ Math.round((sldA1.Value()*Math.exp(-1*Math.PI*(sldT.Value()/sldDT1.Value())*(sldT.Value()/sldDT1.Value())))*1000)/1000 +' \\]';}],
 
             {fixed:true, strokeColor:'red', visible:true});
 
             {fixed:true, strokeColor:'red', visible:true});
txtR1=cnfBox1.create('text',[0,0.1, function(){
+
var txtR1=cnfBox1.create('text',[0,0.1, function(){
 
             if (Math.abs(sldT.Value())<sldDT1.Value()/2)
 
             if (Math.abs(sldT.Value())<sldDT1.Value()/2)
 
                           {return '\\[x(t)= '+ Math.round((sldA1.Value())*1000)/1000 +' \\]';}
 
                           {return '\\[x(t)= '+ Math.round((sldA1.Value())*1000)/1000 +' \\]';}

Revision as of 14:05, 18 September 2017

Impuls 1

Impuls 2

mit Gitter