# Basic Numerical Analysis Code

Compute the value of the base of natural logarithm e up to 7 significant digits. Calculate exact value using exp(1) command. Prepare a table which shows iteration number, numerical solution, approximate percent relative error and true percent relative error on 4 different columns. Obtain the Taylor series for cos(x) about a = 0. How many terms would be necessary in order to compute cos(π/6) up to 6 significant figures. Using the example script given compute e2, e3 and e4 up to 7 significant figure. How many iterations are required for each??

Example math script

% Script for iterative calculations

val = 1; % Initial guess

es = 0.05; % Error tolerance

maxit = 200; % Maximum number of iterations

iter = 1; % Initialize iterations

sol = val; % Assign the initial guess to solution

ea = 100; % Initial approximate relative error

while 1

solold = sol; % Assign the solution as old solution

sol = sol + 0.5^iter / factorial(iter);

iter = iter + 1; % Increase iteration by one

if sol ~= 0

ea = abs((sol - solold)/sol)*100;

end

if ea <= es || iter > maxit

break; % Exit the loop

end

end

Om arbejdsgiveren:
( 9 bedømmelser ) istanbul/atasehir, Turkey

Projekt ID: #27916618

## Tildelt til:

VolKa

Hi. I am sure that will be able to do this within few hrs and right now. Regards......................

\$25 USD på 1 dag
(220 bedømmelser)
6.9

## 5 freelancere byder i gennemsnit \$33 timen for dette job

enghamza12

Expert using matlab and NA and i can do this on time and perfect reuslt!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

\$20 USD på 1 dag
(80 bedømmelser)
5.5
johnwanjiku

I am committed to offer top notch services. I will deliver the work in time with strict adherence to deadlines. let's do this.I am good at Statistics, Metatrader, Mathematics, Matlab and Mathematica and Algorithm Reg Flere

\$75 USD in 7 dage
(7 bedømmelser)
4.1
theprowriter50

I have read the instructions and the question ON NUMERICAL ANALYSIS. I am well conversant with the field and I believe I can offer a high quality paper on this assignment delivered on time.

\$15 USD på 1 dag
(1 bedømmelse)
1.7
dserrano84

I teach math and physics course at university. One of my course topics covers Taylor Series employing matlab. The process that you presents could be suitable to my expertise. I put two days but maybe I could get it in Flere

\$30 USD in 2 dage
(0 bedømmelser)
0.0