Graph a Harmonic Function and its Polynomial Match

AI Thread Summary
A user is seeking assistance in creating a graph of a function in the form of A*cos(x) + B*sin(x), emphasizing that the graph should be visually appealing rather than mathematically precise. They also request a polynomial that shares the same zeros as the harmonic function. A suggestion is made to use Gnuplot for plotting the functions, with examples provided of sine functions to illustrate the capabilities of the software. The user has shared a hand-drawn example for reference.
cap.r
Messages
64
Reaction score
0
Hello I am appealing to the computer savvy bunch here and asking for a graph.

I need the graph to show a function that is of the form (Acos(x)+Bsin(X)) it can be simple... just anything harmonic I dont' even need the function you can just draw it. and then I need a polynomial that has the same zeros.

again this just needs to look good, the math doesn't have to be correct you can Photoshop it if that's easier. I have included my drawing of it by hand.
http://img822.imageshack.us/img822/6787/poly.jpg

Uploaded with ImageShack.us

any help would be much appreciated. thank you.
 
Last edited by a moderator:
Physics news on Phys.org
Hello i suggest you to use gnuplot...you can plot any function..and export to jpg or eps or pdf..
have a look at the attachment..one is f2(x)=sin(x) and other is f(x)=2sin(x).
 

Attachments

Back
Top