Live Script application of the bisection function
*** 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
Citation pour cette source
Roche de Guzman (2024). Live Script application of the bisection function (https://www.mathworks.com/matlabcentral/fileexchange/61680-live-script-application-of-the-bisection-function), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |