Community Profile

photo

Adomas Bazinys


Active since 2018

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

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...

nästan 5 år ago | 1 answer | 0

1

answer

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 ...

nästan 5 år ago | 1 answer | 0

1

answer

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...

nästan 5 år ago | 1 answer | 0

1

answer

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...

nästan 5 år ago | 5 answers | 1

5

answers

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...

nästan 5 år ago | 1 answer | 0

1

answer

Question


f(x) = e^x-3x matlab code
I want to write a matlab script that finds solutions of function f(x) = e^x - 3x. I tried to write some code. My matlab code sho...

nästan 5 år ago | 3 answers | 0

3

answers