# vymazeme vsechny promenne
clear
fprintf (stderr, "K dispozici je i napoveda help\n");
fprintf (stderr, "Stisknete libovolnou klavesu...\n");
pause;
help;
pause;
clc;
fprintf (stderr, "Konkretne napr. help plot\n");
fprintf (stderr, "Stisknete libovolnou klavesu...\n");
pause
help plot;
pause;
clc;
fprintf (stderr, "Vycistime terminal prikazem clc;\n");
fprintf (stderr, "Stisknete libovolnou klavesu...\n");
pause
clc;
# kontanty
printf ("Konstanty pi a e;\n");
pi
e
printf ("Stisknete libovolnou klavesu...\n");
pause
printf ("vetsi presnost - format long\n");
format long
pi
e
printf ("Stisknete libovolnou klavesu...\n");
pause
printf ("odmocnina ze 2:\n");
sqrt(2)
printf ("Stisknete libovolnou klavesu...\n");
pause
printf ("Maximalne 42 desetinnych mist:\n");
printf ("%.42f\n", pi);
printf ("%.42f\n", e);
printf ("sqrt(10)=%.42f\n", sqrt(10));
