Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

BTO2323 - COMPUTER FOR ENGINEERS

INDIVIDUAL ASSIGNMENT 3

LECTURER NAME: DR ARUN GUPTA


DATE OF SUBMISSION: 26 JANUARY 2023
STUDENT:

NO. NAME MATRICS ID

1) NESI HAFILA BT SHAFIKH AHMAD TH21034


Question 1

Calculate the specific heat of wood and the amount of heat needed in kilo joules to raise the
temperature of 20 logs from 26oC to 60o C. Following values are given. Solve the above problem
using “for” loop for temperature increment. Draw the graph between temperature and amount of
heat consumed to raise the temperature.

Moisture content, MC= 20%

Number of logs, n = 20

Length of the logs, L= 12 m

Diameter, D1 = 0.2 m

Diameter, D2 = 0.3 m

Density, ρ = 500 kg/m3

(10 Marks)
Question 2

During the hot pressing of the wood composite board. The moisture from the surface layer moves
towards the centre and the high steam pressure developed in the core. The behaviour of the
pressure inside can be represented by the following equation. It is assumed that “x”, represent the
temperature of the wood fibers and “y”, represent the moisture content of wood fibres. Use the
following equation to create a symbolic function Z

I. (a). Use the ezmesh plotting function to create a three dimensional plot Z.
II. (b). Use the ezsurf plotting function to create a three-dimensional plot of Z.
III. (c). Use ezcountour to create a contour map of Z.
IV. (d). Use ezsurfc to create surface and contour plot of Z

Use subplots to put all the graphs into the same figure.

(10 Marks)
Q.3 The formula for calculating the equated monthly installment due on a loan is given below. This is
the amount paid every month while the loan is outstanding and goes towards repaying both the
principal and the interest.

Where

P is the principal loan amount.

r is the rate of interest calculated on a monthly basis.

n is the tenure in months.

(a). Create a Matlab function called calMI with three inputs: the principal amount , the interest rate
and time period in months to calculate equal monthly payment.

(b). Use the function to calculate what monthly payment would be made for an amount of RM 5
million to be repaid in 30 years at an interest rate of 5 % per year.

(Marks-10)

You might also like