Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that 1) calculates perimeter/circumference and area for specific geometric plane figures and 2) calculates the volume and surface area of specific

 

Write a program that 1) calculates perimeter/circumference and area for specific geometric plane figures and 2) calculates the volume and surface area of specific geometric solids. The program should take input from the keyboard and keep track of the units of measurement. It should also have a function for each figure. Answers should be to nearest 100th of a unit (2 decimal places). The figures and shapes are listed below: Triangular Shapes (OUTPUT Perimeter and Area or surface area and volume as appropriate.) 1. Triangles (INPUT sides, not base and height): O O O Scalene Isosceles Equilateral Right Triangle (know a, b) Right Triangle (know a, c) 2. Triangular Right Prism (INPUT sides of base and height of prism) 3. Triangular Pyramid (INPUT sides of base and height of pyramid) The program should permit the user to keep going or terminate after each calculation is made.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Heres a Python program that calculates the perimeter area volume and surface area for the given geometric shapes python import math def calculatetrian... 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

An Introduction to the Mathematics of Financial Derivatives

Authors: Ali Hirsa, Salih N. Neftci

3rd edition

012384682X, 978-0123846822

More Books

Students also viewed these Operating System questions