Answer: sunnyvale highscool tx is the BEST
Explanation:
Code:
#include <iostream>
using namespace std;
int main()
{
int Car_Year;
cout<<"Please Enter the Car Model."<<endl;
cin>>Car_Year;
if (Car_Year<1967)
{
cout<<"Few safety features."<<endl;
}
else if (Car_Year>1971 && Car_Year<=1991)
{
cout<<"Probably has head rests."<<endl;
}
else if (Car_Year>1991 && Car_Year<=2000)
{
cout<<"Probably has antilock brakes."<<endl;
}
else if (Car_Year>2000)
{
cout<<"Probably has airbags."<<endl;
}
else
{
cout<<"Invalid Selection."<<endl;
}
return 0;
}
Output:
Please Enter the Car Model.
1975
Probably has head rests.
Please Enter the Car Model.
1999
Probably has antilock brakes.
Please Enter the Car Model.
2005
Probably has airbags.
Please Enter the Car Model.
1955
Few safety features.
Explanation:
We were required to implement multiple If else conditions to assign car model year with the corresponding features of the car.
The code is tested with a wide range of inputs and it returned the same results as it was asked in the question.
Answer:
<em>a) 42 mm</em>
<em>b) 144.4 MPa</em>
<em></em>
Explanation:
Load P = 200 kN = 200 x 10^3 N
Torque T = 1.5 kN-m = 1.5 x 10^3 N-m
maximum shear stress τ = 100 Mpa = 100 x 10^6 Pa
diameter of shaft d = ?
From T = τ * *
substituting values, we have
1.5 x 10^3 = 100 x 10^6 x x
= 7.638 x 10^-5
d = = 0.042 m = <em>42 mm</em>
b) Normal stress = P/A
where A is the area
A = = = 1.385 x 10^-3
Normal stress = (200 x 10^3)/(1.385 x 10^-3) = 144.4 x 10^6 Pa = <em>144.4 MPa</em>
Answer:
116 ft/s
Explanation:
D = 0.10x² – 3.00x + 22.0
1019.50 = 0.10x² – 3.00x + 22.0
0 = 0.10x² – 3.00x – 997.5
0 = x² – 30x – 9975
Solve with quadratic formula:
x = [ -(-30) ± √((-30)² − 4(1)(-9975)) ] / 2(1)
x = [ 30 ± √(900 + 39900) ] / 2
x = (30 ± 20√102) / 2
x = 15 ± 10√102
x ≈ 116
Answer:
The highest grade level is college.