Music Credits
Music Cuba
Musician ASHUTOSH
Sine wave is formed by using sin( ) method and passing the values on the x-axis as the parameter.
#Source_Code :
#PYTHON PROGRAM FOR PLOTTING SINE WAVE USING LINE CHART
import numpy as np
import matplotlib.pyplot as plt
#Grid of 0.01 spacing from -2 to 1
xvals=np.arange(-2,1,0.01)
#Evaluate function on xvals
yvals=np.sin(xvals)
#Create line plot with yvals against xvals
plt.plot(xvals,yvals)
#Show the figure
plt.show()
Link to Python Basics:
👇👇👇
• Playlist
Link to Computer System and Python Fundamentals:
👇👇👇
• Computer System
Link to Python Codes:
👇👇👇
• Python Codes
Link to Math Functions:
👇👇👇
• Playlist
Link to String Functions:
👇👇👇
• String & Math Module
Link to List and Dictionary Functions:
👇👇👇
• Sequences in Python
Link to Patterns:
👇👇👇
• Patterns in Python
Link to Python Library Programs:
👇👇👇
• Python Libraries
On this page of the site you can watch the video online #Program with a duration of hours minute second in good quality, which was uploaded by the user Sneha IITian 29 June 2021, share the link with friends and acquaintances, this video has already been watched 1,104 times on youtube and it was liked by 14 viewers. Enjoy your viewing!