Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what is 90 degree is radians. what is 180 degrees? how do I run this to get the answer? 4.) Write a function called radians

image text in transcribed

what is 90 degree is radians. what is 180 degrees? how do I run this to get the answer?

4.) Write a function called radians that takes an angle in degrees and prints it converted to radians. The formula for turning an angle in degrees into radians is: radians = degrees * 1 / 180. Use math.pi for . You should round the result to three decimal places using the built-in round function. The documentation is here. I suggest messing around in the shell with round to see how it works. Here are some examples of calling the function with different arguments. (The code executed is in blue, the output produced is in green): radians (200) The angle in radians is: 3.491 radians (30) The angle in radians is: 0.524 5.) Write a function called decimal that takes a number. Print the decimal part in the format

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions