Difference between revisions of "Applets:Spektrum"

From LNTwww
Line 277: Line 277:
 
             else
 
             else
 
                           {return 0;}}],
 
                           {return 0;}}],
 +
            {strokeColor: "blue", visible: false});
 +
 +
//Definition der Spektralfunktionen von Impuls 2
 +
var funcGS2 = pltBox2.create('functiongraph',[function(x){
 +
            return (sldA2.Value()*sldDT2.Value()*Math.exp(-1*Math.PI*(x*sldDT2.Value())*(x*sldDT2.Value())))}],
 +
            {strokeColor: "blue", visible: false});
 +
var funcRS2 = pltBox2.create('functiongraph',[function(x){
 +
            return (sldA2.Value()*sldDT2.Value()*Math.sin(Math.PI*sldDT2.Value()*x)/(Math.PI*sldDT2.Value()*x))}],
 +
            {strokeColor: "blue", visible: false});
 +
var funcDS2 = pltBox2.create('functiongraph',[function(x){
 +
            return (sldA2.Value()*sldDT2.Value()*Math.pow(Math.sin(Math.PI*sldDT2.Value()*x)/(Math.PI*sldDT2.Value()*x),2))}],
 +
            {strokeColor: "blue", visible: false});
 +
var funcTS2 = pltBox2.create('functiongraph',[function(x){
 +
            return (sldA2.Value()*sldDT2.Value()*(Math.sin(Math.PI*sldDT2.Value()*x)/(Math.PI*sldDT2.Value()*x))*(Math.sin(Math.PI*sldR2.Value()*sldDT2.Value()*x)/(Math.PI*sldR2.Value()*sldDT2.Value()*x)))}],
 +
            {strokeColor: "blue", visible: true});
 +
var funcCS2 = pltBox2.create('functiongraph',[function(x){
 +
            return (sldA2.Value()*sldDT2.Value()*(Math.cos(Math.PI*sldR2.Value()*sldDT2.Value()*x))/(1-Math.pow((2*sldR2.Value()*sldDT2.Value()*x),2))*(Math.sin(Math.PI*sldDT2.Value()*x)/(Math.PI*sldDT2.Value()*x)))}],
 
             {strokeColor: "blue", visible: false});
 
             {strokeColor: "blue", visible: false});
  

Revision as of 14:19, 18 September 2017

Impuls 1

Impuls 2

mit Gitter