Answer:
From the question, we have two variables
1. userNum1
2. userNum2
And we are to print "userNum1 is negative" if userNum1 is less than 0.
Then Assign userNum2 with 2 if userNum2 is greater than 10.
Otherwise, print "userNum2 is less or equal 10.".
// Program is written in C++ Programming Language
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main ()
{
// Declare variables
int userNum1, userNum2;
// Accept input for these variables
cin>>userNum1, userNum2;
// Condition 1
if(userNum1 < 0)
{
cout<<"userNum1 is negative"<<'\n';
}
// Condition 2
if(userNum2 > 10)
{
userNum2 = 2;
}
// If condition is less than 10
else
{
cout<<"userNum2 is less or equal to 10"<<\n;
}
return 0;
}
// End of Program.
Answer:
a)Ek=115759.26J
b)23.15kW
Explanation:
kinetic energy(Ek) is understood as that energy that has a body with mass when it travels with a certain speed, it is calculated by the following equation
for the first part
m=1200Kg
V=50km/h=13.89m/s
solving for Ek
Ek=115759.26J
For the second part of the problem we calculate the kinetic energy, using the same formula, then in order to find the energy change we find the difference between the two, finally divide over time (15s) to find the power.
m=1200kg
V=100km/h=27.78m/s
taking into account all of the above the following equation is inferred
ΔE=
Answer:
Modulus of Elasticity = 4.350×10⁶ lb/in²
q'n = 60.33 lb/in²
Side friction = 6.372 lb/in²
Explanation:
See workings in picture below.