0% found this document useful (0 votes)
31 views15 pages

Lantin Increment Num Lab

The document contains the results of numerically evaluating three functions over different intervals using varying step sizes. For each function f(x), tables are provided showing the x-values, f(x) values, integration intervals and step sizes used. The functions evaluated are: a) f(x)=x^2-2x-1, b) f(x)=x-3ln(x), and c) f(x)=x^3-x^2-2x+1. Finer step sizes are used as the intervals become smaller to improve the accuracy of the numerical evaluations.

Uploaded by

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

Lantin Increment Num Lab

The document contains the results of numerically evaluating three functions over different intervals using varying step sizes. For each function f(x), tables are provided showing the x-values, f(x) values, integration intervals and step sizes used. The functions evaluated are: a) f(x)=x^2-2x-1, b) f(x)=x-3ln(x), and c) f(x)=x^3-x^2-2x+1. Finer step sizes are used as the intervals become smaller to improve the accuracy of the numerical evaluations.

Uploaded by

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

a) f(x)=x2-2x-1

Ɛ =0.00001

a -10 b 10
delta x 1

x -10 -9 -8 -7 -6 -5 -4 -3
f(x) 119 98 79 62 47 34 23 14

a -1 b 0
delta x 0.1

x -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3


f(x) 2 1.61 1.24 0.89 0.56 0.25 -0.04 -0.31

a -0.5 b -0.4
delta x 0.01

x -0.5 -0.49 -0.48 -0.47 -0.46 -0.45 -0.44 -0.43


f(x) 0.25 0.2201 0.1904 0.1609 0.1316 0.1025 0.0736 0.0449

a -0.42 b -0.41
delta x 0.001

x -0.42 -0.419 -0.418 -0.417 -0.416 -0.415 -0.414 -0.413


f(x) 0.0164 0.013561 0.010724 0.007889 0.005056 0.002225 -0.000604 -0.003431

a -0.415 b -0.414
delta x 0.0001

x -0.415 -0.4149 -0.4148 -0.4147 -0.4146 -0.4145 -0.4144 -0.4143


f(x) 0.002225 0.00194201 0.001659 0.001376 0.001093 0.00081 0.000527 0.000244

a -0.4143 b -0.4142
delta x 0.00001

x -0.4143 -0.41429 -0.41428 -0.41427 -0.41426 -0.41425 -0.41424 -0.41423


f(x) 0.000244 0.0002162041 0.000188 0.00016 0.000131 0.000103 7.478E-05 4.649E-05
-2 -1 0 1 2 3 4 5 6 7
7 2 -1 -2 -1 2 7 14 23 34

a 2 b 3
delta x 0.1

-0.2 -0.1 0 x 2 2.1 2.2 2.3 2.4


-0.56 -0.79 -1 f(x) -1 -0.79 -0.56 -0.31 -0.04

a 2.4 b 2.5
delta x 0.01

-0.42 -0.41 -0.4 x 2.4 2.41 2.42 2.43 2.44


0.0164 -0.0119 -0.04 f(x) -0.04 -0.0119 0.0164 0.0449 0.0736

a 2.41 b 2.42
delta x 0.001

-0.412 -0.411 -0.41 x 2.41 2.411 2.412 2.413 2.414


-0.006256 -0.009079 -0.0119 f(x) -0.0119 -0.009079 -0.006256 -0.003431 -0.000604

a 2.414 b 2.415
delta x 0.0001

-0.4142 -0.4141 -0.414 x 2.414 2.4141 2.4142 2.4143 2.4144


-3.84E-05 -0.000321 -0.000604 f(x) -0.000604 -0.000321 -3.84E-05 0.000244 0.000527

a 2.4142 b 2.4143
delta x 0.00001

-0.41422 -0.41421 -0.4142 x 2.4142 2.41421 2.41422 2.41423 2.41424


1.821E-05 -1.01E-05 -3.84E-05 f(x) -3.836E-05 -1.01E-05 1.821E-05 4.649E-05 7.478E-05
8 9 10
47 62 79

2.5 2.6 2.7 2.8 2.9 3


0.25 0.56 0.89 1.24 1.61 2

2.45 2.46 2.47 2.48 2.49 2.5


0.1025 0.1316 0.1609 0.1904 0.2201 0.25

2.415 2.416 2.417 2.418 2.419 2.42


0.002225 0.005056 0.007889 0.010724 0.013561 0.0164

2.4145 2.4146 2.4147 2.4148 2.4149 2.415


0.00081 0.001093 0.001376 0.001659 0.001942 0.002225

2.41425 2.41426 2.41427 2.41428 2.41429 2.4143


0.000103 0.000131 0.00016 0.000188 0.000216 0.000244
b) f(x)=x-3ln x
Ɛ =0.001

a -10 b 10
delta x 1

x -10 -9 -8 -7 -6 -5 -4 -3
f(x) Err:502 Err:502 Err:502 Err:502 Err:502 Err:502 Err:502 Err:502

a 4 b 5
delta x 0.1

x 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7


f(x) -0.15888308 -0.13296 -0.10525 -0.07585 -0.04481 -0.01223 0.021831 0.057312

a 4.5 b 4.6
delta x 0.01

x 4.5 4.51 4.52 4.53 4.54 4.55 4.56 4.57


f(x) -0.01223219 -0.00889 -0.00554 -0.00217 0.001219 0.004618 0.008032 0.01146

a 4.53 b 4.54
delta x 0.001

x 4.53 4.531 4.532 4.533 4.534 4.535 4.536 4.537


f(x) -0.00216582 -0.00183 -0.00149 -0.00115 -0.00081 -0.00048 -0.00014 0.000202
-2 -1 0 1 2 3 4 5 6 7
Err:502 Err:502 Err:502 1 -0.07944 -0.29584 -0.15888 0.171686 0.624722 1.16227

a 1 b 2
delta x 0.1

4.8 4.9 5 x 1 1.1 1.2 1.3 1.4


0.094152 0.132294 0.171686 f(x) 1 0.814069 0.653035 0.512907 0.390583

a 1.8 b 1.9
delta x 0.01

4.58 4.59 4.6 x 1.8 1.81 1.82 1.83 1.84


0.014903 0.01836 0.021831 f(x) 0.03664 0.030019 0.02349 0.017052 0.010703

a 1.85 b 1.86
delta x 0.001

4.538 4.539 4.54 x 1.85 1.851 1.852 1.853 1.854


0.000541 0.00088 0.001219 f(x) 0.004443 0.003822 0.003202 0.002582 0.001964
8 9 10
1.761675 2.408326 3.092245

1.5 1.6 1.7 1.8 1.9 2


0.283605 0.189989 0.108115 0.03664 -0.02556 -0.07944

1.85 1.86 1.87 1.88 1.89 1.9


0.004443 -0.00173 -0.00782 -0.01382 -0.01973 -0.02556

1.855 1.856 1.857 1.858 1.859 1.86


0.001346 0.000729 0.000113 -0.0005 -0.00112 -0.00173
c) f(x)=x3-x2-2x+1
Ɛ =0.0001

a -10 b 10
delta x 1

x -10 -9 -8 -7 -6 -5 -4
f(x) -1079 -791 -559 -377 -239 -139 -71

a -2 b -1
delta x 0.1

x -2 -1.9 -1.8 -1.7 -1.6 -1.5 -1.4


f(x) -7 -5.669 -4.472 -3.403 -2.456 -1.625 -0.904

a -1.3 b -1.2
delta x 0.01

x -1.3 -1.29 -1.28 -1.27 -1.26 -1.25 -1.24


f(x) -0.287 -0.230789 -0.175552 -0.121283 -0.067976 -0.015625 0.035776

a -1.25 b -1.24
delta x 0.001

x -1.25 -1.249 -1.248 -1.247 -1.246 -1.245 -1.244


f(x) -0.015625 -0.010442 -0.005269 -0.000105 0.005049 0.010194 0.015329

a -1.247 b -1.24
delta x 0.0001

x -1.247 -1.2469 -1.2468 -1.2467 -1.2466 -1.2465 -1.2464


f(x) -0.000105 0.000411 0.000926 0.001442 0.001958 0.002473 0.002988
-3 -2 -1 0 1 2 3 4 5 6
-29 -7 1 1 -1 1 13 41 91 169

a 1 b 2
delta x 0.1

-1.3 -1.2 -1.1 -1 x 1 1.1 1.2 1.3


-0.287 0.232 0.659 1 f(x) -1 -1.079 -1.112 -1.093

a 1.8 b 1.9
delta x 0.01

-1.23 -1.22 -1.21 -1.2 x 1.8 1.81 1.82 1.83


0.086233 0.135752 0.184339 0.232 f(x) -0.008 0.033641 0.076168 0.119587

a 1.8 b 1.81
delta x 0.001

-1.243 -1.242 -1.241 -1.24 x 1.8 1.801 1.802 1.803


0.020455 0.025572 0.030678 0.035776 f(x) -0.008 -0.0038756 0.000258 0.0044

a 1.801 b 1.802
delta x 0.0001

-1.2463 -1.2462 -1.2461 -1.246 x 1.801 1.8011 1.8012 1.8013


0.003504 0.004019 0.004534 0.005049 f(x) -0.003876 -0.0034627 -0.00305 -0.002637
7 8 9 10
281 433 631 881

1.4 1.5 1.6 1.7 1.8 1.9 2


-1.016 -0.875 -0.664 -0.377 -0.008 0.449 1

1.84 1.85 1.86 1.87 1.88 1.89 1.9


0.163904 0.209125 0.255256 0.302303 0.350272 0.399169 0.449

1.804 1.805 1.806 1.807 1.808 1.809 1.81


0.00855 0.01271 0.016879 0.021056 0.025242 0.029437 0.033641

1.8014 1.8015 1.8016 1.8017 1.8018 1.8019 1.802


-0.002223 -0.00181 -0.001397 -0.000983 -0.00057 -0.000156 0.000258
d) f(x)=ex+2x-6
Ɛ =0.00001 e 2.718282

a -10 b 10
delta x 1

x -10 -9 -8 -7 -6 -5
f(x) -25.9999546 -23.99988 -21.99966 -19.999088 -17.99752 -15.99326

a 1 b 2
delta x 0.1

x 1 1.1 1.2 1.3 1.4 1.5


f(x) -1.281718172 -0.795834 -0.279883 0.26929667 0.8552 1.481689

a 1.2 b 1.3
delta x 0.01

x 1.2 1.21 1.22 1.23 1.24 1.25


f(x) -0.2798830779 -0.226515 -0.172812 -0.1187705 -0.064387 -0.009657

a 1.25 b 1.26
delta x 0.001

x 1.25 1.251 1.252 1.253 1.254 1.255


f(x) -0.0096570433 -0.004165 0.001331 0.00682971 0.012332 0.017838

a 1.251 b 1.252
delta x 0.0001

x 1.251 1.2511 1.2512 1.2513 1.2514 1.2515


f(x) -0.0041649546 -0.003616 -0.003066 -0.0025166 -0.001967 -0.001418

a 1.2517 b 1.2518
delta x 0.00001

x 1.2517 1.25171 1.25172 1.25173 1.25174 1.25175


f(x) -0.0003184138 -0.000263 -0.000208 -0.0001535 -9.86E-05 -4.36E-05
-4 -3 -2 -1 0 1 2 3 4 5
-13.98168 -11.95021 -9.864665 -7.632121 -5 -1.281718 5.389056 20.08554 56.59815 152.4132

1.6 1.7 1.8 1.9 2


2.153032 2.873947 3.649647 4.485894 5.389056

1.26 1.27 1.28 1.29 1.3


0.045421 0.100853 0.15664 0.212787 0.269297

1.256 1.257 1.258 1.259 1.26


0.023348 0.028861 0.034378 0.039898 0.045421

1.2516 1.2517 1.2518 1.2519 1.252


-0.000868 -0.000318 0.000231 0.000781 0.001331

1.25176 1.25177 1.25178 1.25179 1.2518


1.137E-05 6.633E-05 0.000121 0.000176 0.000231
6 7 8 9 10
409.4288 1104.633 2990.958 8115.084 22040.47
e) f(x)=sin2x-x2-0.3838
Ɛ =0.00001

a 0.21 b 0.23
delta x 0.001

x 0.21 0.211 0.212 0.213 0.214 0.215 0.216


f(x) -0.0201395469 -0.018735 -0.017334 -0.015937 -0.014544 -0.013154 -0.011768

a 0.224 b 0.225
delta x 0.0001

x 0.224 0.2241 0.2242 0.2243 0.2244 0.2245 0.2246


f(x) -0.0008122288 -0.000677 -0.000541 -0.000406 -0.000271 -0.000135 -1.23E-07

a 0.2246 b 0.2247
delta x 0.00001

x 0.2246 0.22461 0.22462 0.22463 0.22464 0.22465 0.22466


f(x) -1.226828E-07 1.34E-05 2.692E-05 4.045E-05 5.397E-05 6.749E-05 8.101E-05
0.217 0.218 0.219 0.22 0.221 0.222 0.223 0.224 0.225 0.226
-0.010386 -0.009007 -0.007632 -0.006261 -0.004893 -0.003529 -0.002169 -0.000812 0.000541 0.00189

0.2247 0.2248 0.2249 0.225


0.000135 0.00027 0.000405 0.000541

0.22467 0.22468 0.22469 0.2247


9.454E-05 0.000108 0.000122 0.000135
0.227 0.228 0.229 0.23
0.003235 0.004576 0.005914 0.007248

You might also like