|
|
Zeile 176: |
Zeile 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});
| |
| | | |
| | | |
Version vom 18. September 2017, 14:08 Uhr
Impuls 1
Impuls 2