Trying To Add Sine Waves
-
Bingo. OriginalGriff for president of the internet
Does that mean I have to become racist and get a comb-over? :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Radians, not degrees, I think: try 3.1415
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Strangely, neither. 360° ^= 2.06 or something thereabouts.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
-
Will you check my numbers ? I just did... - Amplitude 7 - Frequency 3 - Phase (zero, then 180) The two graphs are not 180 degrees out of phase; looks like about 10 degrees.
Wikipedia:
In general, mathematically important relationships between the sine and cosine functions and the exponential function (see, for example, Euler's formula) are substantially simplified when angles are expressed in radians, rather than in degrees, grads or other units. Therefore, in most branches of mathematics beyond practical geometry, angles are generally assumed to be expressed in radians.
And that's the case in .NET or JavaScript and Java and PHP too...All except radians and not degrees...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
-
Strangely, neither. 360° ^= 2.06 or something thereabouts.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
Works for me: Dropbox - waveAt0.png[^] Dropbox - waveAt0Added.png[^] Dropbox - waveAtPi.png[^] Dropbox - waveAtPiAdded.png[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Works for me: Dropbox - waveAt0.png[^] Dropbox - waveAt0Added.png[^] Dropbox - waveAtPi.png[^] Dropbox - waveAtPiAdded.png[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Yes, now that I've learned how to click the "pi" button on Microsoft Calc, I'm home free.
-
Works for me: Dropbox - waveAt0.png[^] Dropbox - waveAt0Added.png[^] Dropbox - waveAtPi.png[^] Dropbox - waveAtPiAdded.png[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Looks like there's something weird going on with frequency and phase shift: Take 3.1415 as phase shift and then look at the graphs for the frequencies 1 and 2.. That 2.06 value I got with a frequency of 3: Look at phase shifts 0, 0.5, 1, 1.5, 2.06 ..
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
-
Radians, not degrees, I think: try 3.1415
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Bingo When I become the King of England, I will make you a knight.
-
I am looking for a website which will allow me to add sine waves. Can someone tell me what question to ask Google ? I know several questions that ***don't*** work. I want to... - Input the frequency - Input the phase angle - Input the amplitude (nice to have, not required) - Click on a button - See the resulting wave form (save as PNG or whatever would be nice) These phrases and questions don't work... - *free online graphing tool to add two sine waves together - online graph, adding two sine waves together - add two sine waves together - add two sound waves together - Add two frequencies - Online Tone generator* Certainly I'm not the only guy on the internet who has ever wanted this. What question do I ask ? How do I phrase it ?
IMHO, having the words - 'superpose', 'superposition' - may yield better results.
-
Looks like there's something weird going on with frequency and phase shift: Take 3.1415 as phase shift and then look at the graphs for the frequencies 1 and 2.. That 2.06 value I got with a frequency of 3: Look at phase shifts 0, 0.5, 1, 1.5, 2.06 ..
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
It looks fine for me: 2.06 radians as a phase shift with a frequency of 3 looks about right given that
3 * (2.06 / 2) = 3.09 ~= π
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Wikipedia:
In general, mathematically important relationships between the sine and cosine functions and the exponential function (see, for example, Euler's formula) are substantially simplified when angles are expressed in radians, rather than in degrees, grads or other units. Therefore, in most branches of mathematics beyond practical geometry, angles are generally assumed to be expressed in radians.
And that's the case in .NET or JavaScript and Java and PHP too...All except radians and not degrees...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
360 degrees is just for the stupid humans since we like whole numbers. Non-rational numbers aren't so nice for us. Pi is a number to describe the relations in a circle, and it is basically how Sinus and Cosinus are defined.
-
I am looking for a website which will allow me to add sine waves. Can someone tell me what question to ask Google ? I know several questions that ***don't*** work. I want to... - Input the frequency - Input the phase angle - Input the amplitude (nice to have, not required) - Click on a button - See the resulting wave form (save as PNG or whatever would be nice) These phrases and questions don't work... - *free online graphing tool to add two sine waves together - online graph, adding two sine waves together - add two sine waves together - add two sound waves together - Add two frequencies - Online Tone generator* Certainly I'm not the only guy on the internet who has ever wanted this. What question do I ask ? How do I phrase it ?
If you have problems finding this on google, you might just as well create a program that does it :D
-
Nice catch. Thank you and you are voted up My physics is messed up. If I add two sine waves, same amplitude, same frequency, but off by 180 degrees, I'm supposed to get zero. Wave Adder gives me a much lower amplitude, but not zero. Am I missing something ? Maybe congress changed the laws of physics.
-
360 degrees is just for the stupid humans since we like whole numbers. Non-rational numbers aren't so nice for us. Pi is a number to describe the relations in a circle, and it is basically how Sinus and Cosinus are defined.
-
360 degrees is just for the stupid humans since we like whole numbers. Non-rational numbers aren't so nice for us. Pi is a number to describe the relations in a circle, and it is basically how Sinus and Cosinus are defined.
I think that 2π is very nice...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
-
360 degrees is just for the stupid humans since we like whole numbers. Non-rational numbers aren't so nice for us. Pi is a number to describe the relations in a circle, and it is basically how Sinus and Cosinus are defined.
-
It looks fine for me: 2.06 radians as a phase shift with a frequency of 3 looks about right given that
3 * (2.06 / 2) = 3.09 ~= π
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
The effect of the phase shift should be independent of the frequency. A phase shift of π will always "flip" a sine graph horizontally. Now enter a frequency of 2 and look at the graphs for a phase shift of 0 and then 3.141 :laugh:
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
-
I think that 2π is very nice...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
I prefer ><(((o> π
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
The effect of the phase shift should be independent of the frequency. A phase shift of π will always "flip" a sine graph horizontally. Now enter a frequency of 2 and look at the graphs for a phase shift of 0 and then 3.141 :laugh:
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
See what you mean, but I see what they are doing as well.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
I prefer ><(((o> π
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
I meant apple π and cherry π :-D
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
-
See what you mean, but I see what they are doing as well.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
OriginalGriff wrote:
but I see what they are doing as well.
Don't think so: f=2, p=0 -> draw yellow, add, add -> double amplitude f=2, p=0 -> draw yellow, add; f=2, p=3.141 -> add -> double amplitude, should be flat.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson