Professional Documents
Culture Documents
Project 2019 4
Project 2019 4
Write a program to calculate the cheapest shipping cost for a customer so that she/he
can decide which courier company to use. The program asks the user to enter the type
of service (Ground, Express, or Overnight) and the weight of the package. The
program then displays the cost for the shipment for both type of courier service
company, and suggest the most economical courier service company.
PROJECT DESCRIPTION
Develop a program based on the given topic. The program must apply all the
knowledge in this course. It must contain all the item i-iv, but not limited to,
i. Script file
ii. Function file
iii. Multiple Input – Output styles
iv. Structured programming – decision/loops or both
1. Use Times New Roman with font size 12 and 1.15 spacing.
2. Add caption for each figure and table
1. Cover page
2. Report Outline
3. Project description
4. Algorithm
5. Flowchart
- Draw the flowchart (suggested to use MS Visio)
6. MATLAB Programming
- Explain the input style and indicates the location in the m.file
- Explain the output style, show at least an example and indicates the
location in the m.file
- List down the name of the script and function files.
7. Case Studies:
a. Case 1:
i. Problem Definition
ii. Result – snapshot the picture of the command window that
contain your result
b. Case 2:
i. Problem Definition
ii. Result - snapshot the picture of the command window that
contain your result
c. Case 3:
i. Problem Definition
ii. Result - snapshot the picture of the command window that
contain your result
8. Conclusion
9. Appendices
i. Script file codes
ii. Function file codes
SKTK1533 Introduction to Computer Programming 20192020-1
Presentation guideline
1. Project description
2. Algorithm and flowchart
3. MATLAB program (no need to show all program)
a. Input – give an example for each input style applied in the program
b. Output - give an example for each output style applied in the
program
c. Function file – give example where apply for function file
4. Case studies – show the problem and snap picture of command window
with result
SUBMISSIONS
The temperature dependence of the heat capacity of many gases can be described
as below:
2 2
𝐶 𝐸
𝐶𝑝 = 𝐴 + 𝐵 [ ] +𝐷[ ]
𝑇𝑠𝑖𝑛ℎ(𝐶 ⁄𝑇) 𝑇𝑐𝑜𝑠ℎ(𝐸 ⁄𝑇)
The following table gives the coefficients of the cubic equation for each gas, Cp is in
J/(kmol.K) and T is in K.
PROJECT DESCRIPTION
Develop a program based on the given topic. The program must apply all the
knowledge in this course. It must contain all the item i-iv, but not limited to,
i. Script file
ii. Function file
iii. Multiple Input – Output styles
iv. Structured programming – decision/loops or both
REPORT GUIDELINE
1. Cover page
2. Project description
3. Algorithm
4. Flowchart
Draw the flowchart (suggested to use MS Visio)
5. MATLAB Programming
Explain the input style and indicates the location in the m.file
Explain the output style, show at least an example and indicates
the location in the m.file
List down the name of the script and function files.
6. Case Studies:
Case 1:
i. Problem Definition
ii. Result – snapshot the picture of the command window that
contain your result
Case 2:
i. Problem Definition
ii. Result - snapshot the picture of the command window that
contain your result
Case 3:
i. Problem Definition
ii. Result - snapshot the picture of the command window that
contain your result
7. Conclusion
SKTK1533 Introduction to Computer Programming 20192020-1
SUBMISSIONS