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

Tietoa työnantajasta:
( 9 arvostelua ) istanbul/atasehir, Turkey

Projektin tunnus: #27916618

Myönnetty käyttäjälle:

VolKa

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

\$25 USD 1 päivässä
(220 Arvostelua)
6.9

5 freelancers are bidding on average \$33 for this job

enghamza12

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

\$20 USD 1 päivässä
(80 arvostelua)
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 Lisää

\$75 USD 7 päivässä
(7 arvostelua)
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 1 päivässä
(1 arvostelu)
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 Lisää

\$30 USD 2 päivässä
(0 arvostelua)
0.0