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

• John Smith (24/24) Jan 13 2004 Consider the following C code:
• Walter (7/30) Jan 19 2004 code
• Ejaz Ahmed (360/360) Sep 04 2005 I want youe help in writting the expresion in c++. kindly mentioned to m...
• Ejaz Ahmed (360/360) Sep 04 2005 I want youe help in writting the expresion in c++. kindly mentioned to m...
• Ejaz Ahmed (361/361) Sep 04 2005 I want youe help in writting the expresion in c++. kindly mentioned to m...
• Scott Michel (3/10) Sep 08 2005 Sorry, can't help with what's clearly a homework problem. Not unless you...
"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
"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
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
MT,\1X*&Q&N\$`````````````````````/ `#`/[_"0`&```````````````!
M````\$ ``````````\$```%`````\$```#^____`````!\$```#_____________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________LI<\$`-4`)!```^!*_````````\$```````! ``
M6```I`````````````````````````````````````````#__P\`````````
M``#__P\```````````#__P\``````````````````````( ``````#8!````
M````- \$``#8!````````- \$````````V`0```````#8!````````- \$``!0`
M`````````````\$H!````````K \$```````"N`0```````*X!````````K \$`
M``P```"Z`0``#````\$H!````````"0,``/(```#2`0``% ```. !````````
MZ`\$```````#H`0```````. !````````Z`\$```````#H`0```````. !````
M````B`(```(```"*` ```````(H"````````B (```````"*` ```````(H"
M````````B (``"0```#[`P``4 (``\$T&``"X````K (``!4`````````````
M````````````- \$```````#H`0````````````````````````````#H`0``
M`````. !````````Z`\$```````#H`0```````*X"```````````````````V
M`0```````#8!````````Z`\$``````````````````. !````````PP(``!8`
M```Z` ```````#H"````````. (```````#H`0``% ```#8!````````Z`\$`
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` ``````````````````B`(```````#9` ``,`````D#````````6`(`````
M```%!P```````!H"```6````!0<```````!8` ``````````````````2 \$`
M``````!*`0```````#8!````````- \$````````V`0```````#8!````````
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%FC&6'\`14CV_U4(`2\$#: +6QD8*"`\$6:,98?P!#2A0`4\$H``%4(`58(`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_0```````````````/T```````````````#]````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````````````!````
M`P`&``"D"```_ ``````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````"`0\$!(``QD& !'[#0+R"PX#TAL` '(K`(!R.0H`4D
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
M.L6+.,AE"TNA/?\`- (```\$```!\$``````"U#&`A&_`N` ``EMO[!YKW.L6+
M.,AE"TNA/=(&`````````````*`3``!`` ``T&L>`/A\`P#\`0```/YXVF-D
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%O\$T>Q: 0EV : X ;<3UA6\$+&TBK1B4A\_Z+<47A-H^1`41_0#)W\$ ?(",U*
M(MQI <^=\$',9X>8^Y2;:O=\$DN9>7:/=:DN1>`:+=&T.*>Z<*(;MWYM_'N-UK
M=>\$#L>Z=Q_B&"=F]N,T%NC<6M[GH[IW'R"V,[%Z%_PQ0<T&B('-#,G-3BQ7\
M4LL5 O)S\$_.(#E]3<#CD5,+X%H( ?C:</P4<_IEPOA\$OFGH>\$#\#H9X;53T'
M!ZIY[.RHZI/9(.HA_FKX1YZ_T,-K`6,V/\B\$U\$HXGPN5;\6*RG=C`/'=,,(7
M2WJP6?"1^/2[%1R>VG#_;N)!Y3>R0_CH_L>27N)QVXOI?P\^9'N`?\$Y4OC +
M*G\7.,1ML:4O=/_;DN)_.7#Z*8#[5XX;E?^6%<+'XG^*XE^3&62\$8247M/3G
M`M<08&.A9;\``SN8MP=<IS`R,2D%5Q:7I.8RV(/,90#J4&3H F `J?HLQ(#N
M1V:P#``&?&LA````````````````````````````````````````````````
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`````````````````````````````````````````````````0````(````#
M````!`````4````&````!P```` ```#^____" ````L````,````#0````X`
M```/````\$````/[____]____\$P```!8```#^____%P```!T````8````&0``
M`!H````;````'````/[____^____________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________]2`&\`;P!T`"``10!N`'0`< !Y````````````````````````
M````````````````````````````````````% `%`?__________" ````8)
M` ``````P````````\$8```````````````#``TPVW+'%`14```!`#0``````
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````````% `!`0P```#_____!```````````````````````````````(!,R
M-MRQQ0'``TPVW+'%`0```````````````%\`,0`Q`# `-P`T`#,`- `P`#,`
M-``````````````````````````````````````````````````````````8
M``\$!__________\&`````LX"``````#`````````1 ````` \$S(VW+'%`2`3
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```````````````````````````````2``(!_____P ```#_____````````
M`````````````````````````````````````````P````8`````````_O__
M_P(```#^_____O___P4````&````!P```/[___\)````" ````L````,````
M#0````X````/````_O___Q\$````2````\$P```!0````5````_O___Q<````8
M````&0```!H````;````'````!T````>````'P```"`````A````( ```",`
M```D````)0```"8````G````*````"D````J````*P```"P````M````+ ``
M`"\````P````,0```#(```#^____-````/[_________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________________\!```""```````````````````````````````````
M`````````````````````````````````````````````0#^_P,*``#_____
M`LX"``````#`````````1A<```!-:6-R;W-O9G0 17%U871I;VX ,RXP``P`
M``!\$4R!%<75A=&EO; `+````17%U871I;VXN,P#T.;)Q````````````````
M``````````````````````````````````````,`!```````````````````
M````````````````````````````````````````````````````````````
M'`````(`U\+#`````````'CL%0#T]Q8```````,!`0,*" \$2 T8``H8]``,!
M```!`H Q``*&*P`2 V4``P\```L1`0*\$P`,2 VD``P\$```\$2 V ``H8K`!*#
M:P```I8H``*6*0`````*`H8K`!*#90`##P``"Q\$!`H3``Q*#:0`#`0```1*#
M:``"ABL`\$H-L```"EB ``I8I``````H"ABL`\$H-E``,/```+\$0\$"A,`#\$H-I
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``4```#\````! ```` !```'````%`\$``` ````H`0``"0```#P!```2````
M2`\$```H```!D`0``"P```'`!```,````?`\$```T```"(`0``# ```)0!```/
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'=RQQ0\$#`````0````,````8`````P```(P````#````````````````````
M``````````````````````````#^_P``!0\$"```````````````````````!
M`````M7-U9PN&Q"3EP `*RSYKC`````D`0``#`````\$```!H````#P```'``
M```%````A`````8```",````\$0```)0````7````G`````L```"D````\$```
M`*P````3````M````!8```"\````#0```,0````,````!`\$```(```#D!```
M' ````D```!024Y35\$5#2```<``#`````0````,````!`````P```*,````#
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;&]O<"!I<R!U<V5D``P0```"````' ````8```!4:71L90`#`````0``````
M```````````````````````````````````````````````````````````4
M``\`\$ `!`)P`#P`#`````P``````1```0/'_` !\$``P````````````&`\$X`
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`&D`\_^S`%(`#`\$```````````P`5`!A`&(`;`!E`"``3 !O`'(`;0!A`&P`
M```<`!?V`P``--8&``\$*`VP`--8&``\$%`P``8?8#```"``L````H`&L`]/_!
M`" ```\$```````````<`3 !O`"``3`!I`',`=`````(``````````````*0`
M```&```0`````/____\`````BP```*,```"F````F``````P`````````(``
M``"`````R````````) `````,`````````"````` `````````````"8````
M`#`````````` ````(````````````````8``*0(```%``````8``*0(```&
M``````8``*0(```'````BP```)\```"A````I````!,ZE/^5C`````!F````
M9P```*8````'`!P`!P``````+0```&H```")````I ```#,`!P`S``<`````
M`&H```"+````I ````<`!0`'``````"F````!P#__P(````*`\$4`: !A`'H`
M(`!!`& `;0!E`&0````&````!````` ```#E``````````4```#.)CL`CR%,
M`,98?P!;#)L`\6B<`!LJL`#_0`.```"C````HP```#CKHP`!````HP``````
M``"C``````````(0`````````*0```! ```0`\$```/__`0````<`50!N`&L`
M; !O`'<`; #__P\$`"```````````````__\!``````#__P``` #__P````#_
M_P``` #__P`````\$````1Q:0`0``` (&`P4\$!0(#!(=Z`"````"`"```````
M``#_`0```````%0`:0!M`&4`<P` `\$X`90!W`"``4 !O`&T`80!N````-1:0
M`0(`!04!` \$'! (%!P`````````0``````````````"``````%,`>0!M`&(`
M;P!L````,R:0`0``` L&!`("` ("!(=Z`"````"`"`````````#_`0``````
M`\$\$`< !I`&\$`;````#L&D`&&!P(!! `#`0\$!`0\$#```````."!``````````
M`0`\$``````!3`&D`;0!3`'4`; ```(M;4T\``"(`!`!Q"( 8`/#0` ``:`\$`
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"```````````````````````````````````````2```````*?#_#P\$``3\`
M`.0\$``#___]_____?____W____]_____?____W____]_&RJP`/__\$ ``````
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``````````````\$`_O\#" ``_____P8)` ``````P````````\$88````36EC
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`````````````````````0!#`&\`;0!P`\$\`8 !J````````````````````
M`````````````````````````````````````````````!(`` #_________
M______\````````````````````````````````````````````````S````
M: ``````````````````````````````````````````````````````````
M`````````````````````````````````````````/_______________P``
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````________________````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````````#_______________\`````````````````````
````````````````````````````````````````````
`
end
```
Sep 04 2005
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
MT,\1X*&Q&N\$`````````````````````/ `#`/[_"0`&```````````````!
M````\$ ``````````\$```%`````\$```#^____`````!\$```#_____________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________LI<\$`-4`)!```^!*_````````\$```````! ``
M6```I`````````````````````````````````````````#__P\`````````
M``#__P\```````````#__P\``````````````````````( ``````#8!````
M````- \$``#8!````````- \$````````V`0```````#8!````````- \$``!0`
M`````````````\$H!````````K \$```````"N`0```````*X!````````K \$`
M``P```"Z`0``#````\$H!````````"0,``/(```#2`0``% ```. !````````
MZ`\$```````#H`0```````. !````````Z`\$```````#H`0```````. !````
M````B`(```(```"*` ```````(H"````````B (```````"*` ```````(H"
M````````B (``"0```#[`P``4 (``\$T&``"X````K (``!4`````````````
M````````````- \$```````#H`0````````````````````````````#H`0``
M`````. !````````Z`\$```````#H`0```````*X"```````````````````V
M`0```````#8!````````Z`\$``````````````````. !````````PP(``!8`
M```Z` ```````#H"````````. (```````#H`0``% ```#8!````````Z`\$`
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` ``````````````````B`(```````#9` ``,`````D#````````6`(`````
M```%!P```````!H"```6````!0<```````!8` ``````````````````2 \$`
M``````!*`0```````#8!````````- \$````````V`0```````#8!````````
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%FC&6'\`14CV_U4(`2\$#: +6QD8*"`\$6:,98?P!#2A0`4\$H``%4(`58(`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_0```````````````/T```````````````#]````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````````````!````
M`P`&``"D"```_ ``````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````"`0\$!(``QD& !'[#0+R"PX#TAL` '(K`(!R.0H`4D
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
M.L6+.,AE"TNA/?\`- (```\$```!\$``````"U#&`A&_`N` ``EMO[!YKW.L6+
M.,AE"TNA/=(&`````````````*`3``!`` ``T&L>`/A\`P#\`0```/YXVF-D
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%O\$T>Q: 0EV : X ;<3UA6\$+&TBK1B4A\_Z+<47A-H^1`41_0#)W\$ ?(",U*
M(MQI <^=\$',9X>8^Y2;:O=\$DN9>7:/=:DN1>`:+=&T.*>Z<*(;MWYM_'N-UK
M=>\$#L>Z=Q_B&"=F]N,T%NC<6M[GH[IW'R"V,[%Z%_PQ0<T&B('-#,G-3BQ7\
M4LL5 O)S\$_.(#E]3<#CD5,+X%H( ?C:</P4<_IEPOA\$OFGH>\$#\#H9X;53T'
M!ZIY[.RHZI/9(.HA_FKX1YZ_T,-K`6,V/\B\$U\$HXGPN5;\6*RG=C`/'=,,(7
M2WJP6?"1^/2[%1R>VG#_;N)!Y3>R0_CH_L>27N)QVXOI?P\^9'N`?\$Y4OC +
M*G\7.,1ML:4O=/_;DN)_.7#Z*8#[5XX;E?^6%<+'XG^*XE^3&62\$8247M/3G
M`M<08&.A9;\``SN8MP=<IS`R,2D%5Q:7I.8RV(/,90#J4&3H F `J?HLQ(#N
M1V:P#``&?&LA````````````````````````````````````````````````
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`````````````````````````````````````````````````0````(````#
M````!`````4````&````!P```` ```#^____" ````L````,````#0````X`
M```/````\$````/[____]____\$P```!8```#^____%P```!T````8````&0``
M`!H````;````'````/[____^____________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________]2`&\`;P!T`"``10!N`'0`< !Y````````````````````````
M````````````````````````````````````% `%`?__________" ````8)
M` ``````P````````\$8```````````````#``TPVW+'%`14```!`#0``````
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````````% `!`0P```#_____!```````````````````````````````(!,R
M-MRQQ0'``TPVW+'%`0```````````````%\`,0`Q`# `-P`T`#,`- `P`#,`
M-``````````````````````````````````````````````````````````8
M``\$!__________\&`````LX"``````#`````````1 ````` \$S(VW+'%`2`3
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```````````````````````````````2``(!_____P ```#_____````````
M`````````````````````````````````````````P````8`````````_O__
M_P(```#^_____O___P4````&````!P```/[___\)````" ````L````,````
M#0````X````/````_O___Q\$````2````\$P```!0````5````_O___Q<````8
M````&0```!H````;````'````!T````>````'P```"`````A````( ```",`
M```D````)0```"8````G````*````"D````J````*P```"P````M````+ ``
M`"\````P````,0```#(```#^____-````/[_________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________________\!```""```````````````````````````````````
M`````````````````````````````````````````````0#^_P,*``#_____
M`LX"``````#`````````1A<```!-:6-R;W-O9G0 17%U871I;VX ,RXP``P`
M``!\$4R!%<75A=&EO; `+````17%U871I;VXN,P#T.;)Q````````````````
M``````````````````````````````````````,`!```````````````````
M````````````````````````````````````````````````````````````
M'`````(`U\+#`````````'CL%0#T]Q8```````,!`0,*" \$2 T8``H8]``,!
M```!`H Q``*&*P`2 V4``P\```L1`0*\$P`,2 VD``P\$```\$2 V ``H8K`!*#
M:P```I8H``*6*0`````*`H8K`!*#90`##P``"Q\$!`H3``Q*#:0`#`0```1*#
M:``"ABL`\$H-L```"EB ``I8I``````H"ABL`\$H-E``,/```+\$0\$"A,`#\$H-I
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``4```#\````! ```` !```'````%`\$``` ````H`0``"0```#P!```2````
M2`\$```H```!D`0``"P```'`!```,````?`\$```T```"(`0``# ```)0!```/
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'=RQQ0\$#`````0````,````8`````P```(P````#````````````````````
M``````````````````````````#^_P``!0\$"```````````````````````!
M`````M7-U9PN&Q"3EP `*RSYKC`````D`0``#`````\$```!H````#P```'``
M```%````A`````8```",````\$0```)0````7````G`````L```"D````\$```
M`*P````3````M````!8```"\````#0```,0````,````!`\$```(```#D!```
M' ````D```!024Y35\$5#2```<``#`````0````,````!`````P```*,````#
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;&]O<"!I<R!U<V5D``P0```"````' ````8```!4:71L90`#`````0``````
M```````````````````````````````````````````````````````````4
M``\`\$ `!`)P`#P`#`````P``````1```0/'_` !\$``P````````````&`\$X`
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`&D`\_^S`%(`#`\$```````````P`5`!A`&(`;`!E`"``3 !O`'(`;0!A`&P`
M```<`!?V`P``--8&``\$*`VP`--8&``\$%`P``8?8#```"``L````H`&L`]/_!
M`" ```\$```````````<`3 !O`"``3`!I`',`=`````(``````````````*0`
M```&```0`````/____\`````BP```*,```"F````F``````P`````````(``
M``"`````R````````) `````,`````````"````` `````````````"8````
M`#`````````` ````(````````````````8``*0(```%``````8``*0(```&
M``````8``*0(```'````BP```)\```"A````I````!,ZE/^5C`````!F````
M9P```*8````'`!P`!P``````+0```&H```")````I ```#,`!P`S``<`````
M`&H```"+````I ````<`!0`'``````"F````!P#__P(````*`\$4`: !A`'H`
M(`!!`& `;0!E`&0````&````!````` ```#E``````````4```#.)CL`CR%,
M`,98?P!;#)L`\6B<`!LJL`#_0`.```"C````HP```#CKHP`!````HP``````
M``"C``````````(0`````````*0```! ```0`\$```/__`0````<`50!N`&L`
M; !O`'<`; #__P\$`"```````````````__\!``````#__P``` #__P````#_
M_P``` #__P`````\$````1Q:0`0``` (&`P4\$!0(#!(=Z`"````"`"```````
M``#_`0```````%0`:0!M`&4`<P` `\$X`90!W`"``4 !O`&T`80!N````-1:0
M`0(`!04!` \$'! (%!P`````````0``````````````"``````%,`>0!M`&(`
M;P!L````,R:0`0``` L&!`("` ("!(=Z`"````"`"`````````#_`0``````
M`\$\$`< !I`&\$`;````#L&D`&&!P(!! `#`0\$!`0\$#```````."!``````````
M`0`\$``````!3`&D`;0!3`'4`; ```(M;4T\``"(`!`!Q"( 8`/#0` ``:`\$`
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"```````````````````````````````````````2```````*?#_#P\$``3\`
M`.0\$``#___]_____?____W____]_____?____W____]_&RJP`/__\$ ``````
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``````````````\$`_O\#" ``_____P8)` ``````P````````\$88````36EC
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`````````````````````0!#`&\`;0!P`\$\`8 !J````````````````````
M`````````````````````````````````````````````!(`` #_________
M______\````````````````````````````````````````````````S````
M: ``````````````````````````````````````````````````````````
M`````````````````````````````````````````/_______________P``
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````________________````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````````#_______________\`````````````````````
````````````````````````````````````````````
`
end
```
Sep 04 2005
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
MT,\1X*&Q&N\$`````````````````````/ `#`/[_"0`&```````````````!
M````\$ ``````````\$```%`````\$```#^____`````!\$```#_____________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M_______________________LI<\$`-4`)!```^!*_````````\$```````! ``
M6```I`````````````````````````````````````````#__P\`````````
M``#__P\```````````#__P\``````````````````````( ``````#8!````
M````- \$``#8!````````- \$````````V`0```````#8!````````- \$``!0`
M`````````````\$H!````````K \$```````"N`0```````*X!````````K \$`
M``P```"Z`0``#````\$H!````````"0,``/(```#2`0``% ```. !````````
MZ`\$```````#H`0```````. !````````Z`\$```````#H`0```````. !````
M````B`(```(```"*` ```````(H"````````B (```````"*` ```````(H"
M````````B (``"0```#[`P``4 (``\$T&``"X````K (``!4`````````````
M````````````- \$```````#H`0````````````````````````````#H`0``
M`````. !````````Z`\$```````#H`0```````*X"```````````````````V
M`0```````#8!````````Z`\$``````````````````. !````````PP(``!8`
M```Z` ```````#H"````````. (```````#H`0``% ```#8!````````Z`\$`
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` ``````````````````B`(```````#9` ``,`````D#````````6`(`````
M```%!P```````!H"```6````!0<```````!8` ``````````````````2 \$`
M``````!*`0```````#8!````````- \$````````V`0```````#8!````````
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%FC&6'\`14CV_U4(`2\$#: +6QD8*"`\$6:,98?P!#2A0`4\$H``%4(`58(`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_0```````````````/T```````````````#]````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````````````````````````````````````````!````
M`P`&``"D"```_ ``````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M```````````````````"`0\$!(``QD& !'[#0+R"PX#TAL` '(K`(!R.0H`4D
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
M.L6+.,AE"TNA/?\`- (```\$```!\$``````"U#&`A&_`N` ``EMO[!YKW.L6+
M.,AE"TNA/=(&`````````````*`3``!`` ``T&L>`/A\`P#\`0```/YXVF-D
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%O\$T>Q: 0EV : X ;<3UA6\$+&TBK1B4A\_Z+<47A-H^1`41_0#)W\$ ?(",U*
M(MQI <^=\$',9X>8^Y2;:O=\$DN9>7:/=:DN1>`:+=&T.*>Z<*(;MWYM_'N-UK
M=>\$#L>Z=Q_B&"=F]N,T%NC<6M[GH[IW'R"V,[%Z%_PQ0<T&B('-#,G-3BQ7\
M4LL5 O)S\$_.(#E]3<#CD5,+X%H( ?C:</P4<_IEPOA\$OFGH>\$#\#H9X;53T'
M!ZIY[.RHZI/9(.HA_FKX1YZ_T,-K`6,V/\B\$U\$HXGPN5;\6*RG=C`/'=,,(7
M2WJP6?"1^/2[%1R>VG#_;N)!Y3>R0_CH_L>27N)QVXOI?P\^9'N`?\$Y4OC +
M*G\7.,1ML:4O=/_;DN)_.7#Z*8#[5XX;E?^6%<+'XG^*XE^3&62\$8247M/3G
M`M<08&.A9;\``SN8MP=<IS`R,2D%5Q:7I.8RV(/,90#J4&3H F `J?HLQ(#N
M1V:P#``&?&LA````````````````````````````````````````````````
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`````````````````````````````````````````````````0````(````#
M````!`````4````&````!P```` ```#^____" ````L````,````#0````X`
M```/````\$````/[____]____\$P```!8```#^____%P```!T````8````&0``
M`!H````;````'````/[____^____________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________]2`&\`;P!T`"``10!N`'0`< !Y````````````````````````
M````````````````````````````````````% `%`?__________" ````8)
M` ``````P````````\$8```````````````#``TPVW+'%`14```!`#0``````
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````````% `!`0P```#_____!```````````````````````````````(!,R
M-MRQQ0'``TPVW+'%`0```````````````%\`,0`Q`# `-P`T`#,`- `P`#,`
M-``````````````````````````````````````````````````````````8
M``\$!__________\&`````LX"``````#`````````1 ````` \$S(VW+'%`2`3
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```````````````````````````````2``(!_____P ```#_____````````
M`````````````````````````````````````````P````8`````````_O__
M_P(```#^_____O___P4````&````!P```/[___\)````" ````L````,````
M#0````X````/````_O___Q\$````2````\$P```!0````5````_O___Q<````8
M````&0```!H````;````'````!T````>````'P```"`````A````( ```",`
M```D````)0```"8````G````*````"D````J````*P```"P````M````+ ``
M`"\````P````,0```#(```#^____-````/[_________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M____________________________________________________________
M__________________\!```""```````````````````````````````````
M`````````````````````````````````````````````0#^_P,*``#_____
M`LX"``````#`````````1A<```!-:6-R;W-O9G0 17%U871I;VX ,RXP``P`
M``!\$4R!%<75A=&EO; `+````17%U871I;VXN,P#T.;)Q````````````````
M``````````````````````````````````````,`!```````````````````
M````````````````````````````````````````````````````````````
M'`````(`U\+#`````````'CL%0#T]Q8```````,!`0,*" \$2 T8``H8]``,!
M```!`H Q``*&*P`2 V4``P\```L1`0*\$P`,2 VD``P\$```\$2 V ``H8K`!*#
M:P```I8H``*6*0`````*`H8K`!*#90`##P``"Q\$!`H3``Q*#:0`#`0```1*#
M:``"ABL`\$H-L```"EB ``I8I``````H"ABL`\$H-E``,/```+\$0\$"A,`#\$H-I
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``4```#\````! ```` !```'````%`\$``` ````H`0``"0```#P!```2````
M2`\$```H```!D`0``"P```'`!```,````?`\$```T```"(`0``# ```)0!```/
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'=RQQ0\$#`````0````,````8`````P```(P````#````````````````````
M``````````````````````````#^_P``!0\$"```````````````````````!
M`````M7-U9PN&Q"3EP `*RSYKC`````D`0``#`````\$```!H````#P```'``
M```%````A`````8```",````\$0```)0````7````G`````L```"D````\$```
M`*P````3````M````!8```"\````#0```,0````,````!`\$```(```#D!```
M' ````D```!024Y35\$5#2```<``#`````0````,````!`````P```*,````#
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;&]O<"!I<R!U<V5D``P0```"````' ````8```!4:71L90`#`````0``````
M```````````````````````````````````````````````````````````4
M``\`\$ `!`)P`#P`#`````P``````1```0/'_` !\$``P````````````&`\$X`
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`&D`\_^S`%(`#`\$```````````P`5`!A`&(`;`!E`"``3 !O`'(`;0!A`&P`
M```<`!?V`P``--8&``\$*`VP`--8&``\$%`P``8?8#```"``L````H`&L`]/_!
M`" ```\$```````````<`3 !O`"``3`!I`',`=`````(``````````````*0`
M```&```0`````/____\`````BP```*,```"F````F``````P`````````(``
M``"`````R````````) `````,`````````"````` `````````````"8````
M`#`````````` ````(````````````````8``*0(```%``````8``*0(```&
M``````8``*0(```'````BP```)\```"A````I````!,ZE/^5C`````!F````
M9P```*8````'`!P`!P``````+0```&H```")````I ```#,`!P`S``<`````
M`&H```"+````I ````<`!0`'``````"F````!P#__P(````*`\$4`: !A`'H`
M(`!!`& `;0!E`&0````&````!````` ```#E``````````4```#.)CL`CR%,
M`,98?P!;#)L`\6B<`!LJL`#_0`.```"C````HP```#CKHP`!````HP``````
M``"C``````````(0`````````*0```! ```0`\$```/__`0````<`50!N`&L`
M; !O`'<`; #__P\$`"```````````````__\!``````#__P``` #__P````#_
M_P``` #__P`````\$````1Q:0`0``` (&`P4\$!0(#!(=Z`"````"`"```````
M``#_`0```````%0`:0!M`&4`<P` `\$X`90!W`"``4 !O`&T`80!N````-1:0
M`0(`!04!` \$'! (%!P`````````0``````````````"``````%,`>0!M`&(`
M;P!L````,R:0`0``` L&!`("` ("!(=Z`"````"`"`````````#_`0``````
M`\$\$`< !I`&\$`;````#L&D`&&!P(!! `#`0\$!`0\$#```````."!``````````
M`0`\$``````!3`&D`;0!3`'4`; ```(M;4T\``"(`!`!Q"( 8`/#0` ``:`\$`
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"```````````````````````````````````````2```````*?#_#P\$``3\`
M`.0\$``#___]_____?____W____]_____?____W____]_&RJP`/__\$ ``````
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``````````````\$`_O\#" ``_____P8)` ``````P````````\$88````36EC
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`````````````````````0!#`&\`;0!P`\$\`8 !J````````````````````
M`````````````````````````````````````````````!(`` #_________
M______\````````````````````````````````````````````````S````
M: ``````````````````````````````````````````````````````````
M`````````````````````````````````````````/_______________P``
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````________________````````````
M````````````````````````````````````````````````````````````
M````````````````````````````````````````````````````````````
M``````````````````````#_______________\`````````````````````
````````````````````````````````````````````
`
end
```
Sep 04 2005
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