5ce5316a33 2021-03-01 1: (a+b)^2;
5ce5316a33 2021-03-01 2: (a+b)^3;
5ce5316a33 2021-03-01 3: (a+b)^4;
5ce5316a33 2021-03-01 4: (a+b)^5;
5ce5316a33 2021-03-01 5: (a+b)^6;
5ce5316a33 2021-03-01 6: c:=(a+b)^6;
5ce5316a33 2021-03-01 7: d:=(a+b)^3;
5ce5316a33 2021-03-01 8: c/d;
5ce5316a33 2021-03-01 9: a:=sin (x);
5ce5316a33 2021-03-01 10: b:=cos (x);
5ce5316a33 2021-03-01 11: c:=a^2+b^2;
5ce5316a33 2021-03-01 12: d:=a/b;
5ce5316a33 2021-03-01 13: f:=tan (x)-d;
5ce5316a33 2021-03-01 14: % Trigo Rules;
5ce5316a33 2021-03-01 15: trig1:={sin(~x)^2=>(1-cos(x)^2)};
5ce5316a33 2021-03-01 16: let trig1;
5ce5316a33 2021-03-01 17: trig2:={tan (~x)=>(sin (x)/cos (x))};
5ce5316a33 2021-03-01 18: let trig2;
5ce5316a33 2021-03-01 19: % now with rules;
5ce5316a33 2021-03-01 20: c;
5ce5316a33 2021-03-01 21: d;
5ce5316a33 2021-03-01 22: f;
5ce5316a33 2021-03-01 23: end;