Answer:
#include <iostream>
#include <string>
using namespace std;
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++)
{
if (tolower(str[i]) != tolower(str[length - 1 - i]))
return false;
}
return true;
}
int main()
{
string s[6] = {"madam", "abba", "22", "67876", "444244", "trymeuemyrt"};
int i;
for(i=0; i<6; i++)
{
//Testing function
if(isPalindrome(s[i]))
{
cout << "\n " << s[i] << " is a palindrome... \n";
}
else
{
cout << "\n " << s[i] << " is not a palindrome... \n";
}
}
return 0;
}
Answer:
E = 8.83 kips
Explanation:
First, we determine the stress on the rod:

where,
σ = stress = ?
F = Force Applied = 1300 lb
A = Cross-sectional Area of rod = 0.5
Therefore,

Now, we determine the strain:

Now, the modulus of elasticity (E) is given as:

<u>E = 8.83 kips</u>
Answer:
B) voltage at the sending end of the feeder = 2483.66 v
Explanation:
attached below is the the equivalent circuits and the remaining solution for option A
B) voltage = 2400 v
I =
= 20.83 A
calculate voltage at sending end ( Vs )
Vs = 2400 + 20.83 ∠ -cos^-1 (0.8) ( 0.75*2 + 0.5 + j 2 + j2 )
hence Vs = 2483.66 ∠ 0.961
therefore voltage at the sending end = 2483.66 v
Explanation:
inside diameter of the hose