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

Tutorial Chapter 3 and 4

This document provides instructions and questions for a numerical methods and optimization tutorial covering curve fitting, linear algebraic equations, and non-linear problems. Students are asked to solve 6 questions using different numerical methods like linear regression, polynomial fitting, and non-linear curve fitting. They must standardize calculations to 4 decimal places and use Excel, Matlab, and algebraic methods to generate equations from data sets provided for each question.

Uploaded by

Nadia
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)
90 views2 pages

Tutorial Chapter 3 and 4

This document provides instructions and questions for a numerical methods and optimization tutorial covering curve fitting, linear algebraic equations, and non-linear problems. Students are asked to solve 6 questions using different numerical methods like linear regression, polynomial fitting, and non-linear curve fitting. They must standardize calculations to 4 decimal places and use Excel, Matlab, and algebraic methods to generate equations from data sets provided for each question.

Uploaded by

Nadia
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/ 2

CHE555 NUMERICAL METHODS & OPTIMIZATION

TUTORIAL CHAPTER 3 & 4

For question 1-3, solve using

i.Chapter 4: Curve fitting (Linear, Second order & Third order) – To generate the matrices form.
ii.Chapter 4: Excel - Plot the graph & generate the equation
iii.Chapter 4: Matlab - Plot the graph & generate the equation
iv. Chapter 3: Linear Algebraic Equation (Naive Gauss Elimination, Gauss Jordan Methods and
Gauss Seidel Methods) – To solve the matrices & generate the equation.
v. Chapter 3: Excel – To solve the matrices & generate the equation.
vi. Chapter 3: Matlab – To solve the matrices & generate the equation.

Standardize all calculation up to 4 decimal points.

Question 1: Linear Regression (Naive Gauss 8.6 4.5


Elimination) 9.2 3.4
T(oC) R 9.8 2.7
0 27.6
10 31 Question 3: Third order of polynomial
20 34 (Gauss Seidel Methods)
30 37
Volts Amps
40 40
0 0
50 42.6
0.25 0.01
60 45.5
0.5 0.03
70 48.3
0.75 0.05
80 51.1 Answer: 1 0.08
90 54 a0 = 28.1227
1.25 0.11
100 56.7 a1 = 0.28809
1.5 0.14
1.75 0.18
Question 2: Second order of polynomial 2 0.23
(Gauss-Jordan Methods) 2.25 0.28
x y 2.5 0.34
1.2 4.5 2.75 0.42
1.5 5.1 3 0.5
1.8 5.8 3.25 0.6
2.6 6.7 3.5 0.72
3.1 7 3.75 0.85
4.3 7.3 4 1 Answer:
4.9 7.6 4.25 1.18 a0 = -0.0177
4.5 1.39 a1 = 0.1275
5.3 7.4
4.75 1.63 a2 = -0.0403
5.7 7.2 Answer: a3 = 0.0182
6.4 6.9 a0 = 2.78197 5 1.91
7.1 6.6 a1 = 1.93557
a2 = -0.20189
7.6 5.1
For question 4, solve using

i. Chapter 4: Curve fitting (Non-linear) – To generate the matrices form.


ii. Chapter 3: Linear Algebraic Equation (Naive Gauss Elimination, Gauss Jordan Methods and
Gauss Seidel Methods) – To solve the matrices & generate the equation.
iii. Chapter 4: Excel (Solver function) - Generate the equation
iv. Chapter 3: Excel – To solve the matrices & generate the equation.
v. Chapter 3: Matlab – To solve the matrices & generate the equation.

Standardize all calculation up to 4 decimal points.

Question 4: Non-Linear

4(a) Naive Gauss Elimination 4(c) Gauss Seidel Methods

 = vev kmax c 2
k=
cs + c 2
Find the value of α and β.
Find the value of kmax and cs.
v μ Answer
0.1 0.75 c k Answer
0.2 1.25 (use solver):
0.5 1.1
alpha = 9.8974 (use solver):
0.4 1.45 0.8 2.4
beta = -2.5319 kmax = 10.0357
0.6 1.25 1.5 5.3 Cs = 2.1079
0.9 0.85 (use excel) 2.5 7.6
1.3 0.55 alpha = 9.0283 4 8.9 (use excel)
1.5 0.35 beta = -2.4177 kmax = 10.0607
1.7 0.28 Cs = 2.0372
1.8 0.18

4(b) Gauss-Jordan Methods

y = axb

Find the value of a and b.

x y
2.5 13
3.5 11
5 8.5 Answer
6 8.2
(use solver):
7.5 7 a = 21.4768
10 6.2 b = -0.5485
12.5 5.2
15 4.8 (use excel)
17.5 4.6 a = 21.1458
b = -0.5403
20 4.3

You might also like