tony wrote on 2008-04-26 22:37:
Can someone help me create a chart with 2 sine waves with the ability to
modify amplitude, frequency and phase angle.
thanks tony
First, name six ranges to hold twice the three variables: amplitude1,
frequency1, phase1, amplitude2, frequency2 and phase2.
Then fill a column range with the values 0 to 359 in increment of 1 (or more
or less if you like).
Enter the following formulas in the two cells to the right of your first
angle value (0°). I assume here that it is in cell A5, make changes
according to your needs.
in B5: =SIN((A5-phase1)*PI()/180*frequency1)*amplitude1
in C5: =SIN((A5-phase2)*PI()/180*frequency2)*amplitude2
Then select those two cells, grab the fill handle and drag down to the line
where you have your last angle entry.
Finally, select the three columns of data and make a line graph.
JL
Mac OS X 10.4.11, Office v.X 10.1.9