octave>
1:4
octave>
rand(2)
octave>
[1+i 2;3 1-i]
octave>
[1 2;3 4] == [2 1;3 4]
octave>
1
octave>
1+i
octave>
1==2
octave>
struct ("field1", 1, "field2", 2)
scalar structure containing the fields: field1 = 1
octave>
"a"
octave>
'a'
octave>
{1,2,3}
{ [1,1] = [1,3] = 1 [1,4] = 2 [1,5] = 3 [1,6] =
octave>
octave>
a=1:4
octave>
A=rand(2)
octave>
B=[1+i 2;3 1-i]
octave>
C=[1 2;3 4] == [2 1;3 4]
octave>
x=1
octave>
y=1+i
octave>
b=1==2
octave>
s=struct ("field1", 1, "field2", 2)
scalar structure containing the fields: field1 = 1
octave>
s1="a"
octave>
s2='a'
octave>
l={1,2,3}
{ [1,1] = [1,3] = 1 [1,4] = 2 [1,5] = 3 [1,6] =
octave>
A
octave>
x=0:0.01:6.28; y=sin(x);
octave>
plot(x,y);
octave>
GNUplot]
plot sin(x)
GNUplot]
In[5]:=
Integrate[Sin[x],x]
In[8]:=
DSolve[{y'[x]+y[x]==Sin[x],y[0]==0},y[x],x]
In[9]:=
from pylab import *
Python]
x=arange(0.,3.15,.01); y=cos(x); plot(x,y);
Python]
show();
Python]
ps_out('/home/student/courses/texmacs/Figure_1.eps')
Python]
Python]