Answer:
See the below the answer written in Matlab
Explanation:
function inches=feetToInches(feet)
prompt='enter the value of feet in digits';
feet=input(prompt)% ask for the value in feet that needs to be converted to inches
inches =feet*12; % converts feet to inches
x=['the value in inches is: ',num2str(inches)];
disp(x) %display the result of the convertion
end
Answer:
The resultant value is 0
Explanation:
Solution
Given that:
Now
The +5 representation in signed 2's complement integer: 00000101
Thus
When we right shift then, 4 rightmost bit (0101) will be dropped.
The number after 4-bit right shift: 00000000
Therefore the resultant value after 4-bit right shift is "0" in decimal.
Based on the given description above, the planet that is being described would be planet EARTH. It is the only planet where humans can walk without the aid of a space suit, and the only planet that can provide humans the necessary oxygen to survive. Hope this answers that question.