Answer:
I can't understand your language
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:
The solid rod BC has a diameter of 30 mm and is made of an aluminum for which the allowable shearing stress is 25 MPa. Rod AB is hollow and has an outer diameter of 25 mm; it is made of a brass for which the allowable shearing stress is 50 MPa.
Answer:
vB = - 0.176 m/s (↓-)
Explanation:
Given
(AB) = 0.75 m
(AB)' = 0.2 m/s
vA = 0.6 m/s
θ = 35°
vB = ?
We use the formulas
Sin θ = Sin 35° = (OA)/(AB) ⇒ (OA) = Sin 35°*(AB)
⇒ (OA) = Sin 35°*(0.75 m) = 0.43 m
Cos θ = Cos 35° = (OB)/(AB) ⇒ (OB) = Cos 35°*(AB)
⇒ (OB) = Cos 35°*(0.75 m) = 0.614 m
We apply Pythagoras' theorem as follows
(AB)² = (OA)² + (OB)²
We derive the equation
2*(AB)*(AB)' = 2*(OA)*vA + 2*(OB)*vB
⇒ (AB)*(AB)' = (OA)*vA + (OB)*vB
⇒ vB = ((AB)*(AB)' - (OA)*vA) / (OB)
then we have
⇒ vB = ((0.75 m)*(0.2 m/s) - (0.43 m)*(0.6 m/s) / (0.614 m)
⇒ vB = - 0.176 m/s (↓-)
The pic can show the question.