Question: Write a Python program with: xList = [ 0 , 0 . 5 , 1 . 0 , 1 . 5 , 2 . 0

Write a Python program with:
xList=[0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0,5.5,6.0,6.5,7.0]
Create an empty list yList.
Use for loop to append each value y=exp(-0.5*x)*sin(x) to yList.
Print yList.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!