Mohamed Hakim
Followers: 0 Following: 0
Feeds
已回答
Solving a Nonlinear Equation using Newton-Raphson Method
function NewtonRaphsonMethod %Implmentaton of Newton-Raphson method to determine a solution. %to approximate solution to x = c...
Solving a Nonlinear Equation using Newton-Raphson Method
function NewtonRaphsonMethod %Implmentaton of Newton-Raphson method to determine a solution. %to approximate solution to x = c...
3 years 前 | 2
已回答
Taylor Series of e^x
y= @(x) 2*x^2-5*x+3; x1=input("enterfirst number"); x2=input("enterfirst number"); if f(x1)*f(x2)==0 disp("no"); end
Taylor Series of e^x
y= @(x) 2*x^2-5*x+3; x1=input("enterfirst number"); x2=input("enterfirst number"); if f(x1)*f(x2)==0 disp("no"); end
3 years 前 | 0
已回答
Taylor Series of e^x
function [ts]=newton(x,n) i=1; ts=1; while i<n || i==n ts=ts+(x.^i)/factorial(i); i=1+i; end end
Taylor Series of e^x
function [ts]=newton(x,n) i=1; ts=1; while i<n || i==n ts=ts+(x.^i)/factorial(i); i=1+i; end end
3 years 前 | 0