Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, I was wondering if anyone could kindly help me out by creating these formulas and use it as an example with useful comments! Please

Hi, I was wondering if anyone could kindly help me out by creating these formulas and use it as an example with useful comments!

Please take this in consideration and thank you for all your help!

This is going to be programmed on C++ language!

image text in transcribed

5 THE POLYGON AREA PROBLEM = 3 Write a program to calculate the surface area of a regular polygon, one where all sides have the same length, like those in the picture to the right. To calculate the surface area you need the number of sides (n) and the length of any side (s). The formula you'll use is: area =- s'n 4 tan - 6 THE SPHERE STATISTICS PROBLEM Write a program to calculate both the volume and the area of a sphere, given a radius r. The volume V, and the area A, are calculated by using the formulas: 3 V = A = 47tr2

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

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions