JavaScript Solving a Quadratic Equation by Completing the Square Tutorial
Mt. Ford Studios
In this JavaScript tutorial, we create a program that solves quadratic equations by completing the square. To see how to do this by hand, see my other video - Solving Quadratic Equations by Completing the Square: https://youtu.be/TIdoQ3Q18oo
The user is prompted to input a, b and c of the equation ax² + bx + c = 0. Input is validated at each step.
All coding is done from within a html file, so it should be able to run in any modern browser!
CODE https://drive.google.com/open?id=1E_L-tjIvx8xRN9GhtjW4yiJaoGA8XTKY
USEFUL LINKS Maths is Fun Completing the Square: https://www.mathsisfun.com/algebra/completing-square.html w3schools Javascript Tutorials: https://www.w3schools.com/js/
FIND US ON FACEBOOK https://www.facebook.com/MountfordStudios/ ... https://www.youtube.com/watch?v=j7pM6SoPayk
123727035 Bytes