I was assign to do produce two graphs using Java. One is the Triangular Wave funtion that look like this:
Fourier Series Examples: Triangle Wave
and another for the half-wave rectifier.
The professor suggested us to used the Fourier Series to approximate the graph of the triangular wave by using that series. The function for the Fourier Series can be found here:
PlanetMath: common Fourier series
My big problem is that I don't have any experience whatsoever in graphing functions using Java. I would like some of you to please give me some suggestions ( where should I start, which java library should I look at, what method would you use).
I would really appreciate it.
Thanks in advance.