Sine Wave between two Functions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
Gackhammer
Messages
13
Reaction score
0
Just Thought this would be cool to share with yall

So say you have two functions, B(x) and A(x)

The equation [itex]\frac{b(x)+a(x) + (b(x)-a(x))sin(nx)}{2}[/itex] Will give you a sin wave in between these two functions (I was playing around with this and finally figured out the equation a while ago). N can be any number, its just used to increase freqency (obviously) so you can see the sin wave in between better.

Try it... HERE IT IS with B(x) = x^2 and A(x) = 4x
 
Mathematics news on Phys.org
This is reminiscent of amplitude modulation (as in AM radio). If you look at the waveforms that are being transmitted, they look like this, although I think they use the special case ##a(x) = -b(x)##.