Applets:Spektrum: Unterschied zwischen den Versionen

Aus LNTwww
Wechseln zu:Navigation, Suche
Zeile 245: Zeile 245:
  
 
//Definition der Spektralfunktionen von Impuls 1
 
//Definition der Spektralfunktionen von Impuls 1
var funcGS1 = pltBox2.create('functiongraph',[function(x){
+
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});
var funcRS1 = pltBox2.create('functiongraph',[function(x){
+
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});
var funcDS1 = pltBox2.create('functiongraph',[function(x){
+
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});
var funcTS1 = pltBox2.create('functiongraph',[function(x){
+
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});
var funcCS1 = pltBox2.create('functiongraph',[function(x){
+
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