Write a c++ program that reads the slope and length


The acceleration of a sleigh sliding down a hill is a=g sin (a), where a is the slope of the hill and the gravity acceleration g=9.8 m/s2.
a) Write a c++ function that calculates the acceleration as a function of the slope a in degrees.
b)Write a c++ program that reads the slope and length of the hill as inputs,and calculates how long time it takes to slide down the hill.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a c++ program that reads the slope and length
Reference No:- TGS0104822

Expected delivery within 24 Hours