Answered step by step
Verified Expert Solution
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started