Question: Use Python ( Sympy ) to solve each problem. 1 . Ask the user whether they would like to graph a sine or secant function,
Use Python Sympy to solve each problem.
Ask the user whether they would like to graph a sine or secant function, then ask them to enter an a b c and d value based on the general asinbx c d or asecbx c d form. Use y sin pix pi as your first output.
a Display the graph of the given function on pi Use a ylimit of
b Print the range of each function. Hint: use the ampitude and vertical shift to determine the maximum and minimum yvalues
c Print the period of the graph.
d If a phase shift exists, print the direction and distance of the shift.
e Rerun all of your code using y sec x pi
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
