symbolic algebra computation with list

X

xhunga

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
 
K

klaushuotari

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top