Answer:
Answer with Explanation is in the following attachments.
Explanation:
Answer:
See explaination
Explanation:
#include <iostream>
#include<string.h>
using namespace std;
bool isPalindrome(string str, int lower, int upper){
if(str.length() == 0 || lower>=upper){
return true;
}
else{
if(str.at(lower) == str.at(upper)){
return isPalindrome(str,lower+1,upper-1);
}
else{
return false;
}
}
}
int main(){
string input;
cout<<"Enter string: ";
cin>>input;
if(isPalindrome(input,0,input.length()-1)){
cout<<input<<" is a palindrome"<<endl;
}
else{
cout<<input<<" is NOT a palindrome"<<endl;
}
return 0;
}
Answer:
375 KPa
Explanation:
From the question given above, the following data were obtained:
Initial pressure (P₁) = 125 KPa
Initial temperature (T₁) = 300 K
Final temperature (T₂) = 900 K
Final pressure (P₂) =?
The new (i.e final) pressure of the gas can be obtained as follow:
P₁/T₁ = P₂/T₂
125 / 300 = P₂ / 900
Cross multiply
300 × P₂ = 125 × 900
300 × P₂ = 112500
Divide both side by 300
P₂ = 112500 / 300
P₂ = 375 KPa
Thus, the new pressure of the gas is 375 KPa
Answer:
Explanation:
Using the kinematics equation
to determine the velocity of car B.
where;
initial velocity
= constant deceleration
Assuming the constant deceleration is = -12 ft/s^2
Also, the kinematic equation that relates to the distance with the time is:

Then:

The distance traveled by car B in the given time (t) is expressed as:

For car A, the needed time (t) to come to rest is:

Also, the distance traveled by car A in the given time (t) is expressed as:

Relating both velocities:





t = 2.25 s
At t = 2.25s, the required minimum distance can be estimated by equating both distances traveled by both cars
i.e.



d + 104.625 = 114.75
d = 114.75 - 104.625
d = 10.125 ft
Chicken nugget baby sauce