www.digitalmars.com         C & C++   DMDScript  

c++ - Problem with complex number function cimag()

reply "John Smith" <jsmith email.com> writes:
Consider the following C code:

#include <stdio.h>
#include <complex.h>

int main(void)
{
  double complex a = 2.0 + 0.0 * I;
  double complex b = 1.5 + .5 * I;
  double complex c = cpow(a, b);
  double complex csum = a + b;
  double r = creal(c);
  double i = cimag(c);
  printf("%f %f\n", r, i);
  printf("%f %f\n", creal(csum), cimag(csum));

  return 0;
}

I want to raise the complex number 2.0 +0.0i to the complex power 1.5 +
0.5i.
The result of this calculation is approximately 2.66 + .96i. The above code
compiled with DMC outputs the correct value for the real part but 0.0i for
the
imaginary part. In the second printf() statement cimag() outputs the correct
value.
Can anybody give me some insight where the problem lies?

JS
Jan 13 2004
next sibling parent "Walter" <walter digitalmars.com> writes:
"John Smith" <jsmith email.com> wrote in message
news:bu1o5e$11pp$1 digitaldaemon.com...
 Consider the following C code:

 #include <stdio.h>
 #include <complex.h>

 int main(void)
 {
   double complex a = 2.0 + 0.0 * I;
   double complex b = 1.5 + .5 * I;
   double complex c = cpow(a, b);
   double complex csum = a + b;
   double r = creal(c);
   double i = cimag(c);
   printf("%f %f\n", r, i);
   printf("%f %f\n", creal(csum), cimag(csum));

   return 0;
 }

 I want to raise the complex number 2.0 +0.0i to the complex power 1.5 +
 0.5i.
 The result of this calculation is approximately 2.66 + .96i. The above
code
 compiled with DMC outputs the correct value for the real part but 0.0i for
 the
 imaginary part. In the second printf() statement cimag() outputs the
correct
 value.
 Can anybody give me some insight where the problem lies?
The problem is not in creal or cimag. The issue is that cpow() returns a real number, not a complex number. Are you sure it is supposed to return 2.66+.96i, and not just 2.66?
Jan 19 2004
prev sibling next sibling parent Ejaz Ahmed <Ejaz_member pathlink.com> writes:
I want youe help in writting the expresion in c++. kindly mentioned to me how to
write this expression.
thanks 
Ejaz Ahmed


begin 0644 the program1.doc


M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________LI<$`-4`)!```^!*_````````$```````! ``
MI` ```X`8FIB:L\RSS(````````````````````````)!!8`(A```*U8``"M



M`````````````$H!````````K $```````"N`0```````*X!````````K $`

MZ`$```````#H`0```````. !````````Z`$```````#H`0```````. !````
M````B`(```(```"*` ```````(H"````````B (```````"*` ```````(H"

M````````````- $```````#H`0````````````````````````````#H`0``
M`````. !````````Z`$```````#H`0```````*X"```````````````````V

M```Z` ```````#H"````````. (```````#H
M```````V`0```````. !````````B`(``````````````````#H"````````
M````````````````````````````````````````````````````````````
M````Z`$```````"(` ```````#H"```>````. (``````````````````% "
M````````- $````````V`0``````````````````````````````````````
M````````````````````````````````````````````6`(```````#H`0``
M`````,8!```,````8"`U-MRQQ0$``````````*X!````````_ $``!P```!8

M```%!P```````!H"```6````!0<```````!8` ``````````````````2 $`

M``````````````````````4'```````````````````V`0```````% "```P
M````Z`$```````#H`0```````#H"````````Z`$```````#H`0``````````
M````````````````````````````````````````Z`$```````#H`0``````
M`. !````````K (```````"N` ```````$H!````````2 $``&0```"N`0``
M````````````````,`(```H```!*`0```````$H!````````K $````````"
M``$!````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````````````````````````````````````$AO=R!T
M;R!W<FET92!T:&4 9F]L;&]W:6YG(&5X<')E<W-I;VX :6X 8RLK+B!)="!C
M;VYT86EN(&5X<&]N96YT:6%L('!O=V5R('!I(" H*2!M=6QT:7!L>2!W:71H
M(&EO=&$ *&DI+B!7:&5R92!H(&%N9"!K(&%R92!A;GD :6YT96=E<G,N"PT3
M($5-0D5$($5Q=6%T:6]N+C, (!0!%0T-````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````8``$\(``!0"```9  ``&<(``"*"```BP ``(P(``"?
M"```H` ``*$(``"B"```HP ``*0(``#Z\OKH^N3<Y,N^W.2Z````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````!A9H\6B<```9`VH`````%6C&6'\`

M%``/`VH`````%FB/(4P`50 !!A9HCR%,```2%6C&6'\`%FC&6'\`-0B!- B!
M``\): $`</`6:,98?P`U"($)%FC&6'\`-0B!``T`! ``BP ``*,(``"D"```

M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````````````!````
M`P`&``"D"```_ ``````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````

MD*`%);``````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````0`P``1`!D````
M``````H`````````````````1`QH`;P(XP `````````````````````````
M``````````````````\`!/!B````L 0*\` ````!!`````H``&,`"_`D````
M?P"``(``!$$!````/P$```8`OP$,`!\`_P$``` `/P,0`!``,P`B\1(```"_
M`0``8`"_`P`` `$_!```!P```!#P!````````(`R``?P6 (```,$EMO[!YKW


MX&1 8,YD9F! 8I!A``%6(.9D K&8&!FA+$:F____ UEZC!)0,6ZX.AXF!Z8%
MPD)`EAH;/X,4PW^08 8!(/\`D+4=B!.$&1B^`PWCAJKA8?!-+,D(J2Q(96`(
M`-O]F^GVOQ:P&R:`+&5B86(0"*[,3<K/`=HNSF4^X;T0PXWYG\L?`K&"PM=R

M(MQI <^=$',9X>8^Y2;:O=$DN9>7:/=:DN1>`:+=&T.*>Z<*(;MWYM_'N-UK
M=>$#L
M4LL5 O)S$_.(#E]3<#CD5
M!ZIY[.RHZI/9(.HA_FKX1YZ_T,-K`6,V/\B$U$HXGPN5;\6*RG=C`/'=,,(7

M*G\7.,1ML:4O=/_;DN)_.7#Z
M`M<08&.A9;\``SN8MP=<IS`R,2D%5Q:7I.8RV(/,90#J4&3H F `J?HLQ(#N

M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````



M`!H````;````'````/[____^____________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________]2`&\`;P!T`"``10!N`'0`< !Y````````````````````````
M````````````````````````````````````% `%`?__________" ````8)

M`$0`80!T`&$`````````````````````````````````````````````````
M```````````````````````````*``(!________________````````````
M````````````````````````````````````"0`````0````````5P!O`'(`
M9`!$`&\`8P!U`&T`90!N`'0`````````````````````````````````````
M`````````````````!H`` $)````__________\`````````````````````
M````````````````````````````````(A````````!/`&(`: !E`&,`=`!0
M`&\`;P!L````````````````````````````````````````````````````


M-``````````````````````````````````````````````````````````8

M,C;<L<4!`````````````````0!/`&P`90``````````````````````````
M``````````````````````````````````````````````````H`` '_____
M__________\`````````````````````````````````````````````````
M````%``````````!`$,`;P!M`'``3P!B`&H`````````````````````````
M````````````````````````````````````````$ `"`04````'````____
M_P````````````````````````````````````````````````$```!F````
M``````,`3P!B`&H`20!N`&8`;P``````````````````````````````````

M`````````````````````````````````````````P````8`````````_O__


M````&0```!H````;````'````!T````>````'P```"`````A````( ```",`
M```D````)0```"8````G````*````"D````J````*P```"P````M````+ ``

M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________________\!```""```````````````````````````````````


M``!$4R!%<75A=&EO; `+````17%U871I;VXN,P#T.;)Q````````````````
M``````````````````````````````````````,`!```````````````````
M````````````````````````````````````````````````````````````




M``,!```!$H-K``*&*P`2 VP```*6*``"EBD```````H"EB ``I8I````````
M`````````````````````````````````````````$4`<0!U`&$`=`!I`&\`
M; ` `$X`80!T`&D`= !E````````````````````````````````````````
M``````` ``(`________________````````````````````````````````
M````````````````!````-\`````````,0!4`&$`8 !L`&4`````````````
M``````````````````````````````````````````````````````````X`
M` `!`````P```/____\`````````````````````````````````````````
M```````6````!0<````````%`%,`=0!M`&T`80!R`'D`20!N`&8`;P!R`&T`
M80!T`&D`;P!N````````````````````````````````````*``"`0(````+
M````_____P```````````````````````````````````````````````` `
M``#D`0````````4`1`!O`&,`=0!M`&4`; !T`%,`=0!M`&T`80!R`'D`20!N
M`&8`;P!R`&T`80!T`&D`;P!N```````````````X``(!________________
M````````````````````````````````````````````````$````%0!````
M````_O\```4!` ```````````````````````0```."%G_+Y3V 0JY$(`"LG
ML]DP````M`$``!(````!````F`````(```" `````P```-P````$````Z```


M````G`$``!````"D`0``$P```*P!```"````Y`0``!X````T````36%K92!T
M:&4 <')O9W)A;2!I;B!W:&EC:"!S;VUE(&MI;F0 ;V8 ;&]O<"!I<R!U<V5D
M`!X````!`````&%K91X````+````16IA>B!!:&UE9`!O' ````$`````:F%Z
M' ````$`````:F%Z' ````L```!.;W)M86PN9&]T`&\>````"P```$5J87H 
M06AM960`;QX````"````, !A>AX````4````36EC<F]S;V9T(%=O<F0 ,3`N
M,`!``````%[0L ````!``````/`G64>MQ0%``````'+`'=RQQ0%``````'+`



M```%````A`````8```",````$0```)0````7````G`````L```"D````$```


M````00H*``L`````````"P`````````+``````````L`````````'A````$`
M```T````36%K92!T:&4 <')O9W)A;2!I;B!W:&EC:"!S;VUE(&MI;F0 ;V8 

M```````````````````````````````````````````````````````````4
M``\`$ `!`)P`#P
M;P!R`&T`80!L````` ```!P`0TH8`%](`01A2A `;4 )!&Y(!`AS2`D$=$ $
M"````````````````````````$0`00#R_Z$`1``,`0``````````% !$`&4`
M9 !A`'4`;`!T`"``4`!A`'(`80!G`'(`80!P`& `(`!&`&\`; !T``````!2


M`" ```$```````````<`3 !O`"``3`!I`',`=`````(``````````````*0`
M```&```0`````/____\`````BP```*,```"F````F``````P`````````(``
M``"`````R````````) `````,`````````"````` `````````````"8````

M``````8``*0(```'````BP```)\```"A````I````!,ZE/^5C`````!F````


M(`!!`& `;0!E`&0````&````!````` ```#E

M``"C``````````(0`````````*0```! ```0`$```/__`0````<`50!N`&L`



M`0(`!04!` $'! (%!P`````````0``````````````"``````%,`>0!M`&(`

M`$$`< !I`&$`;````#L

M````IRN9)J<KF2:L])A&` `%````&````(P````!``$````$``,0`0```! `
M``",`````0`!`````0`````````A`P#P$```````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````(!Z`%M`"T`(&!,C0`````````````
M`````*,```"C````````````````````````````````````````````````
M````````````````````````````````````` ````````````$S Q$`\!``


M```S`$T`80!K`&4`(`!T`& `90` `'``< !O`&<`< !A`&T`(`!I`&X`(`!W
M`& `:0!C`& `(`!S`&\`;0!E`"``:P!I`&X`9`` `&\`9 ` `&P`;P!O`'``
M(`!I`',`(`!U`',`90!D``````````H`10!J`&$`> ` `$$`:`!M`&4`9``*
M`$4`: !A`'H`(`!!`& `;0!E`&0`````````````````````````````````
M````````````````````````````````````````````````````````````

M<F]S;V9T(%=O<F0 1&]C=6UE;G0`" ```$U35V]R9$1O8P`0````5V]R9"Y$
M;V-U;65N="XX`/0YLG$`````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````


M______\````````````````````````````````````````````````S````
M: ``````````````````````````````````````````````````````````
M`````````````````````````````````````````/_______________P``
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````________________````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````

 ````````````````````````````````````````````
`
end
Sep 04 2005
prev sibling next sibling parent Ejaz Ahmed <Ejaz_member pathlink.com> writes:
I want youe help in writting the expresion in c++. kindly mentioned to me how to
write this expression.
thanks 
Ejaz Ahmed


begin 0644 the program1.doc


M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________LI<$`-4`)!```^!*_````````$```````! ``
MI` ```X`8FIB:L\RSS(````````````````````````)!!8`(A```*U8``"M



M`````````````$H!````````K $```````"N`0```````*X!````````K $`

MZ`$```````#H`0```````. !````````Z`$```````#H`0```````. !````
M````B`(```(```"*` ```````(H"````````B (```````"*` ```````(H"

M````````````- $```````#H`0````````````````````````````#H`0``
M`````. !````````Z`$```````#H`0```````*X"```````````````````V

M```Z` ```````#H"````````. (```````#H
M```````V`0```````. !````````B`(``````````````````#H"````````
M````````````````````````````````````````````````````````````
M````Z`$```````"(` ```````#H"```>````. (``````````````````% "
M````````- $````````V`0``````````````````````````````````````
M````````````````````````````````````````````6`(```````#H`0``
M`````,8!```,````8"`U-MRQQ0$``````````*X!````````_ $``!P```!8

M```%!P```````!H"```6````!0<```````!8` ``````````````````2 $`

M``````````````````````4'```````````````````V`0```````% "```P
M````Z`$```````#H`0```````#H"````````Z`$```````#H`0``````````
M````````````````````````````````````````Z`$```````#H`0``````
M`. !````````K (```````"N` ```````$H!````````2 $``&0```"N`0``
M````````````````,`(```H```!*`0```````$H!````````K $````````"
M``$!````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````````````````````````````````````$AO=R!T
M;R!W<FET92!T:&4 9F]L;&]W:6YG(&5X<')E<W-I;VX :6X 8RLK+B!)="!C
M;VYT86EN(&5X<&]N96YT:6%L('!O=V5R('!I(" H*2!M=6QT:7!L>2!W:71H
M(&EO=&$ *&DI+B!7:&5R92!H(&%N9"!K(&%R92!A;GD :6YT96=E<G,N"PT3
M($5-0D5$($5Q=6%T:6]N+C, (!0!%0T-````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````8``$\(``!0"```9  ``&<(``"*"```BP ``(P(``"?
M"```H` ``*$(``"B"```HP ``*0(``#Z\OKH^N3<Y,N^W.2Z````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````!A9H\6B<```9`VH`````%6C&6'\`

M%``/`VH`````%FB/(4P`50 !!A9HCR%,```2%6C&6'\`%FC&6'\`-0B!- B!
M``\): $`</`6:,98?P`U"($)%FC&6'\`-0B!``T`! ``BP ``*,(``"D"```

M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````````````!````
M`P`&``"D"```_ ``````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````

MD*`%);``````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````0`P``1`!D````
M``````H`````````````````1`QH`;P(XP `````````````````````````
M``````````````````\`!/!B````L 0*\` ````!!`````H``&,`"_`D````
M?P"``(``!$$!````/P$```8`OP$,`!\`_P$``` `/P,0`!``,P`B\1(```"_
M`0``8`"_`P`` `$_!```!P```!#P!````````(`R``?P6 (```,$EMO[!YKW


MX&1 8,YD9F! 8I!A``%6(.9D K&8&!FA+$:F____ UEZC!)0,6ZX.AXF!Z8%
MPD)`EAH;/X,4PW^08 8!(/\`D+4=B!.$&1B^`PWCAJKA8?!-+,D(J2Q(96`(
M`-O]F^GVOQ:P&R:`+&5B86(0"*[,3<K/`=HNSF4^X;T0PXWYG\L?`K&"PM=R

M(MQI <^=$',9X>8^Y2;:O=$DN9>7:/=:DN1>`:+=&T.*>Z<*(;MWYM_'N-UK
M=>$#L
M4LL5 O)S$_.(#E]3<#CD5
M!ZIY[.RHZI/9(.HA_FKX1YZ_T,-K`6,V/\B$U$HXGPN5;\6*RG=C`/'=,,(7

M*G\7.,1ML:4O=/_;DN)_.7#Z
M`M<08&.A9;\``SN8MP=<IS`R,2D%5Q:7I.8RV(/,90#J4&3H F `J?HLQ(#N

M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````



M`!H````;````'````/[____^____________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________]2`&\`;P!T`"``10!N`'0`< !Y````````````````````````
M````````````````````````````````````% `%`?__________" ````8)

M`$0`80!T`&$`````````````````````````````````````````````````
M```````````````````````````*``(!________________````````````
M````````````````````````````````````"0`````0````````5P!O`'(`
M9`!$`&\`8P!U`&T`90!N`'0`````````````````````````````````````
M`````````````````!H`` $)````__________\`````````````````````
M````````````````````````````````(A````````!/`&(`: !E`&,`=`!0
M`&\`;P!L````````````````````````````````````````````````````


M-``````````````````````````````````````````````````````````8

M,C;<L<4!`````````````````0!/`&P`90``````````````````````````
M``````````````````````````````````````````````````H`` '_____
M__________\`````````````````````````````````````````````````
M````%``````````!`$,`;P!M`'``3P!B`&H`````````````````````````
M````````````````````````````````````````$ `"`04````'````____
M_P````````````````````````````````````````````````$```!F````
M``````,`3P!B`&H`20!N`&8`;P``````````````````````````````````

M`````````````````````````````````````````P````8`````````_O__


M````&0```!H````;````'````!T````>````'P```"`````A````( ```",`
M```D````)0```"8````G````*````"D````J````*P```"P````M````+ ``

M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________________\!```""```````````````````````````````````


M``!$4R!%<75A=&EO; `+````17%U871I;VXN,P#T.;)Q````````````````
M``````````````````````````````````````,`!```````````````````
M````````````````````````````````````````````````````````````




M``,!```!$H-K``*&*P`2 VP```*6*``"EBD```````H"EB ``I8I````````
M`````````````````````````````````````````$4`<0!U`&$`=`!I`&\`
M; ` `$X`80!T`&D`= !E````````````````````````````````````````
M``````` ``(`________________````````````````````````````````
M````````````````!````-\`````````,0!4`&$`8 !L`&4`````````````
M``````````````````````````````````````````````````````````X`
M` `!`````P```/____\`````````````````````````````````````````
M```````6````!0<````````%`%,`=0!M`&T`80!R`'D`20!N`&8`;P!R`&T`
M80!T`&D`;P!N````````````````````````````````````*``"`0(````+
M````_____P```````````````````````````````````````````````` `
M``#D`0````````4`1`!O`&,`=0!M`&4`; !T`%,`=0!M`&T`80!R`'D`20!N
M`&8`;P!R`&T`80!T`&D`;P!N```````````````X``(!________________
M````````````````````````````````````````````````$````%0!````
M````_O\```4!` ```````````````````````0```."%G_+Y3V 0JY$(`"LG
ML]DP````M`$``!(````!````F`````(```" `````P```-P````$````Z```


M````G`$``!````"D`0``$P```*P!```"````Y`0``!X````T````36%K92!T
M:&4 <')O9W)A;2!I;B!W:&EC:"!S;VUE(&MI;F0 ;V8 ;&]O<"!I<R!U<V5D
M`!X````!`````&%K91X````+````16IA>B!!:&UE9`!O' ````$`````:F%Z
M' ````$`````:F%Z' ````L```!.;W)M86PN9&]T`&\>````"P```$5J87H 
M06AM960`;QX````"````, !A>AX````4````36EC<F]S;V9T(%=O<F0 ,3`N
M,`!``````%[0L ````!``````/`G64>MQ0%``````'+`'=RQQ0%``````'+`



M```%````A`````8```",````$0```)0````7````G`````L```"D````$```


M````00H*``L`````````"P`````````+``````````L`````````'A````$`
M```T````36%K92!T:&4 <')O9W)A;2!I;B!W:&EC:"!S;VUE(&MI;F0 ;V8 

M```````````````````````````````````````````````````````````4
M``\`$ `!`)P`#P
M;P!R`&T`80!L````` ```!P`0TH8`%](`01A2A `;4 )!&Y(!`AS2`D$=$ $
M"````````````````````````$0`00#R_Z$`1``,`0``````````% !$`&4`
M9 !A`'4`;`!T`"``4`!A`'(`80!G`'(`80!P`& `(`!&`&\`; !T``````!2


M`" ```$```````````<`3 !O`"``3`!I`',`=`````(``````````````*0`
M```&```0`````/____\`````BP```*,```"F````F``````P`````````(``
M``"`````R````````) `````,`````````"````` `````````````"8````

M``````8``*0(```'````BP```)\```"A````I````!,ZE/^5C`````!F````


M(`!!`& `;0!E`&0````&````!````` ```#E

M``"C``````````(0`````````*0```! ```0`$```/__`0````<`50!N`&L`



M`0(`!04!` $'! (%!P`````````0``````````````"``````%,`>0!M`&(`

M`$$`< !I`&$`;````#L

M````IRN9)J<KF2:L])A&` `%````&````(P````!``$````$``,0`0```! `
M``",`````0`!`````0`````````A`P#P$```````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````(!Z`%M`"T`(&!,C0`````````````
M`````*,```"C````````````````````````````````````````````````
M````````````````````````````````````` ````````````$S Q$`\!``


M```S`$T`80!K`&4`(`!T`& `90` `'``< !O`&<`< !A`&T`(`!I`&X`(`!W
M`& `:0!C`& `(`!S`&\`;0!E`"``:P!I`&X`9`` `&\`9 ` `&P`;P!O`'``
M(`!I`',`(`!U`',`90!D``````````H`10!J`&$`> ` `$$`:`!M`&4`9``*
M`$4`: !A`'H`(`!!`& `;0!E`&0`````````````````````````````````
M````````````````````````````````````````````````````````````

M<F]S;V9T(%=O<F0 1&]C=6UE;G0`" ```$U35V]R9$1O8P`0````5V]R9"Y$
M;V-U;65N="XX`/0YLG$`````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````


M______\````````````````````````````````````````````````S````
M: ``````````````````````````````````````````````````````````
M`````````````````````````````````````````/_______________P``
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````________________````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````

 ````````````````````````````````````````````
`
end
Sep 04 2005
prev sibling parent reply Ejaz Ahmed <Ejaz_member pathlink.com> writes:
I want youe help in writting the expresion in c++. kindly mentioned to me how to
write this expression.
thanks 
Ejaz Ahmed
aajaz1 gmail.com


begin 0644 the program1.doc


M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________LI<$`-4`)!```^!*_````````$```````! ``
MI` ```X`8FIB:L\RSS(````````````````````````)!!8`(A```*U8``"M



M`````````````$H!````````K $```````"N`0```````*X!````````K $`

MZ`$```````#H`0```````. !````````Z`$```````#H`0```````. !````
M````B`(```(```"*` ```````(H"````````B (```````"*` ```````(H"

M````````````- $```````#H`0````````````````````````````#H`0``
M`````. !````````Z`$```````#H`0```````*X"```````````````````V

M```Z` ```````#H"````````. (```````#H
M```````V`0```````. !````````B`(``````````````````#H"````````
M````````````````````````````````````````````````````````````
M````Z`$```````"(` ```````#H"```>````. (``````````````````% "
M````````- $````````V`0``````````````````````````````````````
M````````````````````````````````````````````6`(```````#H`0``
M`````,8!```,````8"`U-MRQQ0$``````````*X!````````_ $``!P```!8

M```%!P```````!H"```6````!0<```````!8` ``````````````````2 $`

M``````````````````````4'```````````````````V`0```````% "```P
M````Z`$```````#H`0```````#H"````````Z`$```````#H`0``````````
M````````````````````````````````````````Z`$```````#H`0``````
M`. !````````K (```````"N` ```````$H!````````2 $``&0```"N`0``
M````````````````,`(```H```!*`0```````$H!````````K $````````"
M``$!````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M`````````````````````````````````````````````````````$AO=R!T
M;R!W<FET92!T:&4 9F]L;&]W:6YG(&5X<')E<W-I;VX :6X 8RLK+B!)="!C
M;VYT86EN(&5X<&]N96YT:6%L('!O=V5R('!I(" H*2!M=6QT:7!L>2!W:71H
M(&EO=&$ *&DI+B!7:&5R92!H(&%N9"!K(&%R92!A;GD :6YT96=E<G,N"PT3
M($5-0D5$($5Q=6%T:6]N+C, (!0!%0T-````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````8``$\(``!0"```9  ``&<(``"*"```BP ``(P(``"?
M"```H` ``*$(``"B"```HP ``*0(``#Z\OKH^N3<Y,N^W.2Z````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````!A9H\6B<```9`VH`````%6C&6'\`

M%``/`VH`````%FB/(4P`50 !!A9HCR%,```2%6C&6'\`%FC&6'\`-0B!- B!
M``\): $`</`6:,98?P`U"($)%FC&6'\`-0B!``T`! ``BP ``*,(``"D"```

M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````````````!````
M`P`&``"D"```_ ``````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````

MD*`%);``````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````0`P``1`!D````
M``````H`````````````````1`QH`;P(XP `````````````````````````
M``````````````````\`!/!B````L 0*\` ````!!`````H``&,`"_`D````
M?P"``(``!$$!````/P$```8`OP$,`!\`_P$``` `/P,0`!``,P`B\1(```"_
M`0``8`"_`P`` `$_!```!P```!#P!````````(`R``?P6 (```,$EMO[!YKW


MX&1 8,YD9F! 8I!A``%6(.9D K&8&!FA+$:F____ UEZC!)0,6ZX.AXF!Z8%
MPD)`EAH;/X,4PW^08 8!(/\`D+4=B!.$&1B^`PWCAJKA8?!-+,D(J2Q(96`(
M`-O]F^GVOQ:P&R:`+&5B86(0"*[,3<K/`=HNSF4^X;T0PXWYG\L?`K&"PM=R

M(MQI <^=$',9X>8^Y2;:O=$DN9>7:/=:DN1>`:+=&T.*>Z<*(;MWYM_'N-UK
M=>$#L
M4LL5 O)S$_.(#E]3<#CD5
M!ZIY[.RHZI/9(.HA_FKX1YZ_T,-K`6,V/\B$U$HXGPN5;\6*RG=C`/'=,,(7

M*G\7.,1ML:4O=/_;DN)_.7#Z
M`M<08&.A9;\``SN8MP=<IS`R,2D%5Q:7I.8RV(/,90#J4&3H F `J?HLQ(#N

M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````



M`!H````;````'````/[____^____________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________]2`&\`;P!T`"``10!N`'0`< !Y````````````````````````
M````````````````````````````````````% `%`?__________" ````8)

M`$0`80!T`&$`````````````````````````````````````````````````
M```````````````````````````*``(!________________````````````
M````````````````````````````````````"0`````0````````5P!O`'(`
M9`!$`&\`8P!U`&T`90!N`'0`````````````````````````````````````
M`````````````````!H`` $)````__________\`````````````````````
M````````````````````````````````(A````````!/`&(`: !E`&,`=`!0
M`&\`;P!L````````````````````````````````````````````````````


M-``````````````````````````````````````````````````````````8

M,C;<L<4!`````````````````0!/`&P`90``````````````````````````
M``````````````````````````````````````````````````H`` '_____
M__________\`````````````````````````````````````````````````
M````%``````````!`$,`;P!M`'``3P!B`&H`````````````````````````
M````````````````````````````````````````$ `"`04````'````____
M_P````````````````````````````````````````````````$```!F````
M``````,`3P!B`&H`20!N`&8`;P``````````````````````````````````

M`````````````````````````````````````````P````8`````````_O__


M````&0```!H````;````'````!T````>````'P```"`````A````( ```",`
M```D````)0```"8````G````*````"D````J````*P```"P````M````+ ``

M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________________\!```""```````````````````````````````````


M``!$4R!%<75A=&EO; `+````17%U871I;VXN,P#T.;)Q````````````````
M``````````````````````````````````````,`!```````````````````
M````````````````````````````````````````````````````````````




M``,!```!$H-K``*&*P`2 VP```*6*``"EBD```````H"EB ``I8I````````
M`````````````````````````````````````````$4`<0!U`&$`=`!I`&\`
M; ` `$X`80!T`&D`= !E````````````````````````````````````````
M``````` ``(`________________````````````````````````````````
M````````````````!````-\`````````,0!4`&$`8 !L`&4`````````````
M``````````````````````````````````````````````````````````X`
M` `!`````P```/____\`````````````````````````````````````````
M```````6````!0<````````%`%,`=0!M`&T`80!R`'D`20!N`&8`;P!R`&T`
M80!T`&D`;P!N````````````````````````````````````*``"`0(````+
M````_____P```````````````````````````````````````````````` `
M``#D`0````````4`1`!O`&,`=0!M`&4`; !T`%,`=0!M`&T`80!R`'D`20!N
M`&8`;P!R`&T`80!T`&D`;P!N```````````````X``(!________________
M````````````````````````````````````````````````$````%0!````
M````_O\```4!` ```````````````````````0```."%G_+Y3V 0JY$(`"LG
ML]DP````M`$``!(````!````F`````(```" `````P```-P````$````Z```


M````G`$``!````"D`0``$P```*P!```"````Y`0``!X````T````36%K92!T
M:&4 <')O9W)A;2!I;B!W:&EC:"!S;VUE(&MI;F0 ;V8 ;&]O<"!I<R!U<V5D
M`!X````!`````&%K91X````+````16IA>B!!:&UE9`!O' ````$`````:F%Z
M' ````$`````:F%Z' ````L```!.;W)M86PN9&]T`&\>````"P```$5J87H 
M06AM960`;QX````"````, !A>AX````4````36EC<F]S;V9T(%=O<F0 ,3`N
M,`!``````%[0L ````!``````/`G64>MQ0%``````'+`'=RQQ0%``````'+`



M```%````A`````8```",````$0```)0````7````G`````L```"D````$```


M````00H*``L`````````"P`````````+``````````L`````````'A````$`
M```T````36%K92!T:&4 <')O9W)A;2!I;B!W:&EC:"!S;VUE(&MI;F0 ;V8 

M```````````````````````````````````````````````````````````4
M``\`$ `!`)P`#P
M;P!R`&T`80!L````` ```!P`0TH8`%](`01A2A `;4 )!&Y(!`AS2`D$=$ $
M"````````````````````````$0`00#R_Z$`1``,`0``````````% !$`&4`
M9 !A`'4`;`!T`"``4`!A`'(`80!G`'(`80!P`& `(`!&`&\`; !T``````!2


M`" ```$```````````<`3 !O`"``3`!I`',`=`````(``````````````*0`
M```&```0`````/____\`````BP```*,```"F````F``````P`````````(``
M``"`````R````````) `````,`````````"````` `````````````"8````

M``````8``*0(```'````BP```)\```"A````I````!,ZE/^5C`````!F````


M(`!!`& `;0!E`&0````&````!````` ```#E

M``"C``````````(0`````````*0```! ```0`$```/__`0````<`50!N`&L`



M`0(`!04!` $'! (%!P`````````0``````````````"``````%,`>0!M`&(`

M`$$`< !I`&$`;````#L

M````IRN9)J<KF2:L])A&` `%````&````(P````!``$````$``,0`0```! `
M``",`````0`!`````0`````````A`P#P$```````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````(!Z`%M`"T`(&!,C0`````````````
M`````*,```"C````````````````````````````````````````````````
M````````````````````````````````````` ````````````$S Q$`\!``


M```S`$T`80!K`&4`(`!T`& `90` `'``< !O`&<`< !A`&T`(`!I`&X`(`!W
M`& `:0!C`& `(`!S`&\`;0!E`"``:P!I`&X`9`` `&\`9 ` `&P`;P!O`'``
M(`!I`',`(`!U`',`90!D``````````H`10!J`&$`> ` `$$`:`!M`&4`9``*
M`$4`: !A`'H`(`!!`& `;0!E`&0`````````````````````````````````
M````````````````````````````````````````````````````````````

M<F]S;V9T(%=O<F0 1&]C=6UE;G0`" ```$U35V]R9$1O8P`0````5V]R9"Y$
M;V-U;65N="XX`/0YLG$`````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````


M______\````````````````````````````````````````````````S````
M: ``````````````````````````````````````````````````````````
M`````````````````````````````````````````/_______________P``
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````________________````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````

 ````````````````````````````````````````````
`
end
Sep 04 2005
parent Scott Michel <scottm aero.org> writes:
Ejaz Ahmed wrote:
 I want youe help in writting the expresion in c++. kindly mentioned to me how
to
 write this expression.
 thanks 
 Ejaz Ahmed
 aajaz1 gmail.com
 
 
Sorry, can't help with what's clearly a homework problem. Not unless you swing by during office hours (were I teaching next quarter at UCLA).
Sep 08 2005