{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

paintHouse - %paint_area =%2(height*length...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function gallons_of_paint_needed=paintHouse(width,length,height,number_of_windows,window_len gth,window_height) %function to compute the surface area of a house to be covered with paint %usage: [gallons_of_paint_needed]=paintHouse(width,length,height,number_of_windows,window_l
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %paint_area = %2.*(height.*length)+2.*(height.*width)-number_of_windows.*(window_height.*window_len %gth) paint_area=2.*(height.*length)+2.*(height.*width)-number_of_windows.*(window_height.*window_length); gallons_of_paint_needed=paint_area/350;...
View Full Document

{[ snackBarMessage ]}