Difference between revisions of "Applets:Periodendauer periodischer Signale"

From LNTwww
Line 74: Line 74:
 
t = brd2.create('slider',[[-0.7,-1.5],[3,-1.5],[0,0,10]], {withLabel:false, withTicks:false, snapWidth:0.2}),
 
t = brd2.create('slider',[[-0.7,-1.5],[3,-1.5],[0,0,10]], {withLabel:false, withTicks:false, snapWidth:0.2}),
  
 +
 +
//Definition der Ausgabefelder
 +
texta=brd2.create('text',[2.8,1.87, function()
 +
  { return '\\[A_1= '+ Math.round(a.Value()*100)/100 +' \\text{ V}\\]';}], {fixed:true, visible:true, fontSize:14});
 +
textb=brd2.create('text',[2.8,0.87, function()
 +
  { return '\\[f_1= '+ Math.round(b.Value()*100)/100 +' \\text{ kHz}\\]';}], {fixed:true, visible:true, fontSize:14});
 +
textc=brd2.create('text',[2.8,-0.13, function()
 +
  { return '\\[\\phi_1= '+ Math.round(c.Value()*100)/100 +' \\text{ Grad}\\]';}], {fixed:true, visible:true, fontSize:14});
 +
textd=brd2.create('text',[9.5,1.67, function()
 +
  { return '\\[A_2= '+ Math.round(d.Value()*100)/100 +' \\text{ V}\\]';}], {fixed:true, visible:true, fontSize:14});
 +
texte=brd2.create('text',[9.5,0.67, function()
 +
  { return '\\[f_2= '+ Math.round(e.Value()*100)/100 +' \\text{ kHz}\\]';}], {fixed:true, visible:true, fontSize:14});
 +
textg=brd2.create('text',[9.5,-0.33, function()
 +
  { return '\\[\\phi_2= '+ Math.round(g.Value()*100)/100 +' \\text{ Grad}\\]';}], {fixed:true, visible:true, fontSize:14});
 +
textt=brd2.create('text',[2.8,-1.2, function()
 +
  { return '\\[t= '+ Math.round(t.Value()*100)/100 +' \\]';}], {fixed:true, visible:true, fontSize:14});
  
  

Revision as of 14:51, 13 September 2017

Funktion: $$x(t) = A_1\cdot cos\Big(2\pi f_1\cdot t- \frac{2\pi}{360}\cdot \phi_1\Big)+A_2\cdot cos\Big(2\pi f_2\cdot t- \frac{2\pi}{360}\cdot \phi_2\Big)$$


mit Gitter