0% found this document useful (0 votes)
100 views

SMJM 3053 Numerical Methods Project

This document outlines a numerical methods course project applying the Second-Order Runge-Kutta method to solve a heat transfer equation, including a table of student names and details of the course, section, and lecturer, followed by a report rubric and table of contents laying out the structure of the report sections on the problem description, objectives, methodology involving both manual and computer calculations, results, discussion, conclusion, and references.

Uploaded by

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

SMJM 3053 Numerical Methods Project

This document outlines a numerical methods course project applying the Second-Order Runge-Kutta method to solve a heat transfer equation, including a table of student names and details of the course, section, and lecturer, followed by a report rubric and table of contents laying out the structure of the report sections on the problem description, objectives, methodology involving both manual and computer calculations, results, discussion, conclusion, and references.

Uploaded by

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

SEMESTER 1, SESSION 2022/2023

SMJM 3053 - Numerical Methods

Application of Second-Order Runge-Kutta on Solving


Heat Transfer Equation

NAME Matric No. Signature


1. MUHAMMAD IRFAN BIN AMINUDIN A21MJ0056

2. NOR NADIA SYAHIRA BINTI RASLI A20MJ0078

3. NURUL AIN NATASHA BINTI AZMI A20MJ0091

4. OOI XIN YIN A20MJ0098

5. WEE LIANG JUN A20MJ0191

Section number 03
Group number
Name of Lecturer Dr Tan Kit Ken
Report’s Rubric

PO Poor Fair Good Excellent


Performance Moderate
Addressed (1 (2 (4 (5 points) Score
Criteria (3 points)
point) points) points)
Format Format follows Format
follows instruction but follows
Format did Formats are
instructions with moderate instruction
Format not follow
but contains number of but with
according to
instructions instructions
many errors errors minor errors
deviance
Significantly Imprecise and Satisfactorily
imprecise and not concise. precise and Precise and
Occasionally concise. Smooth Exceptionally
too wordy. concise.
uneven in flow in flow, precise and
Broken flow Smooth flow
and grammatically concise. Very
and and
grammatically correct with smooth flow
grammatically grammatically
incorrect most acceptable and
Language incorrect with
of the time. number of
correct but
grammatically
plenty with some
Many mistakes. perfect. No
mistakes. Too Acceptable mistakes.
spellings spelling errors.
many spelling number of Little spelling
error. Very easy to
errors. Hardly spelling errors. errors. Easy
Difficult to understand.
able to Understandable. to understand.
understand.
understand.
Problems are Problems are Clear Excellently
poorly not precisely Problem are formulation formulate the
formulated. formulated. formulated. of problem. problem.
Formulation Equations and Equations and Equations and Equations and Equations and
symbols are symbols are symbols are symbols are symbols are
poorly not well defined. well defined. clearly defined.
defined. defined.
Moderate Good Excellent
analytical analytical analytical skills
Moderate in solving the
skills in skills in
Analysis and analytical skills in problems. Each
solving the solving the
solution of solving the issue is
Analysis problem is
problems.
problems. Each
problems.
critically
Issues analysed Each issue is
incomplete. issue analysed analysed and
and solved analysed and
2
and solved. solved correctly.
vaguely. solved
correctly.

__x 5
Total 20
Contents of Contents of Contents of Contents of Contents of
discussion are discussion are discussion are discussion are discussion are
very poor, very poor, little moderate, broad, very broad,
Content poor knowledge on knowledge on showing showing great
11 knowledge on
the field.
the field. the field are
sufficient.
knowledge on
the field.
knowledge on
the field.

__x 2
Total 5
TABLE OF CONTENTS

1.0 Brief Biodata.............................................................................................................................. 1

2.0 Introduction............................................................................................................................... 8

3.0 Problem Description................................................................................................................. 9

4.0 Objectives................................................................................................................................... 9

5.0 Methodology..............................................................................................................................10

4.1 Manual Calculations...................................................................................................13

4.2 Computer Calculations...............................................................................................19

5.0 Results.......................................................................................................................................21

6.0 Discussion..................................................................................................................................23

7.0 Conclusion.................................................................................................................................24

8.0 References.................................................................................................................................25
1.0 BRIEF BIODATA

Name: Nor Nadia Syahira binti Rasli

Hobby: Watching movies

Ambition: Engineer

Contribution: Ralston’s method of manual calculation and Matlab solution

Hello! My name is Nadia and I am 22 years old this year. I was born and raised in
Terengganu. After my SPM, I pursued my foundation in engineering at UiTM Dengkil
and am currently doing my degree in Mechanical Precision Engineering at UTM. To me,
life is about having close friends and family whom you can rely on. I am on the happy
side of life, but sometimes I also have sad and gloomy days. However, I have a few
friends here that cheer me up when I’m having a terrible day. My main goal, for now, is to
graduate successfully and start my career.

1
Name: Ooi Xin Yin

Hobby: Listening to music

Ambition: Engineer

Contribution: Heun’s method of manual calculation and Matlab solution

My name is Ooi Xin Yin. I was born in the city of Ipoh in Perak state in 2001. However, I
moved to Penang when I was still a kindergarten child. Penang is famous for two things, which is
food and education. Every weekend, I can see a lot of tourists coming to Penang mainly for
Penang Laksa and Char Kuey Teow. It is very frustrating to me because my house is located near
to famous spots in Penang (Penang Hills, Kek Lok Si). In peak season, I need to suffer several
heavy traffic jams on my trip. After finishing my secondary studies in Penang Chinese Girls’ High
School, I went to Perak Matriculation College to further my study. It was an unexpected
opportunity for me to go back to Perak again. In Perak Matriculation College, I met with many
lecturers and friends that inspired and influenced me a lot. After my Pre-U study in Perak
Matriculation College, I made an important decision in my life. I put my first choice as
Mechanical Precision Engineering instead of Computer Science in my UPU. It was a huge change
for me because I had planned to be a software engineer since I was 15 and I studied Computer
Science for 3 years ( during secondary school and matriculation college). The main reason that I
made this decision is because I know I can learn about programming, machine learning from the
Internet. I can learn this by joining the workshop, seminar or even enroll for the courses that I am
interested in. The reason why I chose mechanical precision engineering is because of the
uniqueness of MJIIT. It is compulsory for MJIIT students to learn the Japanese language. By

2
learning a foreign language, I will have more choices and advantages when I apply for a job. I
hope that I can get to work in Japan as it would be a wonderful experience to work in foreign
country and experience life there.

3
Name: MUHAMMAD IRFAN BIN AMINUDIN

Hobby: Reading , Listening to music

Ambition: Lecturer

Contribution: Results and Discussion

Hi my name is Muhammad Irfan and you may call me Irfan. This year I am 23
years old. I was born at HUKM Cheras on 11th November 2000. I am a graduate from
Politeknik Sultan Salahuddin Abdul Aziz Shah, Shah Alam and currently furthering my
study at UTM KL MJIIT for a degree in Mechanical Engineering Precision. Right now we
have entered a new year, with that we have to make a new resolution. For this year, I hope
to be more productive than last year and get a good pointer in my studies to pay for all the
hardships of my parents to ensure that I got top quality education for my future.My main
goal is to become a successful graduate and get a good career.

4
Name: Nurul Ain Natasha Binti Azmi

Hobby: Reading books and playing games

Ambition: Engineer

Contribution: Introduction and Problem Description

My name is Nurul Ain Natasha and I usually go by Ain. I am turning 22 years old
this year. I was born and raised in Selayang, Selangor. I am a graduate from an
engineering matriculation located at Jengka, Pahang and am currently taking my degree in
Mechanical Precision Engineering at UTMKL. Back in matriculation, we studied all types
of engineering including civil engineering, electrical engineering & mechanical
engineering. For me, electrical engineering is the toughest engineering major while on the
other hand, civil engineering is the easiest engineering major. However, one of our basic
engineering lecturers warned us that civil engineers now are struggling to get a job hence
why I applied for mechanical engineering, specifically MJIIT programme as my first
choice in my UPU. One of the reasons why I chose MJIIT is also because I love Japanese
culture and Japanese language, mainly because I am a big fan of anime, J-drama & J-pop.
I also did self learn Japanese when I was 17 years old by just watching youtube videos
and now I can really use my knowledge after entering MJIIT with ease. Therefore, my
goal right now is to excel in academics, get good grades and pass JLPT so that in future, I
could apply in well-known Japanese companies or maybe even work in Japan as an
engineer.

5
Name: Wee Liang Jun

Hobby: Playing piano and Swimming

Ambition: Engineer

Contribution: Methodology (overview) and Conclusion

My name is Wee Liang Jun , I was born in Ipoh, Perak in 2001. But, our family
moved to Kelantan when I was 3 years old and so I have grown up there since then.
Kelantan is known for their traditional Malay foods, such as Nasi Kerabu (blue rice),
KawJam (green rice) and Nasi Kunyit ( yellow rice). We have a lot of mosques and
ancient museums here. My house is located at the centre of the state which is Kota Bharu,
Kelantan, i am glad to be living here as it is very convenient for me to go anywhere and
its only 3 minutes walking from my house to the nearby mall we have, which is KB mall.
I graduated from SMJK(C) Chung Hwa and after that I went to further my foundation
studies in Universiti Teknologi Petronas. After my Pre-U is done, I applied for this course,
Bachelor of Mechanical Engineering and Bachelor of Mechanical Precision Engineering
in my UPU choices, but I ended up receiving my second choices. I am glad to learn
Japanese Language throughout three semesters in my university life as it will enhance my
soft skills which can aid me in applying for jobs in future. I have always planned to be a
Mechanical Process Engineer after I graduate and my goal is to work in Micron Company

6
in Singapore. However, if I get a chance to work in Japan, I will definitely choose to work
in Japan as I have the advantages of Japanese Language skills. It will be easier for me to
communicate with people there.

7
2.0 INTRODUCTION

It is common knowledge for mechanical engineering students that there is a chapter on


Ordinary Differential Equations (ODEs) in the Mathematics course for Mechanical
Engineering. In addition to Euler’s method and Taylor’s SPH method, which are both used
to solve ODEs, there is also the Runge-Kutta method, sometimes known as the RK
method or RK version of Euler’s approach. Furthermore, engineering mathematics
frequently uses the iterative Runge-Kutta method. However, in order to maintain the order
of accuracy of the methods, there is no procedure in the Runge Kutta framework for
directly evaluating the trajectory at fractional time increments. The Runge-Kutta method
is a reliable and also a popular method for solving differential equation initial-value
questions. without the necessity for high-order derivatives of functions, the Runge-Kutta
method can be utilized to construct high-order accurate numerical methods by functions
alone.

Moreover, equations relating to heat transfer can also be solved by using the
Runge-Kutta second-order method. This is because it has been demonstrated many times
that by employing this Runge-Kutta second-order method, we can determine the
temperature over time with a given step size, h.

8
3.0 PROBLEM STATEMENT
We are required to compile a report on the topic of Ordinary Differential Equations
(ODEs), specifically using the second-order Runge-Kutta method, and compare the two
methods in light of an engineering problem that may be solved using numerical methods.
In addition to manual calculations, we will also need to be able to solve the problem using
software such as MATLAB, C++, or any software in order to verify the solution. The
knowledge we have acquired in numerical methods class will be put to use in this report
and applied in actual engineering applications.

4.0 OBJECTIVES
1. To understand the Runge-Kutta second-order method for ordinary differential
equations.
2. To solve heat transfer equations by using the Runge-Kutta second-order method.
3. To calculate and solve the problem using MATLAB, C++ or any software.

9
4.0 METHODOLOGY
Runge–Kutta method is an effective and widely used method for solving the initial-value
problems of differential equations. The Runge-Kutta method can be used to build high
order accurate numerical methods from functions without the need for high order
derivatives of functions. The Runge-Kutta 2nd order method is a numerical technique
used to solve an ordinary differential equation of the form.
𝑑𝑦
𝑑𝑥
=𝑓(𝑥, 𝑦), 𝑦(𝑥0) = 𝑦0

𝑦(𝑖+1) = 𝑦𝑖+ [𝑎1𝑘1 + 𝑎2𝑘2]ℎ (1)

Where
𝑘1 = 𝑓(𝑥𝑖, 𝑦𝑖)

𝑘2 = 𝑓(𝑥𝑖 + 𝑝1ℎ, 𝑦𝑖 + 𝑞11𝑘1ℎ)

Which satisfy
1 1
𝑎1 + 𝑎2 = 1, 𝑎2𝑝1 = 2
, 𝑎2𝑞11 = 2
(2)

In general the value of 𝑎2 from Equation 2 is assumed as


1 2
2
(Heun’s Method), 1 (the Midpoint Method) or 3
(Ralston’s Method)

In subsequent sections, we will look at how the Euler and Runge-Kutta methods can be
used to solve higher order ordinary differential equations or simultaneous differential
equations.

4.0.1 Application of Heun’s Method


Heun's method, also known as the improved Euler Method, is a second-order Runge-Kutta
method. Given an initial condition, Heun's method solves Ordinary Differential Equations.
The Euler method is the foundation for Heun's method. The Euler method checks for the
next estimate by using the tangent to the curve at the initial point. The ideal point is where

10
the tangent intersects the curve. However, the assumption that small step sizes lead to
small errors does not always hold true. The Euler method fails to converge in the case of a
larger step size or a concave up curve because it overestimates the next term. Heun's
method solves this problem by taking two tangents to the curve on both sides. The first
tangent overestimates, while the second underestimates. Heun's method then employs the
Euler method to calculate the next term from both tangents.

(𝑘1+ 𝑘2)(ℎ)
𝑦(𝑖+1) = 𝑦𝑖+ 2

𝑘1 = 𝑓(𝑥𝑖, 𝑦𝑖)

𝑘2 = 𝑓(𝑥𝑖 + ℎ, 𝑦𝑖 + 𝑘1ℎ)

Where:
● 𝑘1 and 𝑘2 are over and underestimates.

● h is the step size.


● 𝑥𝑖 and 𝑦𝑖 are initial conditions.

11
4.0.1 Application of Ralston’s Method
Ralston's second order method is a Runge-Kutta method for approximating the solution of
the initial value problem y'(x) = f(x,y); y(x0) = y0 which evaluates the integrand,f(x,y),
twice for each step. For step i+1,
1 2
𝑦(𝑖+1) = 𝑦𝑖+ ( 3 𝑘1 + 3
𝑘2)ℎ (1)

Where
𝑘1 = 𝑓(𝑥𝑖, 𝑦𝑖)

3 3
𝑘2 = 𝑓(𝑥𝑖 + 4
ℎ, 𝑦𝑖 + 4
𝑘1ℎ)

and xi = x0 + i h.
Ralston's second order method is a second order procedure that can be used with
Richardson extrapolation.

12
4.1 MANUAL CALCULATION
A metal ball of radius R heated in an oven at 1600K and then taken from the oven
and allowed to cool down in air at an ambient temperature of 298 K so that it can be
fit into a hollow hub. Assuming heat is lost only due to radiation, The rate of change
of temperature of the metal ball is given by
𝑑Ө −12 4 8 3 2
𝑑𝑡
=− 0. 533 × 10 (Ө − 81 × 10 − 5. 211 × 10 Ө )

where θ is in K and t in seconds. Using the Runge-Kutta 2nd order methods (Heun
Method), find the temperature of the metal after 150 seconds. Assume a step size of h
= 50 seconds
Ө(0) = 1600 𝐾
−12 4 8 3 2
𝑓(𝑡, Ө) =− 0. 533 × 10 (1600 − 81 × 10 − 5. 211 × 10 (1600) )

Heun’s method:
1
Ө𝑖+1 = Ө𝑖 + 2
ℎ(𝑘1 + 𝑘2 )

𝑘1 = 𝑓(𝑡𝑖 , Ө𝑖 )

𝑘2 = 𝑓(𝑡𝑖 + ℎ , Ө𝑖 + 𝑘1 ℎ)

First iteration, i = 0:

𝑡 = 0, Ө0 = 1600

𝑘1 = 𝑓(𝑡0 , Ө0 )

𝑘1 = 𝑓(0, 1600)
−12 4 8 3 2
𝑓(0, 1600) =− 0. 533 × 10 (1600 − 81 × 10 − 5. 211 × 10 (1600) )

𝑓(0, 1600) =− 3. 481641

𝑘1 =− 3. 481641

𝑘2 = 𝑓(𝑡0 + ℎ , Ө0 + 𝑘1 ℎ)

𝑘2 = 𝑓(0 + 50 , 1600 − 3. 481641(50))


13
𝑘2 = 𝑓(50 , 1425. 91795)
−12 4 8 3 2
𝑓(50 , 1425. 91795) =− 0. 533 × 10 (1425. 91795 − 81 × 10 − 5. 211 × 10 (1425. 91795) )

𝑓(50 , 1425. 91795) =− 2. 193496

𝑘2 =− 2. 193496

1
Ө1 = Ө0 + 2
ℎ(𝑘1 + 𝑘2 )

1
Ө1 = 1600 + 2
(50)(− 3. 481641 − 2. 193496)

Ө1 = 1458. 1216 𝐾

First iteration, i = 1:

𝑘1 = 𝑓(𝑡1 , Ө1 )

𝑘1 = 𝑓(50, 1458. 1216)


−12 4 8 3 2
𝑓(50, 1458. 1216) =− 0. 533 × 10 (1458. 1216 − 81 × 10 − 5. 211 × 10 (1458. 1216) )

𝑓(50, 1458. 1216) =− 2. 39914

𝑘1 =− 2. 39914

𝑘2 = 𝑓(𝑡1 + ℎ , Ө1 + 𝑘1 ℎ)

𝑘2 = 𝑓(50 + 50 , 1458. 1216 − 2. 39914(50))

𝑘2 = 𝑓(100 , 1338. 1646)


−12 4 8 3 2
𝑓(100 , 1338. 1646) =− 0. 533 × 10 (1338. 1646 − 81 × 10 − 5. 211 × 10 (1338. 1646) )

𝑓(100 , 1338. 1646) =− 1. 69980

𝑘2 =− 1. 69980

1
Ө2 = Ө1 + 2
ℎ(𝑘1 + 𝑘2 )

1
Ө2 = 1458. 1216 + 2
(50)(− 2. 39914 − 1. 69980 )

14
Ө2 = 1355. 6481 𝐾

First iteration, i = 2:

𝑘1 = 𝑓(𝑡2 , Ө2 )

𝑘1 = 𝑓(100, 1355. 6481)


−12 4 8 3 2
𝑓(100, 1355. 6481) =− 0. 533 × 10 (1355. 6481 − 81 × 10 − 5. 211 × 10 (1355. 6481) )

𝑓(100, 1355. 6481) =− 1. 79075

𝑘1 =− 1. 79075

𝑘2 = 𝑓(𝑡2 + ℎ , Ө2 + 𝑘1 ℎ)

𝑘2 = 𝑓(100 + 50 , 1355. 648 − 1. 79075(50))

𝑘2 = 𝑓(150 , 1266. 1105)


−12 4 8 3 2
𝑓(150 , 1266. 1105) =− 0. 533 × 10 (1338. 1646 − 81 × 10 − 5. 211 × 10 (1338. 1646) )

𝑓(150 , 1338. 1646) =− 1. 36089

𝑘2 =− 1. 36089

1
Ө3 = Ө2 + 2
ℎ(𝑘1 + 𝑘2 )

1
Ө3 = 1355. 6481 + 2
(50)(− 1. 79075 − 1. 36089 )

Ө3 = 1276. 8571 𝐾

Ө3 = 1276. 8571 𝐾

Ө3 = Ө (150)

Ө (150) = 1276. 8571 𝐾

15
𝑡, (𝑠𝑒𝑐𝑜𝑛𝑑) θ, (𝐾𝑒𝑙𝑣𝑖𝑛)

0 1600

50 1458.1216

100 1355. 6481

150 1276. 8571

16
4.1 MANUAL CALCULATION

By using Ralston’s Method:


−12 4 8 3 2
𝑓(𝑡 , θ) =− 0. 533 × 10 (θ − 81 × 10 − 5. 211 × 10 θ )
step size, ℎ = 50

1 2
θ𝑖+1 = θ𝑖 + ( 3 𝑘1 + 3
𝑘2)ℎ

where:
𝑘1 = 𝑓(𝑡𝑖 , θ𝑖)
3 3
𝑘2 = 𝑓(𝑡𝑖 + 4
ℎ , θ𝑖 + 4
𝑘1ℎ)

i=1;
𝑘1 = 𝑓(0 , 1600)
−12 4 8 3 2
=− 0. 533 × 10 (1600 − 81 × 10 − 5. 211 × 10 (1600) )
=− 3. 481641
3 3
𝑘2 = 𝑓(𝑡1 + 4
ℎ , θ1 + 4
𝑘1ℎ)
3 3
= 𝑓(0 + 4
(50) , 1600 + 4
(− 3. 481641)(50))

=− 2. 474722
1 2
θ2 = θ1 + ( 3 𝑘1 + 3
𝑘2)ℎ
1 2
= 1600 + ( 3 (− 3. 481641) + 3
(− 2. 474722))(50)

= 1459. 481917𝐾

i=2;
𝑘1 = 𝑓(50 , 1459. 481917)
−12 4 8 3 2
=− 0. 533 × 10 (1459. 481917 − 81 × 10 − 5. 211 × 10 (1459. 481917) )
=− 2. 408133

17
3 3
𝑘2 = 𝑓(𝑡2 + 4
ℎ , θ2 + 4
𝑘1ℎ)
3 3
= 𝑓(50 + 4
(50) , 1459. 481917 + 4
(− 2. 408133)(50))

=− 1. 863596
1 2
θ3 = θ2 + ( 3 𝑘1 + 3
𝑘2)ℎ
1 2
= 1459. 481917 + ( 3 (− 2. 408133) + 3
(− 1. 863596))(50)

= 1357. 2265𝐾

i=3;
𝑘1 = 𝑓(100 , 1357. 2265)
−12 4 8 3 2
=− 0. 533 × 10 (1357. 2265 − 81 × 10 − 5. 211 × 10 (1357. 2265) )
=− 1. 799141
3 3
𝑘2 = 𝑓(𝑡3 + 4
ℎ , θ3 + 4
𝑘1ℎ)
3 3
= 𝑓(100 + 4
(50) , 1357. 2265 + 4
(− 1. 799141)(50))

=− 1. 465957
1 2
θ4 = θ3 + ( 3 𝑘1 + 3
𝑘2)ℎ
1 2
= 1357. 2265 + ( 3 (− 1. 799141) + 3
(− 1. 465957))(50)

= 1278. 375583𝐾

𝑡, (𝑠𝑒𝑐𝑜𝑛𝑑) θ, (𝐾𝑒𝑙𝑣𝑖𝑛)

0 1600

50 1459. 481917

100 1357. 2265

150 1278. 375583

18
4.2 COMPUTER CALCULATION
4.2.0 Application of Heun Method
Solution for Heun’s Method by using Matlab Software:
Coding:
f=input("Enter your function:");
t0= input ("Enter initial value of t0:");
tn= input ("Enter point at which you want to evaluate solution: value
of:");
y0= input ("Enter initial value of y0:");
h= input ("Enter step size:");
n=round((tn-t0)/h);
t(1)=t0;
y(1)=y0;
for i=1:n
p(i+1)=y(i)+h*f(t(i),y(i));
t(i+1)=t0+i*h;
y(i+1)= y(i)+(h/2)*(f(t(i),y(i))+f(t(i+1),p(i+1)));
fprintf ('y(%0.2f)=%0.4f\n', t(i+1),y(i+1))
end
Result:

19
4.2 COMPUTER CALCULATION

4.2.1 Application of Ralston’s Method

Solution for Ralston’s Method by using Matlab Software:

Coding:

Result:

20
5.0 RESULTS

Based on the results of every iteration for Heun’s method and Ralston’s method,
we find that the answer have a difference between ± 1 and 2 numerical values. The value
for both methods have been fit into the graph as a visual aid to see the difference in the
value for both methods.
Figure 1: Graph of every iteration for Heun’s method

Figure 2 : Graph of every iteration for Ralston’s method

21
Figure 3 : Graph of every iteration for Heun’s method and Ralston’s method

Based on the graph, the points for Heun’s method and Ralston’s Method are very
close to each other and seem to be stacked. The difference between the values of both
methods can be seen more clearly on the graph, as they are stacked with each other
because the values of every iteration are close.

In summary, Heun’s method and Ralston’s method can be used to solve the
question. The only difference between both methods is the accuracy of the results.

22
6.0 DISCUSSION

Heun’s method and Ralston's method are both numerical methods for solving
ordinary differential equations (ODE). Both methods are popular choices for solving ODE
due to their simplicity and moderate accuracy.

Heun’s method is a second-order accurate method, meaning it has an error


proportional to the square of the step size. It is a type of predictor-corrector method,
where the solution is first predicted using the Euler method, and then corrected using a
weighted average of the solution and the true solution.

Ralston’s method is also a second order-accurate method, but it has a slightly


higher accuracy compared to Heun’s method. Like Heun’s method, it is also a
predictor-corrector method, but it uses a different formula for the correction step.

23
7.0 CONCLUSION

In conclusion, we presented two second-order Runge-Kutta methods to solve the


heat transfer equation. It was observed that the Ralston method presented greater accuracy
followed by the Heun method as Heun's method has its error proportional to the square of
the step size. Also , it is a predictor-corrector method in which the solution is predicted
using the Euler method and then corrected using a weighted average of the predicted and
true solutions. On the other hand, Ralston's method, like Heun's, is a second
order-accurate method, but it is slightly more accurate. It is a predictor-corrector method,
like Heun's, but it employs a different correction formula. The values that we have
calculated for both methods gives only a significant difference in values which is why the
graph above shows that the points are stacked with each other, we can only notice a small
difference between them. Hence, throughout this project, second order Runge-Kutta
methods are a good numerical method that can be applied in the engineering field to solve
heat equations which simplify and solve the problem by tabulating the rate of temperature
during heat transfer in any seconds in our daily life.

24
8.0 REFERENCES

1. Chapter 08.03 Runge-Kutta 2nd order method for ordinary differential ... (n.d.).
Retrieved December 20, 2022, from
https://nm.mathforcollege.com/strippedfiles/mws/mec/08ode/mws_mec_ode_t
xt_runge2nd_Examples.pdf

2. Numerical Methods for Solving Differential Equations Heun's Method.


Numerical methods--Heun's method. (n.d.). Retrieved December 25, 2022,
from http://calculuslab.deltacollege.edu/ODE/7-C-2/7-C-2-h.html

3. Runge-Kutta function with a second order ode. MATLAB Answers - MATLAB


Central. (n.d.). Retrieved January 2, 2023, from
https://www.mathworks.com/matlabcentral/answers/488167-runge-kutta-func
tion-with-a-second-order-ode

25
PEER REVIEW ASSESSMENT

COURSE CODE: SMJM 3053


SEMESTER : 1 SESSION : 2022/2023
GROUP : SECTION: PROGRAMME
NAME: OOI XIN YIN
PEER’S NAME 1. MUHAMMAD IRFAN BIN AMINUDDIN MPE
2. NURUL AIN NATASHA BINTI AZMI ESE
3. NOR NADIA SYAHIRA BINTI RASLI CPE
4. WEE LIANG JUN

LECTURER : Dr Tan Lit Ken

Criteria Evaluation Scale


(Peer Review) Poor Moderate Excellent
(1 Point) (2 Points) (3 Points)

Working with Rarely listens to, shares with, and Often listens to, shares with, and supports Almost always listens to, shares
Others supports the efforts of others. Often is the efforts of others, but sometimes is not with, and supports the efforts of
not a good team player. a good team member. others. Tries to keep people working
well together.
Attitude Often is publicly critical of the project Occasionally is publicly critical of the Never is publicly critical of the
or the work of other members of the project or the work of other members of project or the work of others. Always
group. Often has a negative attitude the group. Usually has a positive attitude has a positive attitude about the
about the task(s). about the task(s). task(s).
Time- Rarely gets things done by the Tends to procrastinate, but always gets Routinely uses time well throughout
management deadlines AND group has to adjust things done by the deadlines. Group does the project to ensure things get
deadlines or work responsibilities not have to adjust deadlines or work done on time. Group does not have
because of this person's inadequate responsibilities because of this person's to adjust deadlines or work
time management. procrastination. responsibilities because of this
person's procrastination.
Contributions Rarely provides useful ideas when Sometimes provides useful ideas when Usually provides useful ideas when
participating in the group and in participating in the group and in classroom participating in the group and in
classroom discussion. May refuse to discussion. A satisfactory group member classroom discussion. A strong group
participate. who does what is required. member who tries hard.

Criteria
Peer 1 Peer 2 Peer 3 Peer 4
(Peer Review)

Working with Others 3 3 3 3


Attitude 3 3 3 3
Time-management 3 3 3 3
Contributions
3 3 3 3
TOTAL
12 12 12 12

Comment :
PEER REVIEW ASSESSMENT

COURSE CODE: SMJM 3053


SEMESTER : 1 SESSION : 2022/2023
GROUP : SECTION: 03 PROGRAMME
NAME: WEE LIANG JUN
PEER’S NAME 1. MUHAMMAD IRFAN BIN AMINUDDIN MPE
2. NURUL AIN NATASHA BINTI AZMI ESE
3. OOI XIN YIN CPE
4. NOR NADIA SYAHIRA BINTI RASLI

LECTURER : DR. TAN LIT KEN

Criteria Evaluation Scale


(Peer Review) Poor Moderate Excellent
(1 Point) (2 Points) (3 Points)

Working with Rarely listens to, shares with, and Often listens to, shares with, and supports Almost always listens to, shares
Others supports the efforts of others. Often is the efforts of others, but sometimes is not with, and supports the efforts of
not a good team player. a good team member. others. Tries to keep people working
well together.
Attitude Often is publicly critical of the project Occasionally is publicly critical of the Never is publicly critical of the
or the work of other members of the project or the work of other members of project or the work of others. Always
group. Often has a negative attitude the group. Usually has a positive attitude has a positive attitude about the
about the task(s). about the task(s). task(s).
Time- Rarely gets things done by the Tends to procrastinate, but always gets Routinely uses time well throughout
management deadlines AND group has to adjust things done by the deadlines. Group does the project to ensure things get
deadlines or work responsibilities not have to adjust deadlines or work done on time. Group does not have
because of this person's inadequate responsibilities because of this person's to adjust deadlines or work
time management. procrastination. responsibilities because of this
person's procrastination.
Contributions Rarely provides useful ideas when Sometimes provides useful ideas when Usually provides useful ideas when
participating in the group and in participating in the group and in classroom participating in the group and in
classroom discussion. May refuse to discussion. A satisfactory group member classroom discussion. A strong group
participate. who does what is required. member who tries hard.

Criteria
Peer 1 Peer 2 Peer 3 Peer 4
(Peer Review)

Working with Others


3 3 3 3
Attitude
3 3 3 3
Time-management 3 3 3 3
Contributions
3 3 3 3
TOTAL
12 12 12 12

Comment :
PEER REVIEW ASSESSMENT

COURSE CODE: SMJM 3053


SEMESTER : 1 SESSION : 2022/2023
GROUP : SECTION: 03 PROGRAMME
NAME: NOR NADIA SYAHIRA BINTI RASLI

PEER’S NAME 1. MUHAMMAD IRFAN BIN AMINUDDIN MPE


2. NURUL AIN NATASHA BINTI AZMI ESE
3. OOI XIN YIN CPE
4. WEE LIANG JUN

LECTURER : DR. TAN LIT KEN

Criteria Evaluation Scale


(Peer Review) Poor Moderate Excellent
(1 Point) (2 Points) (3 Points)

Working with Rarely listens to, shares with, and Often listens to, shares with, and supports Almost always listens to, shares
Others supports the efforts of others. Often is the efforts of others, but sometimes is not with, and supports the efforts of
not a good team player. a good team member. others. Tries to keep people working
well together.
Attitude Often is publicly critical of the project Occasionally is publicly critical of the Never is publicly critical of the
or the work of other members of the project or the work of other members of project or the work of others. Always
group. Often has a negative attitude the group. Usually has a positive attitude has a positive attitude about the
about the task(s). about the task(s). task(s).
Time- Rarely gets things done by the Tends to procrastinate, but always gets Routinely uses time well throughout
management deadlines AND group has to adjust things done by the deadlines. Group does the project to ensure things get
deadlines or work responsibilities not have to adjust deadlines or work done on time. Group does not have
because of this person's inadequate responsibilities because of this person's to adjust deadlines or work
time management. procrastination. responsibilities because of this
person's procrastination.
Contributions Rarely provides useful ideas when Sometimes provides useful ideas when Usually provides useful ideas when
participating in the group and in participating in the group and in classroom participating in the group and in
classroom discussion. May refuse to discussion. A satisfactory group member classroom discussion. A strong group
participate. who does what is required. member who tries hard.

Criteria
Peer 1 Peer 2 Peer 3 Peer 4
(Peer Review)

Working with Others 3 3 3 3


Attitude 3 3 3 3
Time-management 3 3 3 3
Contributions 3 3 3 3
TOTAL 12 12 12 12

Comment :
PEER REVIEW ASSESSMENT

COURSE CODE: SMJM 3053


SEMESTER : 1 SESSION : 2022/2023
GROUP : SECTION: 03 PROGRAMME
NAME: NURLAITSHBZM
PEER’S NAME 1. MUHAMMAD IRFAN BIN AMINUDDIN MPE
2. OOI XIN YIN ESE
3. NOR NADIA SYAHIRA BINTI RASLI CPE
4. WEE LIANG JUN

LECTURER : DR. TAN LIT KEN

Criteria Evaluation Scale


(Peer Review) Poor Moderate Excellent
(1 Point) (2 Points) (3 Points)

Working with Rarely listens to, shares with, and Often listens to, shares with, and supports Almost always listens to, shares
Others supports the efforts of others. Often is the efforts of others, but sometimes is not with, and supports the efforts of
not a good team player. a good team member. others. Tries to keep people working
well together.
Attitude Often is publicly critical of the project Occasionally is publicly critical of the Never is publicly critical of the
or the work of other members of the project or the work of other members of project or the work of others. Always
group. Often has a negative attitude the group. Usually has a positive attitude has a positive attitude about the
about the task(s). about the task(s). task(s).
Time- Rarely gets things done by the Tends to procrastinate, but always gets Routinely uses time well throughout
management deadlines AND group has to adjust things done by the deadlines. Group does the project to ensure things get
deadlines or work responsibilities not have to adjust deadlines or work done on time. Group does not have
because of this person's inadequate responsibilities because of this person's to adjust deadlines or work
time management. procrastination. responsibilities because of this
person's procrastination.
Contributions Rarely provides useful ideas when Sometimes provides useful ideas when Usually provides useful ideas when
participating in the group and in participating in the group and in classroom participating in the group and in
classroom discussion. May refuse to discussion. A satisfactory group member classroom discussion. A strong group
participate. who does what is required. member who tries hard.

Criteria
Peer 1 Peer 2 Peer 3 Peer 4
(Peer Review)

Working with Others 3 3 3 3

Attitude 3 3 3 3

Time-management 3 3 3 3

Contributions 3 3 3 3

TOTAL 12 12 12 12

Comment :
PEER REVIEW ASSESSMENT

COURSE CODE: SMJM 3053


SEMESTER : 1 SESSION : 2022/2023
GROUP : SECTION: PROGRAMME
NAME: MUHAMMAD IRFAN BIN AMINUDIN
PEER’S NAME 1. NURUL AIN NATASHA BINTI AZMI MPE
2. OOI XIN YIN ESE
3. NOR NADIA SYAHIRA BINTI RASLI CPE
4. WEE LIANG JUN

LECTURER : DR. TAN LIT KEN

Criteria Evaluation Scale


(Peer Review) Poor Moderate Excellent
(1 Point) (2 Points) (3 Points)

Working with Rarely listens to, shares with, and Often listens to, shares with, and supports Almost always listens to, shares
Others supports the efforts of others. Often is the efforts of others, but sometimes is not with, and supports the efforts of
not a good team player. a good team member. others. Tries to keep people working
well together.
Attitude Often is publicly critical of the project Occasionally is publicly critical of the Never is publicly critical of the
or the work of other members of the project or the work of other members of project or the work of others. Always
group. Often has a negative attitude the group. Usually has a positive attitude has a positive attitude about the
about the task(s). about the task(s). task(s).
Time- Rarely gets things done by the Tends to procrastinate, but always gets Routinely uses time well throughout
management deadlines AND group has to adjust things done by the deadlines. Group does the project to ensure things get
deadlines or work responsibilities not have to adjust deadlines or work done on time. Group does not have
because of this person's inadequate responsibilities because of this person's to adjust deadlines or work
time management. procrastination. responsibilities because of this
person's procrastination.
Contributions Rarely provides useful ideas when Sometimes provides useful ideas when Usually provides useful ideas when
participating in the group and in participating in the group and in classroom participating in the group and in
classroom discussion. May refuse to discussion. A satisfactory group member classroom discussion. A strong group
participate. who does what is required. member who tries hard.

Criteria
Peer 1 Peer 2 Peer 3 Peer 4
(Peer Review)

Working with Others 3 3 3 3

Attitude 3 3 3 3

Time-management 3 3 3 3

Contributions 3 3 3
3

TOTAL 12 12 12 12

Comment :

You might also like