Question: How do u write out a python code for this? You will complete this part using the scripting window, also known as the editor. Create

 How do u write out a python code for this? YouHow do u write out a python code for this?

You will complete this part using the scripting window, also known as the editor. Create a new Python file and include comment lines at the top with both of your names, the date, and a sentence explaining what the script does. Your task is to write a program that asks the user for a list of numbers and computes the sine, cosine, and squareroot of each number with the following restrictions: Assume the angles are entered in degrees. This means you will have to convert degrees to radians. If any of the numbers in the list are negative, they should be skipped. Round your answers to 3 decimal places (look up the round function). See https: //docs.python.org/3/library/math.html for documentation about the functions in the math library, including trigonometric functions and converting degrees to radians. Example run: Enter angles (in degrees), separated by commas: [0, -1, 90, 180, -12.3, 42] You entered 6 angles. Angle: 0 Sine: 0.0 Cosine: 1.0 Square root: 0.0 Angle: 90 Sine: 1.0 Cosine: 0.0 Square root: 9.487 Angle: 180 Sine: 0.0 Cosine: -1.0 Square root: 13.416 Angle: 42 Sine: 0.669 Cosine: 0.743 Square root: 6.481

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