#Program

Pubblicato il: 29 June 2021
sul canale di: 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  


In questa pagina del sito puoi guardare il video online #Program della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sneha IITian 29 June 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,104 volte e gli è piaciuto 14 spettatori. Buona visione!