Quadratic Equation Solver

Enter the coefficients for the Ax2 + Bx + C = 0

If A=0, the equation is not quadratic.
getActiveSheet()->setCellValue('A1', $_POST['A']); $objPHPExcel->getActiveSheet()->setCellValue('B1', $_POST['B']); $objPHPExcel->getActiveSheet()->setCellValue('C1', $_POST['C']); /** Calculate and Display the results **/ echo '
Roots:
'; $callStartTime = microtime(true); echo $objPHPExcel->getActiveSheet()->getCell('B5')->getCalculatedValue().'
'; echo $objPHPExcel->getActiveSheet()->getCell('B6')->getCalculatedValue().'
'; $callEndTime = microtime(true); $callTime = $callEndTime - $callStartTime; echo '
Call time for Quadratic Equation Solution was '.sprintf('%.4f',$callTime).' seconds

'; echo ' Peak memory usage: '.(memory_get_peak_usage(true) / 1024 / 1024).' MB
'; } } ?>