Question: Question 1 Use IDLE Editor to create a file called cis 122-assignO2-pythagorean.py. Use the following links as references: Pythagorean Theorem Calculator e Math Forum: Ask

 Question 1 Use IDLE Editor to create a file called cis

Question 1 Use IDLE Editor to create a file called cis 122-assignO2-pythagorean.py. Use the following links as references: Pythagorean Theorem Calculator e Math Forum: Ask Dr. Math: Pythagorean Theoreme Mathematical Functions - Python Create two functions to calculate a missing side using the Pythagorean Theorem. # Calculate missing side c calc_side_c (a, b) # Calculate missing side a or b calc_side_ab ( ab, c) Your Python solution must include the following: Both functions must only have a single line of code and return the missing side . Both functions must use Python standard math module functions pow() and sqrt() Both functions must use the Python standard function round() to return the results rounded to the nearest hundredths Test calc_side_c() with values 5 and 10, print the missing side value Test calc side ab() with values 4 as either side a orb, and 8 as the hypotenuse (side c), print the missing side value Include the single line comment above each function Comment the test section of your program Include the standard class "comment section at the top of your file Include a section called References with top comment section that lists the web site reference links Expected output: C = 11.18 a/b = 6.93

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!