Difference between revisions of "Applets:Spektrum"

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

Revision as of 14:08, 18 September 2017

Impuls 1

Impuls 2

mit Gitter