Engineering Homework Help
MATLAB Script practice
Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
the purpose of this lab is to determine the volume and mass of a prescribed cuboid.
Cuboid Properties:
Density | 4420 kg/m3 |
Length | 25 cm |
Width | 15 cm |
Height | 3 cm |
Procedure:
- Save your script as MatlabIntroductionFirstName_LastName.m
- It is recommended to do this step first to protect your work, and save often.
- It is important to write the description block at the top of our script to begin. This should include but is not limited to the purpose of the script, your name, and the date.
- Be sure to provide descriptive and informative comments of all subsequent code.
- The next step to writing our MATLAB script is to prepare MATLAB, do this by adding the three clean up commands after your description block.
- Create four variables that describe the geometry and properties of the cuboid.
- Define the necessary equations to determine the Volume, and Mass of the cuboid.
- Upload your script as a .m file via the Submit Assignment button on Canvas.