Professional Documents
Culture Documents
CHEP 530D1
Computer Applications in Chemical Engineering
Dangat, Jennifer G.
Simple Solid Mensuration
Program
Dangat, Jennifer G.
Simple Solid Mensuration
Program
8. Create a MATLAB program that will ask the user to choose between plane figures and solid figures.
If the user will choose plane figures, he will then be ask to choose among the five (5) plane figures as
mentioned in Procedure No. 4. After choosing any of the five (5) plane figures, he will then be ask to
choose between area and perimeter. If the user will choose solid figures, he will then be ask to
choose among the five (5) solid figures as mentioned in Procedure No. 5. After choosing any of the
five (5) solid figures, he will then be ask to choose between volume and surface area. Necessary
inputs are needed and the output will be any of the area or perimeter of any of the five (5) plane
figures and any of the volume and surface area of any of the five (5) solid figures.
6. Data and Results:
Procedu
re No.
MATLAB Result
2
3
Dangat, Jennifer G.
Simple Solid Mensuration
Program
AREA OF A SQUARE:
AREA OF A CIRCLE:
Dangat, Jennifer G.
Simple Solid Mensuration
Program
AREA OF AN ELLIPSE:
PERIMETER OF A SQUARE:
Dangat, Jennifer G.
Simple Solid Mensuration
Program
PERIMETER OF A RECTANGLE:
CIRCUMFERENCE OF A CIRCLE:
Dangat, Jennifer G.
Simple Solid Mensuration
Program
VOLUME OF A CONE:
VOLUME OF A SPHERE:
Dangat, Jennifer G.
Simple Solid Mensuration
Program
VOLUME OF A CUBE:
Dangat, Jennifer G.
Simple Solid Mensuration
Program
Dangat, Jennifer G.
Simple Solid Mensuration
Program
Dangat, Jennifer G.
Simple Solid Mensuration
Program
Dangat, Jennifer G.
Simple Solid Mensuration
Program
Dangat, Jennifer G.
Simple Solid Mensuration
Program
7. Conclusion:
Based from the results of this exercise, it can be concluded that we can use the switch statement to
control which statements get executed based on conditions at the time the program is running. The
switch executes certain statements based on the value of a variable or expression. The switch works by
comparing the input expression to each case value.
8. Further Readings:
Gilat, A. (2008). MATLAB: An introduction with applications (3rd ed.). Hoboken, NJ: Wiley.
McMahon, D. (2007). MATLAB demystified. New York: McGraw-Hill.
9. Assessment (Rubric for Laboratory Performance):
TECHNOLOGICAL INSTITUTE OF THE PHILIPPINES
RUBRIC FOR MODERN TOOL USAGE
(Engineering Programs)
Student Outcome (e): Use the techniques, skills, and modern engineering tools necessary for engineering practice in
complex engineering activities.
Program: Chemical Engineering Course: CHE 530D1 Section: CH51FC1 1st Sem SY 2015-2016
Performance
Indicators
Unsatisfactory
1
Dangat, Jennifer G.
Simple Solid Mensuration
Program
Developing
2
Satisfactory
3
Very Satisfactory
4
Score
1.
Apply
appropriate
techniques,
skills,
and
modern tools
to perform a
disciplinespecific
engineering
task.
Fails to identify
any
modern
techniques
to
perform disciplinespecific
engineering task.
Identifies modern
techniques but
fails to apply
these
in
performing
discipline-specific
engineering task.
Identifies
modern
techniques and is able
to apply these in
performing disciplinespecific engineering
task.
Recognizes
the
benefits
and
constraints of modern
engineering tools and
shows intention to
apply
them
for
engineering practice.
2.
Demonstrate
skills
in
applying
different
techniques and
modern tools
to
solve
engineering
problems.
Recognize the
benefits and
constraints of
modern
engineering
tools.
Attempts to apply
modern tools but
has difficulties to
solve engineering
problems.
Does
not
recognize
the
benefits
and
constraints
of
modern
engineering tools.
Recognizes some
benefits
and
constraints
of
modern
engineering tools.
Recognizes
the
benefits
and
constraints of modern
engineering tools and
shows intention to
apply
them
for
engineering practice.
3.
Total Score
Mean Score = (Total Score / 3)
Percentage Rating = (Total Score / 12) x 100%
Evaluated by:
______________________________________
Printed Name and Signature of Faculty Member
Dangat, Jennifer G.
Simple Solid Mensuration
Program
_______________
Date