Professional Documents
Culture Documents
4
SIMPLE SOLID MENSURATION MATLAB PROGRAM
1. Objective:
The activity aims to create matlab program that will ask the user to choose between the two types of figures
in solid mensuration and output the area, perimeter/circumference, volume or surface area of a certain figure.
2. Intended Learning Outcomes (ILOs):
The students shall be able to:
2.1 create matlab programs that will determine the area and perimeter of five(5) plane figures
2.2 create matlab programs that will determine the volume and surface area of five(5) solid figures
2.3 use switchcase break in creating matlab program for a simple solid mensuration problem-solving
situation.
3. Discussion :
Solid Mensuration is a branch of mathematics that deals with the area and perimeter/circumference of plane
figures and volume and surface area of solid figures.
4. Resources:
Matlab
5. Procedure:
1. Using the matlab editor , choose File/New/ Blank m-file , type the following:
clc;
disp('Area of the Rectangle');
length=input('Enter the length of the rectangle: ');
width=input('Enter the width of the rectangle :');
area=length*width;
fprintf('The area of the rectangle is %0.2f. ',area );
2. Save the file as areaRectangle. Run the program and record the results.
3. Create m-file for the area of the square, right triangle, oblique triangle, circle and ellipse.
4. Create m-file for the perimeter of square, rectangle, right triangle, oblique triangle, circle and ellipse. For
circle, use circumference instead of perimeter.
5. Create m-file for the volume of cone, sphere, rectangular parallelepiped, right circular cylinder and cube.
6. Create m-file for the surface area of cone, sphere, rectangular parallelepiped, right circular cylinder and
cube.
7. Using the matlab editor, choose File/New/Blank m-file, type the following:
clc;
disp('Area and Perimeter of the Rectangle');
choose=input('\n 1. Area of the Rectangle \n 2. Perimeter of the Rectangle \n Choose 1 or 2: ');
switch(choose)
case 1;
length=input('Enter the length of the rectangle: ');
width=input('Enter the width of the rectangle :');
area=length*width;
7. Conclusion:
T I P V P A A 0 5 4 D
CRITERIA
BEGINNER
ACCEPTABLE
PROFICIENT
Members
do
not
demonstrate needed skills.
Members
occasionally
demonstrate needed skills.
Members
always
demonstrate needed skills.
Experimental Set-up
Process Skills
Members
occasionally
demonstrate
targeted
process skills.
Members
demonstrate
process skills.
Safety Precautions
Time Management /
Conduct
of
Experiment
Cooperative
Teamwork
and
Neatness
Orderliness
and
Ability
to
do
independent work
Members
require
supervision by the teacher.
I. Laboratory Skills
Manipulative
Skills
always
targeted
TOTAL SCORE
Other Comments / Observations:
TotalScore
24
RATING = (
)x
100%
SCORE
Evaluated by:
_______________________________________
Printed Name and Signature of Faculty Member
Date: ___________________________