Community Profile

photo

ken


Last seen: mehr als ein Jahr vor Aktiv seit 2022

Programming Languages:
Python

Statistiken

  • Thankful Level 2

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to plot this function with the interval of [-2,2]?

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to plot this equation?

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to plot this equation if C is 4?

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort