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;
}
Answer:
Fracture.
Explanation:
Fracture describes how a mineral looks when it breaks apart in an irregular way.
Answer:
hello your question has a missing part below is the missing part
Consider the string length equal to
answer : 2cos(2t) sin(2x) - 10cos(10t)sin(10x)
Explanation:
Given string length =
distorted function f(x) = 2sin(2x) - 10sin(10x)
Determine the wave formed in the string
attached below is a detailed solution of the problem
Answer:
(a) lonic bonding
Explanation:
The Strongest chemical bond is the ionic bond ,
Because ionic bond is bound by strong electrostatic interactions ,
The ionic bond forms crystal lattice structure which are bounded by electrostatic interactions but the covalent bond is formed by the van der waal forces .
Hence , ionic bond is stronger than covalent bond .
Answer:
T_warm = 47.22 C
Explanation:
Using energy balance for the system:
m_1*h_1 + m_2*h_2 = m_3*h3 ... Eq1
h_i = c_p. T_i ... Eq 2
m_1 + m_2 = m_3 ... steady flow system (Eq 3)
Substitute Eq 2 and Eq3 in Eq1
m_3 = 0.8 + 1 = 1.8 kg/s
(0.8)*(4.18)*( 348-273) + (1)*(4.18)*( 298-273) = 1.8 * 4.18 *T_3
T_3 = 355.3 / (1.8*4.18) = 47.22 C