Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need someone to help me explain 3c step by step and what is the correct code f

ID: 3744777 • Letter: I

Question

I need someone to help me explain 3c step by step and what is the correct code for MATLAB, Ive tried all sort of codes like this and it still doesnt work? Can someone plug in the values and show me the code on MATLAB, Thank you

2. The interior of the house is warmed by waste heat from lighting and electrical appliances, by heat leaking in from the outdoors, and by heat generated by the people in the home. An air conditioner must be able to remove all this thermal energy in order to keep the inside temperature from rising. Suppose there are 20 light bulbs emitting 100 J/s of energy each and four appliances emitting 500 J/s each. Suppose also that heat leaks in from the outside at a rate of 3000 J/s. (a) How much heat must the air-conditioner be able to remove from the home per second? b) One particular air-conditioning unit can handle 2000 J/s. How many of these units are needed to keep the home at a constant temperature? (Hint you can't have a fraction of a AC unit!) If you replaced the bulbs with CF bulbs which just used 18W, does this chance the number of units required? Allow the user to enter the number of lightbulbs and appliances and calculate the number of air conditioning units required. (c)

Explanation / Answer

I have solve the 3c only as u said

%heat.m

prompt = 'What is the no. of lightbulb? ';
no_of_bulbs = input(prompt);
prompt = 'What is the no. of appliances? ';
no_of_appliance = input(prompt);
% given constant values
heat_from_outside=3000;
heat_from_one_bulb=100;
heat_from_one_appliance=500;
heat_consumed_by_one_ac = 2000;
% calculating total heat generated from each source
total_heat_generated = (no_of_bulbs*heat_from_one_bulb) + (no_of_appliance*heat_from_one_appliance) + heat_from_outside;
%printing information
fprintf(" Total Heat Generated by Bulb, Appliance and ouside leakage : %dj/s ",total_heat_generated);
number_of_ac=0;
% if fraction then adding one more ac
if(rem(total_heat_generated,heat_consumed_by_one_ac)>0)
number_of_ac = fix(total_heat_generated/heat_consumed_by_one_ac) + 1;
else
number_of_ac = total_heat_generated/heat_consumed_by_one_ac;
end
fprintf("Number of Air conditioner required %d : ",number_of_ac);

%OUT

>> heat

What is the no. of lightbulb? 12
What is the no. of appliances? 1

Total Heat Generated by Bulb, Appliance and ouside lekage : 4700j/s

Number of Air conditioner required 3
: >> heat
What is the no. of lightbulb? 20
What is the no. of appliances? 30

Total Heat Generated by Bulb, Appliance and ouside lekage : 20000j/s

Number of Air conditioner required 10
: >> heat
What is the no. of lightbulb? 17
What is the no. of appliances? 13

Total Heat Generated by Bulb, Appliance and ouside lekage : 11200j/s

Number of Air conditioner required 6
: >> heat

What is the no. of lightbulb? 20
What is the no. of appliances? 5

Total Heat Generated by Bulb, Appliance and ouside lekage : 7500j/s

Number of Air conditioner required 4

Please do let me know if u have any concern...