- #1
Gackhammer
- 13
- 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
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