Related

Calculate

Calculate

aaa:"-7+13=10";

split(aaa,"=");

Calculate

split

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

h[1];

Calculate

split("a,B,ce");

Calculate

split

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

h[1];

Calculate

Calculate

split

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

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

Calculate

split

aaa:"-7+13=10";

bbb:split(aaa,"=");

Calculate

split("a,B,ce");

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
```simp:false;
(%o1)                                false
(%i2) deci: 1/2;
1
(%o2)                                  -
2
- 1
(%o3)                               a = ---
2
-1
(%o4)                                 --
2
(%i5) (split(string(deci),"/")[1]/sconcat("-",split(string(deci),"/")[2]));
1
(%o5)                                 --
-2
(%o6)                                false
(%o7)                                true
(%i8) ```
Run Example
```eq: x^2=1;
2
(%o1)                               x  = 1
(%i2) length(eq);
(%o2)                                  2