1. Engineering
  2. Computer Science
  3. any help would be greatc...

Question: any help would be greatc...

Question details

2. Write a program to calculate the volume of a truncated cone given the height, the radius of the base, and the angle in degrees formed by the centerline and the side of the cone at the apex. The formula for the volume is 3tan 3 where y is the height. R is the radius, and θ is the angle in radians Enter the value of pi as a defined (symbolic) constant equal to 3.14159265 or declare it as a constant double. Prompt the user for values of height y, radius R, and angle in degrees Convert the angle to radians before using the formula to find the volume. Use math functions for raising to a power and for the tangent function. Print the volume with 3 decimal digits Test with the following values R 2.5 meters v- 3 meters angle 30 degrees

Any help would be great.C++

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution