Quadratic Equation Class and Tester

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 3298 Views - Last Post: 06 November 2016 - 11:17 PM Rate Topic: -----

#16 horace   User is offline

  • D.I.C Lover
  • member icon

Reputation: 768
  • View blog
  • Posts: 3,832
  • Joined: 25-October 06

Re: Quadratic Equation Class and Tester

Posted 06 November 2016 - 11:17 PM

if myDisc is negative (line 51) you make it positive (to calculate the square root) and then print the real and imaginary components of the roots, e.g. 4 + j7 and 4 - j7
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2