449,079 Members | 898 Online 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 