Page 1 of 1

Write a Python script which creates an array t of 1001 equally spaced points from t = 0 to t = 67. Use vectorization to

Posted: Mon Jun 06, 2022 5:47 pm
by answerhappygod
Write A Python Script Which Creates An Array T Of 1001 Equally Spaced Points From T 0 To T 67 Use Vectorization To 1
Write A Python Script Which Creates An Array T Of 1001 Equally Spaced Points From T 0 To T 67 Use Vectorization To 1 (53.95 KiB) Viewed 19 times
Write a Python script which creates an array t of 1001 equally spaced points from t = 0 to t = 67. Use vectorization to create an array y containing the values of the function 1 y(t) = 1+0.8 sin(t) evaluated at each value in array t. Using the arrays t and y, plot y as a function of t. Extend your script to add the following features (decorations) to the plot: change the line color to red add a grid When correctly written, your script will produce the following plot: 35 10.0 125 15.0 175