0% found this document useful (0 votes)
14 views3 pages

Num Diff-Example Error in Data

The document presents numerical differentiation of the function y=f(x)=x², comparing results with and without errors in data points. It includes a table showing values of x, y, first and second derivatives, and the impact of errors on the results. Additionally, graphical representations illustrate the differences between the two scenarios.

Uploaded by

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

Num Diff-Example Error in Data

The document presents numerical differentiation of the function y=f(x)=x², comparing results with and without errors in data points. It includes a table showing values of x, y, first and second derivatives, and the impact of errors on the results. Additionally, graphical representations illustrate the differences between the two scenarios.

Uploaded by

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

Example of Num Differentiation (With and without errors in data points):

y=f(x)= x2 Random Random y=f(x)= x2 y'=f '(x) y''=f ''(x)


S. No. x (w/o error) y'=f '(x) y''=f ''(x) error in y error in y (with error) (with error) (with error)
1 0 0 0.092387447 0.09238745
2 0.5 0.25 0.5 0.696536444 0.94653644 1.70829799
3 1 1 1.5 2 0.882552807 1.88255281 1.87203273 0.32746946
4 1.5 2.25 2.5 2 0.693178516 2.94317852 2.12125142 0.49843738
5 2 4 3.5 2 0.839054927 4.83905493 3.79175282 3.34100281
6 2.5 6.25 4.5 2 0.118846567 6.36884657 3.05958328 -1.4643391
7 3 9 5.5 2 0.004194963 9.00419496 5.27069679 4.42222702
8 3.5 12.25 6.5 2 0.252293523 12.5022935 6.99619712 3.45100066
9 4 16 7.5 2 0.62360733 16.6236073 8.24262761 2.49286098
10 4.5 20.25 8.5 2 0.530134853 20.7801349 8.31305505 0.14085487
11 5 25 9.5 2 0.42085645 25.4208565 9.2814432 1.9367763
12 5.5 30.25 10.5 2 0.647471521 30.8974715 10.9532301 3.34357389
13 6 36 11.5 2 0.373684731 36.3736847 10.9524264 -0.0016074
14 6.5 42.25 12.5 2 0.572535147 42.8225351 12.8977008 3.89054882
15 7 49 13.5 2 0.9197009 49.9197009 14.1943315 2.59326135
16 7.5 56.25 14.5 2 0.574130467 56.8241305 13.8088591 -0.7709447
17 8 64 15.5 2 0.640877417 64.6408774 15.6334939 3.64926954
18 8.5 72.25 16.5 2 0.715941876 72.9659419 16.6501289 2.03327004
80
Without error in data points 80
With error in data points
70 f(x) f(x)
70
f'(x) f'(x)
60 60
f''(x) f''(x)
50 50

40 40
30
30
20
20
10
10
0
0 0 1 2 3 4 5 6 7 8 9
-10
0 1 2 3 4 5 6 7 8 9

80
f(x) - without error
70 f(x) - with error

60

50

40

30

20

10

0
0 1 2 3 4 5 6 7 8 9
n data points

7 8 9

You might also like