Answer:
1st part: Section W18X76 is adequate
2nd part: Section W21X62 is adequate
Explanation:
See the attached file for the calculation
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:
1. James will attack by generating a random private key XD and a corresponding public key YD.
2. Jane transmit YA to another person called Alex.
3. James intercept YA and transmit YD to jane.
4. Jane receive YD and calculate K1
At this point james and jane thinks they share a secret key but instead james has a secret key k1 to Jane and k2 to alex.
5. Alex transmit another key XA to alex for example.
6. James intercept and calculate k2 and vice versa.
Answer:
- Moisture/ water content w = 26%
Explanation:
- Initial mass of saturated soil w1 = mass of soil - weight of container
= 113.27 g - 49.31 g = 63.96 g
- Final mass of soil after oven w2 = mass of soil - weight of container
= 100.06 g - 49.31 g = 50.75
Moisture /water content, w =
=
= 0.26 = 26%
Void ratio = water content X specific gravity of solid
= 0.26 X 2.80 =0.728
Answer:
The difference of head in the level of reservoir is 0.23 m.
Explanation:
For pipe 1

For pipe 2

Q=2.8 l/s
![Q=2.8\times 10^{-3]](https://tex.z-dn.net/?f=Q%3D2.8%5Ctimes%2010%5E%7B-3%5D)
We know that Q=AV




head loss (h)

Now putting the all values

So h=0.23 m
So the difference of head in the level of reservoir is 0.23 m.