1 answer

Stopping sight distance (SSD) is defined as the distance needed for a driver to see an object on the roadway

Question:


Stopping sight distance (SSD) is defined as the distance needed for a driver to see an object on the roadway and then stop be
I .6 0.625 Coefficient Road Grade of Friction SSD Reaction Speed Time (s) -03 (downhill 12.S 2.S 30 mph 47 1.5 +.03 (uphill)
Stopping sight distance (SSD) is defined as the distance needed for a driver to see an object on the roadway and then stop before colliding with it. It's composed of the distance to react on first seeing the object and then the distance to stop after the brake is engaged. The following is a formula for determining stopping sight distance: ssi) = (. | c:/ + |-. SSD is the stopping sight distance (m or ft e is the conversion factor .278 m-hr/km-s (metric units) or 1.47 f-hr/mi-sec (U.S. Customary units). v is the speed (km/hr or mihr). t is the reaction time (sec). g is the acceleration caused by gravity 9.81 m/s2 or 32.2 ft/sec2. fis the road's coefficient of friction (dimensionless). G is the road grade, as a decimal (dimensionless) Using this equation, write, compile, and run a C++ program that first prompts the user for the unit system to use (metric or U.S. Customary units). Based on the response, your program should select the correct conversion factor request the remaining data, and display the stopping sight distance. Use your program to complete the following chart:
I .6 0.625 Coefficient Road Grade of Friction SSD Reaction Speed Time (s) -03 (downhill 12.S 2.S 30 mph 47 1.5 +.03 (uphill) - 03 (downhill) 30 mph 47 47 +.03 (uphill) 47 1.5 47 .03(downhill) +.03 (uphill) 03 (downhill) 47 1.5 47 , 2Gİ 40 km/hr .5 40 km/hr 40426 65 km/hr h0625 65 km/hr 5T-2 90 km/hr 47 +.03 (uphill) -03 (downhill) 47 +.03 (uphill) 47 47 -3% (downhil) +.03 (uphill) 47 C 28 90 km/hr

Answers

   /*  *  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 */

Gimtusharsharma/BewitchedUpsetFormulas C Nodescription shareは +new rep my repls languages talk intusharhar ▼ run main.cpp 日 っ

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.

.

Similar Solved Questions

1 answer
3. For problems below, use the information in the following table. (1.5 point) Clock rate 1...
3. For problems below, use the information in the following table. (1.5 point) Clock rate 1 GHz 2 GHz 2.5 GHz Processor P1 P2 P3 No. instructions 15x109 20x109 80x 109 Time 7s 1) Find the CPI for each processor.(0.5) 2) Find the clock rate for P2 that reduces its execution time to that of P1.(0.5) 3...
1 answer
Please provide instructions on each variance and actual results. Brodrick Company expects to produce 21,700 units...
Please provide instructions on each variance and actual results. Brodrick Company expects to produce 21,700 units for the year ending December 31. A flexible budget for 21,700 units of production reflects sales of $607,600; variable costs of $65,100; and fixed costs of $143,000. QS 21-4 Flexible bud...
1 answer
A. Calculate the difference between current assets and current liabilities for Gary’s TV at December 31,...
a. Calculate the difference between current assets and current liabilities for Gary’s TV at December 31, 2016. b. Calculate the total assets at December 31, 2016. c. Calculate the earnings from operations (operating income) for the year ended December 31, 2016. d. Calculate the net income (or ...
1 answer
Nike, Inc. Comparative Balance Sheets May 31 ($ in millions) 2020 2019 $10.248 1,890 1,395 $13,533...
Nike, Inc. Comparative Balance Sheets May 31 ($ in millions) 2020 2019 $10.248 1,890 1,395 $13,533 $ 8,400 1,800 1,500 $11,700 Assets Current assets Property, plant, and equipment (net) Other assets Total assets Liabilities and Stockholders' Equity Current liabilities Long-term liabilities Stock...
1 answer
The accompanying table Multinat Becession provide data fortar, nicotine and carbon monoxide contents in a certain...
The accompanying table Multinat Becession provide data fortar, nicotine and carbon monoxide contents in a certain brand of cigarette. All measurements are in milligramma Parta) Run the Multirear Regression Analysis in Excel with both predictor varubies. What is the adusted value to the nearest hundr...
1 answer
Rates in Fickel Company has two manufacturing departments-Assembly and Testing & Packaging. The predetermined overhead rates...
rates in Fickel Company has two manufacturing departments-Assembly and Testing & Packaging. The predetermined overhead rates in Assembly and Testing &Packaging are $31.00 per direct labor-hour and $27.00 per direct labor-hour, respectively. The company's direct labor wage rate is $33.00 ...
1 answer
A long wire carries a current of 0.465 A. Find the magnitude of the magnetic field...
A long wire carries a current of 0.465 A. Find the magnitude of the magnetic field 0.685 m away from the wire. T...
1 answer
10.55 Draw a stepwise mechanism for the following reaction.
10.55 Draw a stepwise mechanism for the following reaction....
1 answer
(1 point) Consider the following data set: 13 12 15 26 26 50 34 12 39...
(1 point) Consider the following data set: 13 12 15 26 26 50 34 12 39 51 40 26 27 50 35 39 48 20 Find the 16th and 84th percentiles for this data. 16th percentile- 84th percentile -...
1 answer
Question 8, chap 123, sect 10. A rod 14.6 cm long is uniformly charged The Determine...
Question 8, chap 123, sect 10. A rod 14.6 cm long is uniformly charged The Determine the magnitude of the electric part 1 of 1 10 points and has a total charge of-28.2 μC. Coulomb constant is 8.98755 x 10' N m/O2 field along the axis of the rod at a point 25.3605 cm from the center of the rod...
1 answer
For the scenario below: A. Respond by exploring your countertransference issue(s). B. State what ...
For the scenario below: A. Respond by exploring your countertransference issue(s). B. State what you decide to do. You have an Asian-American client who has adjusted a very busy schedule in order to be able to attend therapy sessions. You cancel a session to attend a funeral for a family member. The...
2 answers
Solve for x: #1+1/(1+(1/(1+1/x))##=4#?
Solve for x: #1+1/(1+(1/(1+1/x))##=4#?...
1 answer
凵/Z JESTION 1 The RN is caring for an adult client who has just been diagnosed...
凵/Z JESTION 1 The RN is caring for an adult client who has just been diagnosed with a chronic illness who states "I don't like to make medical decisions, just tell me what you think I should do." The RN identifies this client is using which defense mechanism? a. Denial...
1 answer
What is nitrogen monoxide gas reacts with oxygen gas to produce nitrogen dioxide gas? write a balanced chemical equation for this reaction
What is nitrogen monoxide gas reacts with oxygen gas to produce nitrogen dioxide gas? write a balanced chemical equation for this reaction...
1 answer
Please show all work!!! Question 15 O pts 1.A 5.0 mx 10 m swimming pool is...
Please show all work!!! Question 15 O pts 1.A 5.0 mx 10 m swimming pool is filled to a depth of 100 m. What is the pressure on the bottom of the pool? Idensity of water -1000 kg/m) IL.(a) Calculate the buoyant force of air (air density 1.20 kg/m) on a spherical party balloon that has a radius of 0.1...
1 answer
QUESTION 7 10 points Save Answer David Ricardo's theory of comparative advantage and free trade was...
QUESTION 7 10 points Save Answer David Ricardo's theory of comparative advantage and free trade was an attack on which of the following economic doctrines of the age? collonialism laissez-faire communism feudalism...
1 answer
AJ is a 50-year-old white male who presents for follow-up of his hypertension. AJ is not...
AJ is a 50-year-old white male who presents for follow-up of his hypertension. AJ is not a diabetic and has normal renal function. He is adherent with a low-sodium diet, exercises 150 minutes weekly, and is taking his hydrochlorothiazide 25mg PO daily. His home blood pressure logs and the clinic rea...