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:
Explanation:
There are a total of 6 states and 3 bits in this problem. Whenever the Reset button is pressed, RESET state is called otherwise the state according to the diagram is called. For the combination to be "01011", the input sequence has to be in the same order. If 0 is pressed instead of 1 in state "010", the last state of output ending with 0 will be called and likewise in all the states that follow.
Answer:
4140 steel contains 0.4% C having higher yield strength and ultimate strength than the 1045 steel contains 0.45% C
Explanation:
we have given 4140 steel contains 0.4% C
we know here that 4140 steel is low steel alloy , and it have low amount of chromium , manganese etc alloying element
and these elements which are present in 4140 steel they increase yield strength and ultimate strength of steel
while in 1045 steel contains 0.45 % c is plain carbon steel
and it do not contain any alloying element
so that 4140 steel contains 0.4% C having higher yield strength and ultimate strength than the 1045 steel contains 0.45% C
Answer:
Macronutrients are simply nutrients the body needs in a very high amount e.g Carbohydrate.
MicroNutrients are simply nutrients the body needs but in little amount e.g Minerals.
Explanation:
So for further breakdown:
What are nutrients? Nutrients are essential elements that nourish the body in different capacities. We as humans get most of out nutrients from the food and water we ingest.
Now about Macro Nutrients: From the prefix "Macro" which means large, we can infer that macro nutrients are elements need by the body for the fundamental processes of the body, deficiency in this nutrients are very easy to spot. Examples are: Carbohydrates, Protein, Fats amd Water.
Micro Nutrients: In relation to macro nutrients this are elements that the body needs but are not needed in Large quantities. They mostly work like supporting nutrients. Most chemical activities like reaction that occur in the body are a function of micro nutrients. Defiencies in micrp nutrients may take some time to spot e.g Minerals and Vitamins
In regards to exercise: Macro nutrients are the essential ones here since they are the ones that generate energy. PS: micro nutrients dont generate energy.
In regards to rest: Both the Macro and Micro Nutrients are essentail for the overall well being of the body.
Answer:
The warming causes the oceans to release CO2. The CO2 amplifies the warming and mixes through the atmosphere, spreading warming throughout the planet. So CO2 causes warming AND rising temperature causes CO2 rise. Overall, about 90% of the global warming occurs after the CO2 increase.
Explanation: