Question: Q1. Using Numpy methods to generate and plot 40 points for the functions f(x) = 2x2 20 and the function g(x) = 0.25x3, over the

Q1. Using Numpy methods to generate and plot 40 points for the functions f(x) = 2x2 20 and the function g(x) = 0.25x3, over the range [20, 20). Use linspace() and arange() methods. In [ ]: 1 ## Q1 solution using linspace() 2 import numpy as np 3 4 # define arange and functions in numpy 5 6 S = 40 # smoothness factor 7 In [ ]: 1 ## Q1 solution using arange() 2 import numpy as np 3 4 5 6 Q2. Given the parametric equations x = 1.5 sin(5t), and y = 1.5 cos(5t). plot the function for 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
