Sponsored links: Algebra eBooks
 

Related

split

eq:x^2+2*x+1=0;

split("=","x=1 or x=2");

Calculate

split

aaa:"-7+13=10";

split(aaa,"=");

Calculate

split

h:split("a,B,ce",",");

h[1];

Calculate

split

aaa:"-7+13=10";

split(aaa,"=");

Calculate

split

split("a,B,ce");

Calculate

split

split("a,B,ce");

Calculate

split

aaa:"-7+13=10";

bbb:split(aaa,"=");

Calculate

split

aaa:"-7+13=10";

bbb:split(aaa,"=");

Calculate

split

answer: "x=1";

split(answer,"=");

Calculate

split

aaa:"-7+13=10";

split(aaa,"=");

Calculate

split

Run Example
(%i1)split(m,t):=[float(m*cos(t*%pi/180)),float(m*sin(t*%pi/180))];
define: warning: redefining the built-in function split
                                       t %pi                t %pi
(%o1)      split(m, t) := [float(m cos(-----)), float(m sin(-----))]
                                        180                  180
(%i2) a=split(9.4,32);
(%o2)             a = [7.971652103870405, 4.981241083792126]
(%i3) b=split(13.9,59.7);
(%o3)             b = [7.012933971028764, 12.00119815343413]
(%i4) c=split(15.0,143.1);
(%o4)             c = [- 11.99526987730636, 9.00630337988826]
(%i5) [a[0]+b[0]+c[0],a[1],b[1],c[1]];
(%o5)                     [c  + b  + a , a , b , c ]
                            0    0    0   1   1   1
(%i6) 
Run Example
eq: x^2=1;
                                     2
(%o1)                               x  = 1
(%i2) length(eq);
(%o2)                                  2
(%i3) answer: solve(eq);
(%o3)                          [x = - 1, x = 1]
(%i4) answer[1];
(%o4)                               x = - 1
(%i5) a1: split(string(answer[1]),"=");
(%o5)                              [x ,  -1]
(%i6) 
Run Example
eq: x^2=1;
                                     2
(%o1)                               x  = 1
(%i2) answer: x^(2/3)-4*x^(1/3)+3=0;
                              2/3      1/3
(%o2)                        x    - 4 x    + 3 = 0
(%i3) factor(answer);
                             1/3        1/3
(%o3)                      (x    - 3) (x    - 1) = 0
(%i4) is(length(split(string(answer),"="))=2 and length(split(string(answer),"("))=1);
(%o4)                                false
(%i5) length(split(string(answer),"="));
(%o5)                                  2
(%i6) length(split(string(answer),"("));
(%o6)                                  3
(%i7) split(string(answer),"(");
(%o7)                     [x^, 2/3)-4*x^, 1/3)+3 = 0]
(%i8) 

Related Help

Help for Split