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;
}
Explanation:
1) Work done = force x distance x cos(θ)
= 0.15 x 6 x cos(30)
= 0.779
2) Ek = ½mv²
v = acceleration due to gravity so 9.81
Ek = ½(2)(9.81)²
Ek = 96.2361
3) v = (√(2em)) / m
= (√(2(96.2361)(2)) / 2
= 9.81 so especially with no time given, I can only assume the acceleration due to gravity but take it with a pinch of salt.
Answer:
To four significant digits = 2097 psi
Explanation:
<u>Applying the rule of thumb </u>
σ = Mc/I ---- ( 1 )
M = 1835 Ibf in , I/c = 0.875 in^3
∴ c/l = 1 / 0.875 = 1.1429
back to equation 1
σ = 1835 * 1.1429 = 2097.2215 psi
To four significant digits = 2097 psi
Answer: quatrain
Explanation:
Reading the Shakespeare's "Sonnet 100", we can infer that the underlined section is referred to as a quatrain.
The quatrain simply refers to a type of stanza that is made up of four lines. For example, based on the information given, we can deduce that the rhyme scheme for the second quatrain is given as cdcd.
My best guess is b but I honestly don’t know