I’ve been solving a lot of quadratic formulas lately, and I grew tired of searching for web-based tools to solve them. I was not able to format the output of the answers either, so I decided to write a Java application that I could manipulate. I knew that I wanted to have real and imaginary answers that were good to 3 decimal places. That keeps my answers to a good precision. I wanted the output to look like: -0.707 + 0.707j, -0.707 – 0.707j!
(-b+SQRT(b^2-4ac))/(2a) and (-b-SQRT(b^2-4ac))/(2a). This is a simple formula, but doing it by hand more than once is tedious. This program was written in the time I was supposed to be solving pole-zero plots for my DSP class. I was done solving these problems when I decided I wanted my own program to solve them for me.