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:
They communicate ideas very quickly.
Explanation:
Answer:
The lowest point of the curve is at 239+42.5 ft where elevation is 124.16 ft.
Explanation:
Length of curve is given as

is given as

The K value is given from the table 3.3 for 55 mi/hr is 115. So the value of A is given as

A is given as

With initial grade, the elevation of PVC is

The station is given as

Low point is given as

The station of low point is given as

The elevation is given as

So the lowest point of the curve is at 239+42.5 ft where elevation is 124.16 ft.
The exit temperature is 586.18K and compressor input power is 14973.53kW
Data;
- Mass = 50kg/s
- T = 288.2K
- P1 = 1atm
- P2 = 12 atm
<h3>Exit Temperature </h3>
The exit temperature of the gas can be calculated isentropically as

Let's substitute the values into the formula

The exit temperature is 586.18K
<h3>The Compressor input power</h3>
The compressor input power is calculated as

The compressor input power is 14973.53kW
Learn more on exit temperature and compressor input power here;
brainly.com/question/16699941
brainly.com/question/10121263