Answer:
%Program prompts user to input vector
v = input('Enter the input vector: ');
%Program shows the value that user entered
fprintf('The input vector:\n ')
disp(v)
%Loop for checking all array elements
for i = 1 : length(v)
%check if the element is a positive number
if v(i) > 0
%double the element
v(i) = v(i) * 2;
%else the element is negative number.
else
%triple the element
v(i) = v(i) * 3;
end
end
%display the modified vector
fprintf('The modified vector:\n ')
disp(v)
Answer:
4 number answer is correct.
Answer:
Heat required =7126.58 Btu.
Explanation:
Given that
Mass m=20 lb
We know that
1 lb =0.45 kg
So 20 lb=9 kg
m=9 kg
Ice at -15° F and we have to covert it at 200° F.
First ice will take sensible heat at up to 32 F then it will take latent heat at constant temperature and temperature will remain 32 F.After that it will convert in water and water will take sensible heat and reach at 200 F.
We know that
Specific heat for ice
Latent heat for ice H=336 KJ/kg
Specific heat for ice
We know that sensible heat given as
Heat for -15F to 32 F:
Q=858.69 KJ
Heat for 32 Fto 200 F:
Q=6330.74 KJ
Total heat=858.69 + 336 +6330.74 KJ
Total heat=7525.43 KJ
We know that 1 KJ=0.947 Btu
So 7525.43 KJ=7126.58 Btu
So heat required to covert ice into water is 7126.58 Btu.
Answer:
(A)-Light-Bulb, Automobile Engine, Power Plant, Electric Motor
Explanation:
To get the least efficient to the most efficient the chart below explains how to the get it
Incandescent light bulb-5%
Florescent light bulb-20%
Electric motor-90%
Power plant-35%
Automobile engine-25%
Home oil furnace-80%