Module 1 : Introductory Programming
Chapter 8 : Some Useful Public Domain Softwares
 

 

In scilab, some predefined constants are defined as follows.
%i = imaginary number ‘i’ = sqrt (-1)

%e= Euler’s constant=2.7182818

%pi = π =3.1415927 In Scilab π value is in radians only.

%t and %f are Boolean constants that are used to indicate true and false.

%f= ~%t

%inf  is used to indicate an infinite number...

%nan is used to indicate not a number

In scilab, // symbol indicates comment (i.e., whatever is entered after // will not be read in Scilab).