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 txtC1=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()*Math.cos((Math.abs(sldT.Value())-(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2))/(((sldR1.Value()*sldDT1.Value())/2+sldDT1.Value()/2)-(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2))*(Math.PI/2))*Math.cos((Math.abs(sldT.Value())-(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2))/(((sldR1.Value()*sldDT1.Value())/2+sldDT1.Value()/2)-(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2))*(Math.PI/2)))*1000)/1000 +' \\]';}
− else
− {return '\\[x(t)= '+ Math.round((0)*1000)/1000 +' \\]'}}],
− {fixed:true, strokeColor:'red', visible:false});
//Definition der Zeige und Verstecke Koordinatensystemfunktion
//Definition der Zeige und Verstecke Koordinatensystemfunktion
Revision as of 14:11, 18 September 2017
Impuls 1
Gauß
Rechteck
Dreieck
Trapez
Cos-Rolloff
Inaktiv
Impuls 2
Gauß
Rechteck
Dreieck
Trapez
Cos-Rolloff
Inaktiv