Quadratic equation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mulhadhevi
    New Member
    • Feb 2007
    • 2

    Quadratic equation

    Can anyone tell me how to write a program to find the roots of the quadratic equation using switch case.
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by mulhadhevi
    Can anyone tell me how to write a program to find the roots of the quadratic equation using switch case.
    do you have the algorithm to solve the roots? do you need to take account of complex roots? post the code you have so far.

    Comment

    • mulhadhevi
      New Member
      • Feb 2007
      • 2

      #3
      Originally posted by horace1
      do you have the algorithm to solve the roots? do you need to take account of complex roots? post the code you have so far.
      I want the full program. there are three roots ie repeated roots,real roots and complex roots. can u pls give me the full program.

      Comment

      • Ganon11
        Recognized Expert Specialist
        • Oct 2006
        • 3651

        #4
        The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

        Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

        Then when you are ready post a new question in this thread.

        MODERATOR

        Comment

        • bluesteel
          New Member
          • Mar 2007
          • 84

          #5
          Originally posted by mulhadhevi
          I want the full program. there are three roots ie repeated roots,real roots and complex roots. can u pls give me the full program.
          I have made a program like this when i was a starter and i liked it because it was working great. I can give you the full program when you want it. Send me an email and i will answer in no time. <email removed>

          Comment

          • mosmoh88
            New Member
            • Mar 2007
            • 1

            #6
            hey there,
            i have this program that solves quadratic equations and even gives complex roots. hopefully it will help
            u are welcome :)

            <Full coded solution has been removed. Please see moderator's response above.>
            Last edited by Ganon11; Mar 4 '07, 11:26 PM. Reason: solution removed

            Comment

            Working...