Question: This is my Python assignment and I need help on Parts A and B. What I have coded is incorrect as I've submitted it and

This is my Python assignment and I need help on Parts A and B. What I have coded is incorrect as I've submitted it and it came back incorrect.
a) Write a function that, given an angle in degrees, returns the angle in radians. Hint: For use the constant provided by NumPy numpy. pi. If you want to test the function yourself, try to call the function using angles that you know the answer for. 1]: import numpy as np def degrees_to_radians(degrees): radians = degrees nppi/180 return radians b) Write a function that, given an angle in radians, returns the angle in degrees. Hint: For use the constant provided by NumPy numpy. pi. If you want to test the function yourself, try to call the function using angles that you know the answer for. def radians_to_degrees (radians ): degrees = radians 180p.pi return degrees ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
