By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,079 Members | 898 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,079 IT Pros & Developers. It's quick & easy.

symbolic algebra computation with list

P: n/a
Hello,

I have try symbolic algebra computation with list,
in c language. (It is only for fun)

This is the result of the example : c13.c

/* ---------------------------------------- */
A_n :
[+][a * &cos(x)^(1/2)]
[+][a * x^(1/2) * &cos(x)^(1/4)]
[+][a * &cos(x)]

I factorize A_n = (B*A)
B :
[&cos(x)^(1/4) * a]

A :
[+][&cos(x)^(1/4)]
[+][x^(1/2)]
[+][&cos(x)^(3/4)]
I refind A_n = B*A
C_n :
[+][a * &cos(x)^(1/2)]
[+][x^(1/2) * a * &cos(x)^(1/4)]
[+][a * &cos(x)]

Press return to continue.

/* ---------------------------------------- */

This is the result of the example : c14.c

/* ---------------------------------------- */

A_7 :
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4)]
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4)]
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4)]
[+][b * &cot(x)^(1/4) * &tan(x)^(1/4)]
[+][b * &cot(x)^(1/4) * &tan(x)^(1/4)]
[+][a * (x)^(1/4) * &ln(x)^(1/4)]
[+][a * &exp(x)^(1/4)]

I combine the same lists

A_4 :
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4) * 3 ]
[+][b * &cot(x)^(1/4) * &tan(x)^(1/4) * 2 ]
[+][a * (x)^(1/4) * &ln(x)^(1/4)]
[+][a * &exp(x)^(1/4)]

/* ---------------------------------------- */

If you can give me the list of the biggest mistake.

You can try the code here:

http://www.geocities.com/xhungab/z/c12_aa.zip

Apr 27 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 28 huhti, 00:48, xhunga <xhun...@yahoo.frwrote:
Hello,

I have try symbolic algebra computation with list,
in c language. (It is only for fun)

This is the result of the example : c13.c

/* ---------------------------------------- */
A_n :
[+][a * &cos(x)^(1/2)]
[+][a * x^(1/2) * &cos(x)^(1/4)]
[+][a * &cos(x)]

I factorize A_n = (B*A)
B :
[&cos(x)^(1/4) * a]

A :
[+][&cos(x)^(1/4)]
[+][x^(1/2)]
[+][&cos(x)^(3/4)]

I refind A_n = B*A
C_n :
[+][a * &cos(x)^(1/2)]
[+][x^(1/2) * a * &cos(x)^(1/4)]
[+][a * &cos(x)]

Press return to continue.

/* ---------------------------------------- */

This is the result of the example : c14.c

/* ---------------------------------------- */

A_7 :
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4)]
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4)]
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4)]
[+][b * &cot(x)^(1/4) * &tan(x)^(1/4)]
[+][b * &cot(x)^(1/4) * &tan(x)^(1/4)]
[+][a * (x)^(1/4) * &ln(x)^(1/4)]
[+][a * &exp(x)^(1/4)]

I combine the same lists

A_4 :
[+][a * &cos(x)^(1/4) * &sin(x)^(1/4) * 3 ]
[+][b * &cot(x)^(1/4) * &tan(x)^(1/4) * 2 ]
[+][a * (x)^(1/4) * &ln(x)^(1/4)]
[+][a * &exp(x)^(1/4)]

/* ---------------------------------------- */

If you can give me the list of the biggest mistake.

You can try the code here:

http://www.geocities.com/xhungab/z/c12_aa.zip
Please stop posting garbage. It's not even fun :)

Apr 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.