Difference between revisions of "Applets:Spektrum"
From LNTwww
David.Jobst (talk | contribs) |
David.Jobst (talk | contribs) |
||
| Line 241: | Line 241: | ||
{return 0;}}], | {return 0;}}], | ||
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); | ||
| + | var funcT1 = pltBox1.create('functiongraph',[function(x){ | ||
| + | if (Math.abs(x)<=(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2)) | ||
| + | {return sldA1.Value();} | ||
| + | else if (((sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2)<= Math.abs(x)) && (Math.abs(x)<=((sldR1.Value()*sldDT1.Value())/2+sldDT1.Value()/2))) | ||
| + | {return sldA1.Value()*(((sldR1.Value()*sldDT1.Value())/2+sldDT1.Value()/2)-Math.abs(x))/(((sldR1.Value()*sldDT1.Value())/2+sldDT1.Value()/2)-(sldDT1.Value()/2-(sldR1.Value()*sldDT1.Value())/2))} | ||
| + | else | ||
| + | {return 0}}], | ||
| + | |||
//Definition der Spektralfunktionen von Impuls 1 | //Definition der Spektralfunktionen von Impuls 1 | ||
Revision as of 13:56, 18 September 2017
Impuls 1
Impuls 2