0% found this document useful (0 votes)
45 views7 pages

ExamII 2024

This document contains an exam paper with multiple numerical analysis questions. It provides instructions, 12 questions testing concepts like Simpson's rule, polynomial interpolation, numerical integration, and Newton divided differences. Formulas for these techniques are also provided.

Uploaded by

nour313hakam
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)
45 views7 pages

ExamII 2024

This document contains an exam paper with multiple numerical analysis questions. It provides instructions, 12 questions testing concepts like Simpson's rule, polynomial interpolation, numerical integration, and Newton divided differences. Formulas for these techniques are also provided.

Uploaded by

nour313hakam
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/ 7

Date: Friday, March 22, 2024

Duration: 75 Minutes

Mark: 40

No. of pages including cover: 12

Exam II
Semester: Spring 2021

Faculty : Science
Department : Math &Computer Science Division/ program: Mathematics
Course Name : Numerical Methods Course Code: Math 348

Student's Name: …………………………….……………………….………...….……………… ID: ……………………………….……….….…….….……………….


Section/ Group: ………………………...…..….…….….……………………….….…………… Seat Number: ……………………………………………..
INSTRUCTIONS:
1. Any kind of cheating will subject the student to the penalties specified by the University rules
2. Use of cell phone is strictly prohibited
Question Mark Out of
One 12 Total marks in letters
Two 15
Three 12
Four 11
Five
Six
Seven
Examiner’s Name: Dr. Noura Yassine.
Eight
Nine Signature: …………………………….……………….……………….…..….…….
Ten
Eleven
Twelve
Thirteen
Total 40
Use maximum precision that your calculator provides in all calculations and provide
the final answer in “four significant figures”.

1. (10 Points) Use the following times, in minutes, and velocities, in m/min,
of a car traveling on a straight road to estimate the distance traveled by
the car between t = 0 to t = 20. Assume that the speed remains constant
at 720 m/min for t >12 minutes. Apply multiple application of Simpson’s
1/3 rule.

t 0 3 6 9 12
s(t) 0 240 420 600 720
2. (14 Points) Given the following data points:

x f(x)
0.5 1
1 1.4
1.5 1.4
2 0.6

Use quadratic splines to find the second order polynomial f 1(x) in the
interval [ 0.5, 1]. Use the derivative of this polynomial to estimate f’(0.6).
3. (10 Points) Given the following data points.

x 1 2 3 5 6 7
f(x) 0 0.7 1.1 1.6 1.8 1.9

Evaluate the integral of f(x) from 1 to 7 using a combination of


Simpson’s 1/3 rule and trapezoidal rule. Employ Simpson’s 1/3 rule
whenever possible to obtain the highest accuracy.
4. (8 Points) Newton Divided difference 2nd order interpolating polynomial
is used to fit curve given f(2), f(4) and f(6). If f(2) = 6, f(6) = 18, and f[x0,
x1, x2 ] = 0.5, find f(4).

5.
6. (8 Points) Use the Composite Simpson’s rule with n = 4 to approximate
the same integral.
2
∫ 𝑥𝑒 𝑥 𝑑𝑥 ; 𝑛 = 4
−2
FORMULAE

Polynomial interpolation

f ( x) = b0 + b1 ( x − x0 ) + b2 ( x − x0 )( x − x1 ) +  + bn ( x − x0 )( x − x1 )  ( x − x n −1 )
b0 = f ( x0 )
b1 = f [ x1 , x0 ]
bn = f [ x n , x n −1 ,, x1 , x0 ]
f ( xi ) − f ( x j )
f [ xi , x j ] =
xi − x j
f [ x n , x n −1 , , x1 ] − f [ x n −1 , , x1 , x0 ]
f [ x n , x n −1 , , x1 , x0 ] =
x n − x0

n
f n ( x) =  Li ( x) f ( xi )
i =0
n x − xj
Li ( x) = 
j =0 xi − x j
j i
Integration

I=
h
 f (a) + f (b)
2
n −1
h  b−a
I =  f ( x 0 ) + 2  f ( xi ) + f ( x n )  h =
2  i =1  n

=  f ( x0 ) + 4 f (x1 ) + f (x n )
h
I
3
h n −1 n−2  b−a
I =  f ( x 0 ) + 4  f ( xi ) + 2  f ( x j ) + f ( x n )  h=
3 i =1,3,5,... j = 2,4,6,...  n
 
b−a
=  f ( x0 ) + 3 f ( x1 ) + 3 f ( x 2 ) + f ( x3 )
3h
I h=
8 3
I (h1 ) − I (h2 )
I = I (h2 ) +
2
 h1 
1 −  
 h2 
4 1 16 1 64 1
I= I m − Il , I = I m − Il , I = I m − I l ,...
3 3 15 15 63 63
n x c
2 0.5773502692 1.000000000000
− 0.5773502692 1.000000000000
3 0.7745966692 0.555555555556
0.0000000000 0.888888888889
− 0.7745966692 0.555555555556

 (b − a )t + b + a  b − a 
b 1
 f ( x)dx =  f  2

 2 
dt
a −1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy