complex numbers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nowmeetme
    New Member
    • Oct 2007
    • 1

    #1

    complex numbers

    plz tell me the code for complex number operations...li ke addition,substr ation,multiplic ation & division
  • Ganon11
    Recognized Expert Specialist
    • Oct 2006
    • 3651

    #2
    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 Guidelines.

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

    MODERATOR

    Comment

    • mattmao
      New Member
      • Aug 2007
      • 121

      #3
      Originally posted by nowmeetme
      plz tell me the code for complex number operations...li ke addition,substr ation,multiplic ation & division
      invent you own functions to carry out these calculations.

      x = a + ib
      y = c + id

      then how would you calculate the sum of x and y, using a pen and one piece of paper?

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Bjarne Stroustrup uses a 'complex' class as a canonical example throughout his
        book "the C++ Programming Language".

        kin regards,

        Jos

        Comment

        Working...