Scilab from Theory to Practice - I. Fundamentals