|
|
Line 214: |
Line 214: |
| {return '\\[x(t)= '+ Math.round((0)*1000)/1000 +' \\]';}}], | | {return '\\[x(t)= '+ Math.round((0)*1000)/1000 +' \\]';}}], |
| {fixed:true, strokeColor:'blue', visible:false}); | | {fixed:true, strokeColor:'blue', visible:false}); |
− | var txtT2=cnfBox2.create('text',[-2,0.1, function(){
| + | |
− | if (Math.abs(sldT.Value())<=(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2))
| |
− | {return '\\[x(t)= '+ Math.round((sldA2.Value())*1000)/1000 +' \\]';}
| |
− | else if (((sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2)<= Math.abs(sldT.Value())) && (Math.abs(sldT.Value())<=((sldR2.Value()*sldDT2.Value())/2+sldDT2.Value()/2)))
| |
− | {return '\\[x(t)= '+ Math.round((sldA2.Value()*(((sldR2.Value()*sldDT2.Value())/2+sldDT2.Value()/2)-Math.abs(sldT.Value()))/(((sldR2.Value()*sldDT2.Value())/2+sldDT2.Value()/2)-(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2)))*1000)/1000 +' \\]'}
| |
− | else
| |
− | {return '\\[x(t)= '+ Math.round((0)*1000)/1000 +' \\]'}}],
| |
− | {fixed:true, strokeColor:'blue', visible:true});
| |
− | var txtC2=cnfBox2.create('text',[-2,0.1, function(){
| |
− | if (Math.abs(sldT.Value())<=(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2))
| |
− | {return '\\[x(t)= '+ Math.round((sldA2.Value())*1000)/1000 +' \\]';}
| |
− | else if (((sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2)<=Math.abs(sldT.Value())) && (Math.abs(sldT.Value())<=((sldR2.Value()*sldDT2.Value())/2+sldDT2.Value()/2)))
| |
− | {return '\\[x(t)= '+ Math.round((sldA2.Value()*Math.cos((Math.abs(sldT.Value())-(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2))/(((sldR2.Value()*sldDT2.Value())/2+sldDT2.Value()/2)-(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2))*(Math.PI/2))*Math.cos((Math.abs(sldT.Value())-(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2))/(((sldR2.Value()*sldDT2.Value())/2+sldDT2.Value()/2)-(sldDT2.Value()/2-(sldR2.Value()*sldDT2.Value())/2))*(Math.PI/2)))*1000)/1000 +' \\]';}
| |
− | else
| |
− | {return '\\[x(t)= '+ Math.round((0)*1000)/1000 +' \\]'}}],
| |
− | {fixed:true, strokeColor:'blue', visible:false});
| |
| | | |
| //Definition der Zeige und Verstecke Koordinatensystemfunktion | | //Definition der Zeige und Verstecke Koordinatensystemfunktion |