fork(1) download
  1. x=exp(3)
  2. (x^3)*sin((3*pi/4)^2)/cos(2*pi-1)
  3. x=-3*i
  4. -2*log(5*x)+sqrt(4*x^3+1)
  5. V1=[2:1:10]
  6. V2=[-1.5:1.5:6]
  7. format rat
  8. for i=1:10
  9. V3(i)=1/(i^2)
  10. end
  11. V=[V1 V2 V3]
  12. Vinv=V(11:-1:5)
  13. Vtier=V(size(V) div 2:1:size(V))
Success #stdin #stdout #stderr 0.21s 403520KB
stdin
Standard input is empty
stdout
x =  20.086
ans =   -1.0018e+04
x = -0 - 3i
ans =   1.9665 + 10.4561i
V1 =

    2    3    4    5    6    7    8    9   10

V2 =

  -1.50000   0.00000   1.50000   3.00000   4.50000   6.00000

V3 = 1
V3 =

          1        1/4

V3 =

          1        1/4        1/9

V3 =

          1        1/4        1/9       1/16

V3 =

          1        1/4        1/9       1/16       1/25

V3 =

          1        1/4        1/9       1/16       1/25       1/36

V3 =

          1        1/4        1/9       1/16       1/25       1/36       1/49

V3 =

 Columns 1 through 7:

          1        1/4        1/9       1/16       1/25       1/36       1/49

 Column 8:

       1/64

V3 =

 Columns 1 through 7:

          1        1/4        1/9       1/16       1/25       1/36       1/49

 Columns 8 and 9:

       1/64       1/81

V3 =

 Columns 1 through 7:

          1        1/4        1/9       1/16       1/25       1/36       1/49

 Columns 8 through 10:

       1/64       1/81      1/100

V =

 Columns 1 through 7:

          2          3          4          5          6          7          8

 Columns 8 through 14:

          9         10       -3/2          0        3/2          3        9/2

 Columns 15 through 21:

          6          1        1/4        1/9       1/16       1/25       1/36

 Columns 22 through 25:

       1/49       1/64       1/81      1/100

Vinv =

          0       -3/2         10          9          8          7          6


stderr
parse error:

  syntax error

>>> Vtier=V(size(V) div 2:1:size(V))
                      ^