Answer:
//Program was implemented using C++ Programming Language
// Comments are used for explanatory purpose
#include<iostream>
using namespace std;
unsigned int second_a(unsigned int n)
{
int r,sum=0,temp;
int first;
for(int i= 1; I<=n; i++)
{
first = n;
//Check if first digit is 3
// Remove last digit from number till only one digit is left
while(first >= 10)
{
first = first / 10;
}
if(first == 3) // if first digit is 3
{
//Check if n is palindrome
temp=n; // save the value of n in a temporary Variable
while(n>0)
{
r=n%10; //getting remainder
sum=(sum*10)+r;
n=n/10;
}
if(temp==sum)
cout<<n<<" is a palindrome";
else
cout<<n<<" is not a palindrome";
}
}
}
Explanation:
The above code segments is a functional program that checks if a number that starts with digit 3 is Palindromic or not.
The program was coded using C++ programming language.
The main method of the program is omitted.
Comments were used for explanatory purpose.
Answer:
If you mean two sides are 7 and two sides are 14 then you'd have 42
and for the second you'd have 14
Explanation:
7 + 7 = 14, 14 + 14 = 28, 14 + 28 = 42
3 + 3 = 6, 4 + 4 = 8, 8 + 6 = 14
Answer:
The power developed in HP is 2702.7hp
Explanation:
Given details.
P1 = 150 lbf/in^2,
T1 = 1400°R
P2 = 14.8 lbf/in^2,
T2 = 700°R
Mass flow rate m1 = m2 = m = 11 lb/s Q = -65000 Btu/h
Using air table to obtain the values for h1 and h2 at T1 and T2
h1 at T1 = 1400°R = 342.9 Btu/h
h2 at T2 = 700°R = 167.6 Btu/h
Using;
Q - W + m(h1) - m(h2) = 0
W = Q - m (h2 -h1)
W = (-65000 Btu/h ) - 11 lb/s (167.6 - 342.9) Btu/h
W = (-65000 Btu/h ) - (-1928.3) Btu/s
W = (-65000 Btu/h ) * {1hr/(60*60)s} - (-1928.3) Btu/s
W = -18.06Btu/s + 1928.3 Btu/s
W = 1910.24Btu/s
Note; Btu/s = 1.4148532hp
W = 2702.7hp
Answer: Rupture strength
Explanation: Rupture strength is the strength of a material that is bearable till the point before the breakage by the tensile strength applied on it. This term is mentioned when there is a sort of deformation in the material due to tension.So, rupture will occur before whenever there are chances of failing and the material is still able to bear stresses before failing.