Answer:
I hope following attachment will help you a lot!
Explanation:
Answer:
The principal stresses are σp1 = 27 ksi, σp2 = -37 ksi and the shear stress is zero
Explanation:
The expression for the maximum shear stress is given:

Where
σx = stress in vertical plane = 20 ksi
σy = stress in horizontal plane = -30 ksi
τM = 32 ksi
Replacing:

Solving for τxy:
τxy = ±19.98 ksi
The principal stress is:

Where
σp1 = 20 ksi
σp2 = -30 ksi
(equation 1)
equation 2
Solving both equations:
σp1 = 27 ksi
σp2 = -37 ksi
The shear stress on the vertical plane is zero
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;
}
Your allowed to switch lanes as long as the road is clear and you use signals.