#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

# completing the square dev pascal :/

For and SBA i have to code a way to solve a quadratic equation.. Everyone is using the method of the formula .. That seems boring to me so I was wondering if it were possible to do it by method of completing the square

• Member Posts: 7

There is a bunch of ways to solve the quadratic equation - but it's depenedned on the equation itself. To solve a quadratic equation by completing the square you need to make sure that
1. this is of a format ax^2+bx +c =0
2. you need to be aware then that there are 2 solutions

• Member Posts: 7

@Jean Petra said:
There is a bunch of ways to solve the quadratic equation - but it's depenedned on the equation itself. To solve a quadratic equation by completing the square you need to make sure that
1. this is of a format ax^2+bx +c =0
2. you need to be aware then that there are 2 solutions

So to add further, you need to understand the sthow to complete the square