Answer:
A)cout<<setw(9)<<fixed<<setprecision(2)<<34.789;
B)cout<<setw(5)<<fixed<<setprecision(3)<<7.0;
C)cout<<fixed<<5.789E12;
D)cout<<left<<setw(7)<<67;
Explanation:
Stream Manipulators are functions specifically designed to be used in conjunction with the insertion (<<) and extraction (>>) operators on stream objects in C++ programming while the 'cout' statement is used to display the output of a C++to the standard output device.
setw: used to specify the minimum number of character positions on the output field
setprecision: Sets the decimal precision to be used to format floating-point values on output operations.
fixed: is used to set the floatfield format flag for the specified str stream.
left: adjust output to the left.
A) To display the number 34.789 in a field of eight spaces with two decimal places of precision. cout<<setw(9)<<fixed<<setprecision(2)<<34.789;
B) To display the number 7.0 in a field of six spaces with three decimal places of precision. cout<<setw(5)<<fixed<<setprecision(3)<<7.0;
C) To print out the number 5.789e+12 in fixed-point notation. cout<<fixed<<5.789E12;
(D) To display the number 67 left-justified in a field of six spaces. cout<<left<<setw(7)<<67;
Answer:
i dont agree with mai because they were both going 1cm per second
Explanation:
3÷3=1
6÷6=1
they both are difrent numbers but equal the same thing
Answer:
The answer is "0.0728"
Explanation:
Given value:


if
flow is chocked
if
flow is not chocked
When P= 10 psia <
not chocked
match number:
![\ for \ P= \ 10\ G= \sqrt{\frac{2}{k-1}[(\frac{\ p_{0}}{p})^{\frac{k-1}{k}}-1]}](https://tex.z-dn.net/?f=%5C%20for%20%5C%20P%3D%20%5C%2010%5C%20G%3D%20%5Csqrt%7B%5Cfrac%7B2%7D%7Bk-1%7D%5B%28%5Cfrac%7B%5C%20p_%7B0%7D%7D%7Bp%7D%29%5E%7B%5Cfrac%7Bk-1%7D%7Bk%7D%7D-1%5D%7D)
![= \sqrt{\frac{2}{1.4-1}[(\frac{14.696}{10})^{\frac{1.4-1}{1.4}}-1]}](https://tex.z-dn.net/?f=%3D%20%5Csqrt%7B%5Cfrac%7B2%7D%7B1.4-1%7D%5B%28%5Cfrac%7B14.696%7D%7B10%7D%29%5E%7B%5Cfrac%7B1.4-1%7D%7B1.4%7D%7D-1%5D%7D)





R= gas constant=1716


Answer:
(a) Yes
(b) 102.8 ft
Explanation:
(a)First let convert mile per hour to feet per second
30 mph = 30 * 5280 / 3600 = 44 ft/s
The time it takes for this driver to decelerate comfortably to 0 speed is
t = v / a = 44 / 10 = 4.4 (s)
given that it also takes 1.5 seconds for the driver reaction, the total time she would need is 5.9 seconds. Therefore, if the yellow light was on for 4 seconds, that's not enough time and the dilemma zone would exist.
(b) At this rate the distance covered by the driver is


Since the intersection is only 60 feet wide, the dilemma zone must be
162.8 - 60 = 102.8 ft