Community Profile Active since 2018

#### Statistics

• • #### Content Feed

View by

Question

Simpson's rule implementation
function I = simpsons() f=@(x) (3+x.^1/2); a = 1; b = 6; n = 20; disp('n I h') d...

5 years ago | 1 answer | 0

### 1

Question

Change code so that it would generate numbers instead of typing them by user(Gauss method)
function C = Gauss1(A,B) A = [ 8 2 5; 1 5 6; 4 5 6] B = [-1; 4; 5] i = 1; X = [ A B ]; [ nX mX ...

5 years ago | 1 answer | 0

### 1

Question

Bisection method add iteration table into my code
function m = bisection(f, low, high, tol) disp('Bisection Method'); % Evaluate both ends of the interval y1 = feval...

5 years ago | 1 answer | 0

### 1

Question

MATLAB CODE NEWTON METHOD
f = @(x) exp(x)-3*x; fp = @(x) exp(x)-3; x0 = 1; N = 10; tol = 1E-10; x(1) = x0; % Set initial guess n = 2...

5 years ago | 5 answers | 1

### 5

Question

Need to solve e^x=3*x in tho ways
I need to find an interval, wherein is one solution of given equation. I need to solve equation e^x = 3*x in two ways: using Bis...

5 years ago | 1 answer | 0