logo for matrixlab-examples.com
[?] Subscribe To This Site

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines


Home
Welcome Matrixmania Blog
-> Sitemap / Search <-
-> Books <-
Forums and Help
Contact
Basics Quick Matlab Guide
Matlab Tutorial
Matlab Examples
Matlab Flow Control
Boolean Logic
Plots and GUI Matlab 2D Plots
Matlab 3D Plots
Matlab GUI
Applications Calculus
Linear Algebra
Matlab Cookbook I
Matlab Cookbook II
Electrical Calculations
Probability and Stats
Finance Apps
Other Relevant Links
Notes on Computing
Online Calculators
Fun!
Your own Website?
Terms/Policies
Scilab
leftimage for matrixlab-examples.com

Quadratic Equation Solver


Below you can find a quadratic equation solver developed on a simple spreadsheet. It uses the known formula to calculate the roots (real and complex) of a quadratic expression.

If you have

ax2 + bx + c = 0

you can solve for x using

quadratic formula

Example 1

 Example 2

 If you have:

 a = 1, b = 4 and c = 3

 you'll get:

 x1 = -1
 x2 = -3
  If you have:

  a = 3, b = 4 and c = 5

  you'll get:

  x1 = -0.6667 + 1.1055i
  x2 = -0.6667 - 1.1055i


You have to use the edit button to make the spreadsheet work. You can reload this page (using your navigator buttons) to start from scratch.

Bookmark and Share     




 From 'Quadratic Equation Solver' to home

 From 'Quadratic Equation Solver' to Free Online Calculators
   
Top

How to code Quadratic Equations in Matlab





footer for matlab page