#Program

Publié le: 29 June 2021
sur la chaîne: Sneha IITian
1,104
14

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  


Sur cette page du site, vous pouvez voir la vidéo en ligne #Program durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Sneha IITian 29 June 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,104 fois et il a aimé 14 téléspectateurs. Bon visionnage!