You are on page 1of 6

Keys to

Numerical
Methods

Eulers Method
New

value = previous value + slope step

size
The slope is the gradient.
Y=y+hf(x,y)

Numeric Data

Convert binary form to decimal.


E.g. 10010=1810
Convert decimal to binary form using
I=2P+a
Convert fraction to binary by singling out the
integer.
For conversion to hexadecimal and octal,
repeat process. Stop at zero.
You can round off if there are infinite numbers

Normalized Floating-Point
Representation
In

decimal system, normalized floating


point form is,
0.1234x10
In binary system,
0.001x2

Errors
Define

accuracy and precision.


Exact error=exact value-approximated
value
Relative error=exact error/exact value
Approximated value is the value obtained
after truncation of terms such as
expansion of e to the 5th term.
The exact value is the value obtained
after expansion to the infinite term.

Round-off error vs Chopping


error vs Truncation error
Round-off
error
Truncation
error
Chopping
Error

You might also like