Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use python idle format Problem Leaderboard Dicussion 1. Create a module classwork 4.2. mymodule.py that defines the following functions culbeides, This funtion takes the

Please use python idle format image text in transcribed
Problem Leaderboard Dicussion 1. Create a module classwork 4.2. mymodule.py that defines the following functions culbeides, This funtion takes the side of a cube as input and returns the surface area and volume. Surface area formu side 2 (6 times a squared) Volume formula side 3 (side cubed) 6 2. Create a module classwork. 4 2 py that defines a main that . Ask the user for the side of the cube. Calls the cube function in mymodule.py . Prints out "The surface area is... the volume is.. . Asks the user for an angle in degrees, and then: Converts the angle to radians (use the math module) - Prints the sin, cos and tan of the angle with 3 digits after the decimal Input Format length of the side of the cube and the angle in degrees Constraints none Output Format prints the surface area, volume, sin, cos and tan of the angle Sample Input o 67 Sample Output o Please enter cube side length: The surface area is 96,e ,the volume ts 64.. Please enter the angle in degrees: sine: e.921 cosine: 0.391 Tangent: 2.356 Current Buffer (saved locally, editable) PO def cube (side) : sur fAreaside 2(6 tines a squared) volume side., (side cubed)

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions