Applets:Spektrum: Unterschied zwischen den Versionen
Aus LNTwww
Zeile 245: | Zeile 245: | ||
//Definition der Spektralfunktionen von Impuls 1 | //Definition der Spektralfunktionen von Impuls 1 | ||
− | + | funcGS1 = pltBox2.create('functiongraph',[function(x){ | |
return (sldA1.Value()*sldDT1.Value()*Math.exp(-1*Math.PI*(x*sldDT1.Value())*(x*sldDT1.Value())))}], | return (sldA1.Value()*sldDT1.Value()*Math.exp(-1*Math.PI*(x*sldDT1.Value())*(x*sldDT1.Value())))}], | ||
{strokeColor: "red", visible: true}); | {strokeColor: "red", visible: true}); | ||
− | + | funcRS1 = pltBox2.create('functiongraph',[function(x){ | |
return (sldA1.Value()*sldDT1.Value()*Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x))}], | return (sldA1.Value()*sldDT1.Value()*Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x))}], | ||
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); | ||
− | + | funcDS1 = pltBox2.create('functiongraph',[function(x){ | |
return (sldA1.Value()*sldDT1.Value()*Math.pow(Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x),2))}], | return (sldA1.Value()*sldDT1.Value()*Math.pow(Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x),2))}], | ||
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); | ||
− | + | funcTS1 = pltBox2.create('functiongraph',[function(x){ | |
return (sldA1.Value()*sldDT1.Value()*(Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x))*(Math.sin(Math.PI*sldR1.Value()*sldDT1.Value()*x)/(Math.PI*sldR1.Value()*sldDT1.Value()*x)))}], | return (sldA1.Value()*sldDT1.Value()*(Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x))*(Math.sin(Math.PI*sldR1.Value()*sldDT1.Value()*x)/(Math.PI*sldR1.Value()*sldDT1.Value()*x)))}], | ||
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); | ||
− | + | funcCS1 = pltBox2.create('functiongraph',[function(x){ | |
return (sldA1.Value()*sldDT1.Value()*(Math.cos(Math.PI*sldR1.Value()*sldDT1.Value()*x))/(1-Math.pow((2*sldR1.Value()*sldDT1.Value()*x),2))*(Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x)))}], | return (sldA1.Value()*sldDT1.Value()*(Math.cos(Math.PI*sldR1.Value()*sldDT1.Value()*x))/(1-Math.pow((2*sldR1.Value()*sldDT1.Value()*x),2))*(Math.sin(Math.PI*sldDT1.Value()*x)/(Math.PI*sldDT1.Value()*x)))}], | ||
{strokeColor: "red", visible: false}); | {strokeColor: "red", visible: false}); |
Version vom 18. September 2017, 14:22 Uhr
Impuls 1
Impuls 2