Computing: Free Pascal Programming

Second degree complex equations in 1 variable.


Download equcplx2 console program (Windows 64bit) Download equcplx2 source code (Lazarus/Free Pascal)

Description: The program solves quadratic equations in one variable (az2 + bz + c = 0) for variable z and equation coefficients a,b,c being complex numbers. The user has to enter the coefficients (format: x+yi) and the program calculates the two (distinct or equal) solutions for z, that in the case of complex numbers always exist. After the solution has been displayed, hit the Esc key to terminate the program, any other key to continue with the next equation.

Free Pascal features: Working with complex numbers: complex number input, formatted output, calculations, using the UComplex unit (incl. with the source download archive).

Screenshot:

Solving second degree complex equations