
/*
* C++ Program to Calculate Stopping Site Distance
*/
#include <iostream>
#include <cstdio>
using namespace std;
#define gM 9.81
#define gF 32.2
#define cM 0.278
#define cF 1.47
int main()
{
int ch;
cout << "Enter choice of units -" << endl;
cout << "1. Metric" << endl;
cout << "2. U.S. Customery Units" << endl;
cout << "Enter Choice: ";
cin >> ch;
int v;
float t, f, G;
double SSD;
switch(ch)
{
case 1:
cout << "Enter speed (km/h): ";
cin >> v;
cout << "Enter reaction time (sec): ";
cin >> t;
cout << "Enter Coefficient of friction: ";
cin >> f;
cout << "Enter Road Grade: ";
cin >> G;
SSD = (cM*v*t) + ((cM*cM*v*v)/(2*gM*(f + G)));
cout << "SSD: " << SSD << " m";
break;
case 2:
cout << "Enter speed (mi/h): ";
cin >> v;
cout << "Enter reaction time (sec): ";
cin >> t;
cout << "Enter Coefficient of friction: ";
cin >> f;
cout << "Enter Road Grade: ";
cin >> G;
SSD = (cF*v*t) + ((cF*cF*v*v)/(2*gF*(f + G)));
cout << "SSD: " << SSD << " ft";
break;
}
return 0;
}
/* Program ends here */

Note: The complete program is tested and the output is attached, please wait the table is being updated. I will attach once it is done.
Stopping sight distance (SSD) is defined as the distance needed for a driver to see an object on the roadway and t...
What is the minimum stopping sight distance (SSD) that should be provided on a highway that has a design speed of 75 mph and a maximum grade of -6%? Assume the perception reaction time = 2.5 sec.
1. Find the stopping sight distance (in feet) for traveling downhill at a grade of 3% and speed of 60 mph, assuming driver’s perception and reaction time of 2.5 sec and a deceleration rate of 9.3 ft/s2. 2. A temporary diversion has been constructed on a highway of +3% grade due to major repairs that are being undertaken on a bridge. The maximum speed allowed on the diversion is 25 mi/h. Determine the minimum distance from the diversion that a...
While a car was operated at 60 mph on a freeway, the driver saw a box on the road ahead and tried to stop the car. The highway grade is -2%. Assume the maximum deceleration rate of the car is 11.2 ft/sec^2 and the perception-reaction time is 2.5 sec. Calculate the stopping sight distance.
please show steps
3. Stopping Distance: You are traveling at 70 mph on a slushy road (friction coefficient 0.20) when you hear a train whistle. You then see the warning sign that is placed 1000 feet before the gate-protected railroad grade crossing. You know you must try to stop. How close will you be to the gate when you come to a stop? Your reaction time is 1.5 seconds. [F&W 6.18 1976.43 ft]