![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25397031_1643042949825_DEF.jpg)
ken
Followers: 0 Following: 0
Programming Languages:
Python
Python
Feeds
질문
Use the bisection method to approximate the first negative solution, the negative root that is closest to the origin. The accuracy must be of the order 10−4.
the given bisection code. and the given equation() function [c, n, err] = bisection_method(f, a, b, tol, N) c = []; n...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How to find first negative solution with the bisection method
f(x) = x + 1 −2 sin(πx) = 0 How to find first negative solution with the given bisection method function [c, n, err] = Bisect...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How to plot the y and t?
a = 0; b = 10; h = 10^-3; N = (b-a)/h; alpha = 1; f = @(x,y) 1/y^3; function [y,t] = rk4(f,a,b,alpha,N) t = []; y = ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
return column vector (t(i+1) & y(i+1)) instead of row vector
function [y,t] = euler_timestep(f,t0,tf,alpha,N) h=(tf-t0)/N; t(1)=t0; y(1)=alpha; for i=1:N t(i+1)=t(i)+h; ...
2년 초과 전 | 답변 수: 1 | 0