mass_cube

mass_cube - length and density volume = length^3 mass =...

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

View Full Document Right Arrow Icon
function mass = mass_cube(length, density)  % mass_cube (length,density) C mass of a cube  % calculates the mass of a cube for specified values of the input variables 
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % length and density. volume = length^3; mass = density*volume; end...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online