I am looking to create a sin curve using python. I want a code to generate the values in the form of a sine curve. Such that if i plot those values i should get this curve. Can someone help me with this ? I should be able to differ the number of values it takes to reach the peak (basically varying the frequency). Thank you
Share
Have you got Matplotlib and NumPy installed?
Skip the last few steps if you don’t need the plot.