Question: Can somebody help me with this question please.. Task 2. class Complex A complex number is any number a bi, where a is the real

 Can somebody help me with this question please.. Task 2. class

Can somebody help me with this question please..

Task 2. class Complex A complex number is any number a bi, where a is the real part, and b the imaginary part The addition of two complex numbers is given as bt d) i (atbi ct di at C The subtraction of two complex numbers is given as atbi Ic dil (a-c) (b-d) i The multiplication of two conplex nunbers is given as bc+ad) i la bi c di ac-bd The division of two complex numbers is given as The conjugate of a conplex number a bi is given as a bi You are required to define a class named Complex for complex numbers. The real part and imaginary part are two private double variables. Define five public nemb functions complex add conplex er xy, complex subtract (Conplex x), complex multiply complex complex divide (complex x1 and complex conjugate l) so that we can perform the operations o complex nunbe You will also define such a setting the value ot a complex printing the comple numbers Complex is declared it the file compla given ned in the file la lotaak2.cpp given need to define the functions of class complex in the file Complex opp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!