| RUN | shift + return |
| * or SPACE | multiplication |
| ^ | power |
| *^ | power of 10 |
| % | gives the last result generated |
| %% | gives the result before last |
| @@ | apply an operation on expression |
| Pi | the value of Pi:3.14159... |
| () | parentheses for grouping |
| [] | square brackets for functions |
| {} | curly braces for lists |
| [[]] | double brackets for indexing equivalent to Part[] |
| N[] | evaluate numerically |
| Sqrt[] | calculate square root |
| Sin[]/Cos[] | calculate sine/cosine |
| Log[]/Exp[] | calculate logarithm/power of natural base |
searches for a numerical root of f, starting from the point x_0.
attempts to find numerical approximations to the solutions of the system expr of equations or inequalities for the variables vars.
finds a numerical solution to the ordinary differential equations eqns for the function y with the independent variable x in the range x_min to x_max.
gives the (partial) derivative df/dx.
gives the n-th (partial) derivative of x.
gives the indefinite integral.
gives the definite integral from x_min to x_max.
factors a polynomial over integers.
expand out products and positive integer powers in expr.
puts terms in a sum over a common denominator, and cancels factors in the result.
rewrites a rational expression as a sum of terms with minimal denominators.
attempts to solve the system of equations expr from variables vars
generate a power series of f at point x_0 to an error of order of n
convert expr to normal expression, from a variety of special forms
tries to find the simplist form of expr through a sequece of transformations.
collect together terms involving the same powers of x.
generate a list with i from i_min to i_max and j from j_min to j_max.
generate a list of length n with elements f[i].
print the list in a matrix form.
Remove["Global`*"]
f[x_,y_]:=x^y;
var[x_]:=Module[
{m,n},
n=Length[x];
m=(Plus@@x)/n;
(Plus@@((x-m)^2))/(n-1)
];
f[x0_] := Module[
{x = x0},
While[x > 0, x = Log[x]];
x
]