0% found this document useful (0 votes)
21 views2 pages

Machine Problem 1

coding for machine problem

Uploaded by

Gabriel Diuyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Machine Problem 1

coding for machine problem

Uploaded by

Gabriel Diuyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CS10-8L: Computer Programming Laboratory

Machine Problem #1: Getting Started

Name: John Gabriel Diuyan Score


:

Sectio A2 Date: 08/27/


n: 24

OBJECTIVES
● To familiarize the students with the MATLAB interface.
● To enable the students to use some basic operations.

Instructions:
1. Save your file as Surname_Firstname_MP1. Ex. Santos_Jared_MP1

2. You will submit a zip file containing the following and send it to BB .

a. PDF file of Machine Problem 1 provided with the screenshot of your answers.
b. Matlab script with .m extension.

3. Your program must have comments for each section.


Header Comments:
%{
This demo program shows how good a Matlab program is
Written by: Bon Ryan Fran
Date: August 27,2023
Time: 2:20pm
Program: BSIE
Course: CS10-8L
Section: B20
School: Mapua University
%}
Your output should be displayed rounded to two decimal places.

MACHINE PROBLEM

1. Write a program that converts and prints a user – supplied measurement from inches
to the following:
a. Convert inches to feet.
b. Convert inches to yard.
c. Convert inches to centimeter.
d. Convert inches to meter.

In the editor window, take a screenshot and paste your output:

Prepared by: Bon Ryan Fran, Mapua University


CS10-8L: Computer Programming Laboratory
Machine Problem #1: Getting Started

Prepared by: Bon Ryan Fran, Mapua University

You might also like