100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Other

APM2613 Ass 03 2023 - NOT COMPLETE - Read Description

Rating
-
Sold
-
Pages
6
Uploaded on
11-07-2023
Written in
2022/2023

Hi guys, This document contains assistance for APM2613 Ass 03 2023. It is NOT COMPLETE, e.g Graph questions are NOT INCLUDED. Please use this only as a guideline as it is not a complete assignment. The information in this document will put you on the right path for each question but not all questions are answered

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
July 11, 2023
Number of pages
6
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

Content preview

APM2613 03



(1.1) Lagrange interpolating polynomial:


P(x)=f(0.1)L0(x)+f(0.2)L1(x)+f(0.3)L2(x)+f(0.4)L3(x)

P(x)=[(−0.29005)(x−0.2)(x−0.3)(x−0.4)]/0.027+[(−0.56079)(x−0.1)(x−0.3)(x−0.4)]/0.027+[(−0.81402)(x−0.1
)(x−0.2)(x−0.4)]/0.027+[(−1.05263)(x−0.1)(x−0.2)(x−0.3)]/0.027

P(x)=16.6667x3−18.3333x2+0.0833x−0.175

To approximate the value of f(0.18), we substitute x=0.18 into the polynomial:
P(0.18)=16.6667(0.18)3−18.3333(0.18)2+0.0833(0.18)−0.175
P(0.18)≈−0.57024

Therefore, the approximation of f(0.18) using the Lagrange interpolating polynomial of degree three is
approximately -0.57024


For (1.2)

To find the error bound, we need to calculate the maximum value of the third derivative of f(x) within
the interval [0.1,0.4].
f‴(x)=−2cos⁡(x)+6x−2x2sin⁡(x)
We evaluate f‴(x) at the endpoints and critical points within the interval to find the maximum value:

f‴(0.1)≈−2cos⁡(0.1)+6(0.1)−2(0.1)2sin⁡(0.1)≈5.95312
f‴(0.4)≈−2cos⁡(0.4)+6(0.4)−2(0.4)2sin⁡(0.4)≈7.567

The maximum value of f‴(x) within the interval [0.1,0.4] is 7.567.

Now, let's calculate the error bound using the formula:

Eb=max|f‴(x)|×|(x−x0)(x−x1)(x−x2)(x−x3)|4!×n

Eb=0.001023

Given that the function generating the data is f ( x ) = x 2 cos ⁡ ( x ) − 3 x , we can evaluate the true
function value at x = 0.18 and compare it with the approximation obtained earlier.




Calculating the actual value of f ( 0.18 ) : f ( 0.18 ) = ( 0.18 ) 2 cos ⁡ ( 0.18 ) − 3 × 0.18
f ( 0.18 ) ≈ − 0.58002
Now, we can calculate the actual error:

, APM2613 03


E_a = | f ( 0.18 ) − P ( 0.18 ) | E_a = | − 0.58002 − ( − 0.57024 ) |
E_a ≈ 0.00978

Therefore, the actual error in the approximation obtained using the Lagrange interpolating polynomial is
approximately 0.00978 .
(i) Therefore, the approximation of f ( 0.18 ) using the Lagrange interpolating polynomial of
degree three is approximately − 0.57024 .
(ii) Therefore, the error bound for the Lagrange polynomial is 0.001023 .
(iii) Therefore, the actual error in the approximation obtained using the Lagrange interpolating
polynomial is approximately 0.00978 .
R150,00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
cwwestcott1

Get to know the seller

Seller avatar
cwwestcott1 University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
1
Last sold
-

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions