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.
1. 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 "a*sin(bx c)+ d" or "a*sec(bx c)+ d" form. Use y =2 sin (pi*x 3pi/4)+5 as your first output.
(a) Display the graph of the given function on [0,2pi). Use a y-limit of (10,10).
(b) Print the range of each function. (Hint: use the ampitude and vertical shift to determine the maximum and minimum y-values)
(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 =4 sec (3x pi )+2

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 Accounting Questions!