[URGENT]Need Algorithm or Fluxogram for this HELP PLEASE! =S
If this is in the wrong section move please.
First problem:
Complex numbers are represented by points in the plan, referring to a
component by the real part and the other component by the imaginary part of the complex.
Write a library of routines called complex to operate complex. The
library should contain routines for reading and writing of complex, sum of complex, determining the modulus and angle of a complex argument.
complexo le_complexo(complexo *c);
void escreve_complexo(complexo c);
complexo soma_complexo(complexo c1, complexo c2, complexo *c3);
double mod_complexo(complexo c);
double arg_complexo(complexo c);
---------------------------//-----------------------------------
Second
Write and test a recursive routine that implements the function x^n
for x real and n integer.
Thank you.
|