Chapter 4.1 Introduction
The detailed Scilab knowlege isn’t necessary to use this course. The only one Scilab application – Xcos will be used.
The shown examples are the tip of the iceberg only. But these small examples amount shows the Scilab power.

Chapter. 4.2 Simple Scilab funtions

Fig. 4-1
Click the Scilab shortcut and wait a moment. The Scilab is started

Fig. 4-2
The window will open. Write “2+2” instruction
Go on


Fig. 4-3
You can write many other more complicated intructions with IF, ELSE … etc. It enables physical effects modellig as whirlpool…

Chapter. 4.3 3D diagrams
Scilab is equipped with some demos – Scilab language ready programs. Beginners can feel Scilab power without programs writing.
You will draw function z = sin(x)*cos(y) surface for -4…x…+4, -4…y…+4.

Fig. 4-4
I advice to use the broomstick to clear first.
Wow! But I show more. Use windows button to make 3D diagram full screen first.


Fig. 4-5
You can test diagram by different view angles!

Chapter 4.4 Levitron
This model is equipped with animation.

Fig. 4-6


Fig. 4-7
The levitron will rotate when click “start”. Do you observe precession effect? You can push “stop” , change initial conditions and start experiment again.

Chapter. 4.5 The coin on the table
Put the coin egdewise on the table and push it.

Fig. 4-8
No comment

Chapter. 4.6 Math is wonderfull!
This demo is unbeatable!

Fig. 4-9
No comment.

Chapter. 4.7 Conclusions
Each demo is a Scilab program. It is possible to write these program in “normal” language as C++ and assembler even. But it will be much stiffller than math specialized Scilab.

One thought on “Chapter 4. About SCILAB shortly

Leave a Reply

Your email address will not be published. Required fields are marked *