Live Script application of the bisection function

Computes a problem using the bisection function for finding the root.

Ahora está siguiendo esta publicación

*** Requires the function: BisectNM
Find: y = critical depth in the equation
0 = 1 - ((Q^2)/(g*(Ac^3)))*B
where: B = 3+y, and Ac = 3*y + ((y^2)/2)
Substitute B and Ac:
0 = 1 - ((Q^2)/(g*((3*y + ((y^2)/2))^3)))*(3+y)
Difficult to isolate y on the left side (analytical)
Hence, numerical method is preferred
Find the root: y to make f(y) = 0
y = independent variable
fy = f(y) = dependent variable

Citar como

Roche de Guzman (2026). Live Script application of the bisection function (https://es.mathworks.com/matlabcentral/fileexchange/61680-live-script-application-of-the-bisection-function), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Live Scripts and Functions en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0