What is the equation of a half sine wave?

$\begingroup$

Basically, I am trying to generate a half sine wave using excel. The waveform that I am looking for is a wave which has a positive component from $0$ to $\pi$ and a zero component from $\pi$ to $2\pi$. Image attached for reference (red graph). I'm looking for the equation of said graph. Graph of half-rectified sine wave

$\endgroup$ 2

1 Answer

$\begingroup$

How about$$ f(x) = \frac{1}{2}\left(\sin(x) + \left| \sin{x} \right| \right) $$

$\endgroup$ 1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like