1+1

a=1;
b=a-1;

(Sqrt[5])

(Sqrt[5.])

Sqrt[5]

vyr=(((x^2)+1)/((x^3)+(x^2)+1))

?*Lapla*

InverseLaplaceTransform[(((s^2)+1.)/((s^3)+2)),s,t]

N[Pi]
N@Pi
Pi//N

N[InverseLaplaceTransform[(((s^2)+1)/((s^3)+2)),s,t]]

InverseLaplaceTransform[(((s^2)+1)/((s^3)+2)),s,t]//N

kyncl je vul

kyncl*je*vul

ovce12

12ovce

vyr=(((x^2)+1)/((x^3)+(x^2)+1));

TreeForm[vyr]

ClearAll[f];
f[x]=(x^2);
f[x]
f[2]

?_

ClearAll[f];(*komentar*)
f[x_]:=(x^2);
f[x]
f[2]

ClearAll[f];
f[x_]:=(x^2);

f[y+(x^2)]

ClearAll[f];
f[x_]:=(x^2);

ClearAll[f];
f[x_]=(x^2);
f[2]

x=5;
ClearAll[f];
f[x_]=(x^2);
f[2]
?f

x=5;
ClearAll[f,x];
f[x_]=(x^2);
f[2]
?f

ClearAll[g,x];
g[x_]=x*Random[];
?g

ClearAll[g,x];
g[x_]:=x*Random[];
?g

ClearAll[g,x];
g[x_]:=Integrate[Sin[x]*x,x];
g[1]

ClearAll[g,x];
g[x_]=Integrate[Sin[x]*x,x];
g[1]
?g

ClearAll[g,a,b];
g[{x_,y_}]:=(x^2)-y;
g[z_]:=1-(E^z);
g[5]
g[{a,b}]
g[{1,2,3}]

ClearAll[g,a,b];
g[{x_,y_}]:=(x^2)-y;
g[z_]:=1-(E^z);
g[{x_,x_}]:="ocet";
g[{x_,1}]:="pes"
g[{ja,1.,5}]

ClearAll[a];
a[n_]:=n*a[n-1];
a[0]:=1;
a[6]

Trace[a[3]];

ClearAll[a];
a[n_]:=a[n]=n*a[n-1];
a[0]:=1;

a[5]

Trace[a[6]]

?/.

((x+y)/(y^2))/.x->5

((x+y)/(y^2))/.{x->5,y->E}

x/.{{x->1},{x->2}}

(*dom ukol: hrat si se
Solve
Part
Plot
*)