Below is an algorithm for quadratic equation in the form of flow chart.
An algorithm is a step-by-step procedure that describes how to solve a particular problem. Algorithms are typically used to solve problems that are too complex or time-consuming to solve by hand. An algorithm should be clearly defined and unambiguous, so that anyone can understand it and follow the instructions.
In the context of computer science, an algorithm is a finite sequence of instructions that perform a specific task. Algorithms are the building blocks of computer programs, and they are used in a wide variety of applications, including web browsing, email, and scientific computing.