previous Scilab : Utilisation en calculatrice scientifique


1. Variables et constantes spéciales
2. Opérateurs mathématiques
3. Fonctions mathématiques
4. Utilisation de variables


 

1. Variables et constantes spéciales


ans réponse la plus récente
%pi nombre pi
%inf infini
%e nombre exponentiel (2,718...)
%i nombre imaginaire unité (i)
%nan not-a-number
 


2. Opérateurs mathématiques


+ addition
-
soustraction
*
multiplication
/
division
^
puissance



--> 10 + 4

ans =

14.
 

--> 8 + 2*5

ans =

18.


--> (2 + 5.2)*10 / (5^3)

ans =

0.576


--> -2.52e3

ans =

-2520.


--> 8.63e9

ans =

8.630D+09


--> 1.2d-4

ans =

0.00012


--> 2*%pi

ans =

6.2831853

 

La fonction format permet de choisir le nombre maximal de chiffres à afficher :

--> format(25)

--> 2*%pi

ans =

6.2831853071795862319959

 
La valeur par défaut est 10 :

--> format(10)

--> %e

%e =

2.7182818


--> 1 / 0

!--error 27
Division by zero...


--> 1 / %inf

ans  =
 
    0


--> %inf / %inf

ans  =
 
    Nan

 

3. Fonctions mathématiques



sin(X) sinus
asin(X) sinus inverse
cos(X) cosinus
acos(X) cosinus inverse
tan(X) tangente
atan(X) tangente inverse


avec X : argument en radian.

 

exp(X) exponentielle
log(X) logarithme naturel (base e)
log10(X) logarithme décimal (base 10)
sqrt(X) racine carrée
abs(X) valeur absolue

 

sinus (45°) :

--> sin(%pi/4)

ans =

0.7071068


--> 1 + exp(2.5)

ans =

13.182494


--> exp(1000)

ans =

Inf


--> log(%e)

ans =

1.


--> 20*log10(1000)

ans =

60.

 

4. Utilisation de variables



--> 5*3

ans =

15.


--> ans+4

ans =

19.


--> a= 2 + log(15)

a =

4.7080502


--> b = - 45

b =

-45.


--> a * b

ans =

-211.86226


--> c = a - sqrt(abs(b))

c =

-2.0001537


 
(C) Fabrice Sincère ; Révision 1.1.1