EinfuErung

Variable

--> a : 3*4;

--> a;

--> a/2;

--> %i1;

Rechnen

--> 3+4;
3-4;
3*4;
3^4;
3/4;
3/4.0;

Speichern

--> a : 3+4;
b : 3*4$
f(x) := x^2;
b;
%^2;

Funktionen

--> f(5);
f(x), x=3;
abs(-6);
round(%pi);
sqrt(10);
sqrt(10.0);
3^0.5;

--> log(10);
log(10.0);
log10(x) := log(x)/log(10);
log10(10);

--> f(x) := 2^x;
for a:0 thru 10 do print(f(a))$
a;

--> f(x);

--> f;

Zahlen

--> b : 5/3;
ratnumer(b);
ratdenom(b);
float(b);
c : 0.75;
rat(c);

Umformen

--> (a+b)^2;
kill(a,b);
(a+b)^2;

--> expand(%);
factor(%);
expand((a+b)^5);

Gleichungen

--> gleichung : x+7=12;
L : solve(x+7=12);
l : rhs(L[1]);

--> gleichung;
gleichung, L;
is(%);

--> gleichung;
subst(l,x,gleichung);;

--> solve(x^2-4*x+2=0);
solve(x^2-4*x+4=0);
solve(x^2-4*x+6=0);

--> gleichung;
subst(l,x,gleichung);

--> L : solve([
    3*x + 4*y = 12,
      x - 2*y = 3
]);

--> x^2-4*x+2=0;

Schrittweise

--> g : x^2-4*x+2=0;

--> g : g-2;

--> g : g+4;

--> g : factor(g);

--> g : sqrt(g);

--> g1 : first(lhs(g))=rhs(g);
g2 : first(lhs(g))=-rhs(g);

--> g1 : g1+2;
g2 : g2+2;

Differenzieren

--> f(x) := x^3-x^2;
f1(x) := ''(diff(f(x),x));
f2(x) := ''(diff(f1(x),x));

Funktionsgraphen

--> plot2d (f(x),[x,-5,5])$
/* Grafikfenster wieder schlie├čen! */

--> plot2d(
    [f(x), f1(x), f2(x)], [x,-10,10], [y,-10,10],
    [box, false],
    [plot_format, xmaxima]
);

--> wxplot2d([f(x)],[x,-5,5]);


Created with wxMaxima.