1 / 27

Scilab : Teaching mathematics with a computational tool

Scilab : Teaching mathematics with a computational tool. David Angulo Rubio. What is SciLab. Motivation. The way mathematics courses are being developed. Students have to struggle to against abstractions and do not get to see any of the applications.

yanni
Download Presentation

Scilab : Teaching mathematics with a computational tool

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scilab: Teaching mathematics with a computational tool David Angulo Rubio

  2. What is SciLab

  3. Motivation • The way mathematics courses are being developed. Students have to struggle to against abstractions and do not get to see any of the applications. • Mathematical concepts are important in order to understand the results supplied by Scilab • Teaching mathematics could be definitively more effective if suitable computational methodology and software were introduced

  4. Toolboxes available

  5. Scilab Environment and Basic Functions Scilab has the ability to store values, so that they can be used later

  6. Comparisons and Logical Operators • ScilLab provides the user with a number of programming constructs very similar to those available in Fortran and other high-level languages.

  7. Workspace and Working Directory • Scilab Environment Visible • Workspace  Memory Space where all variables and functions are stored. • It’s useful to check this workspace to check where a variable or function has been defined or not

  8. Loops in Scilab • FOR • WHILE:

  9. Conditional Constructs in SciLab

  10. Matrix Operations • Matrix Operations built-in into • SciLab: • Addition, • Subtraction • Multiplication • Transpose • Inversion • Determinant, • Trigonometric • Logarithmic • Exponential, and many others

  11. Matrix Operations

  12. Sub-Matrices

  13. Select-case Scilab Scripts or Programs. Type the following SCILAB script into a file called prog1.txt

  14. Statistics

  15. Functions in SciLab

  16. Function Example: Calculation of Frobenius Norm of a Matrix

  17. Plot Command: Simple x-y Plots In the solutions of linear or nonlinear equations, it is often convenient to be able to plot the function to visualize the location of the roots of the function

  18. Plot Command: Simple x-y Plots

  19. Plotting Data in 3D 3D Graphs using grids

  20. Data Fitting and Interpolation Simple Linear Interpolation

  21. Simple Linear Interpolation

  22. Simple Linear Interpolation

  23. Polynomials in SciLab Defining a Polynomial : Identifying variable, degree and coefficients

  24. Operations with Polynomials

  25. Polynomial Fractions Matrices with Polynomial Elements

  26. Determinant of a Polynomial Matrix Evaluating a Polynomial or Polynomial Matrix

  27. References • Urroz, G.,2001,“Programming with SCILAB” • Urroz, G.,2001,“Graphics with SCILAB” • Urroz, G.,2001,“Introduccion to SCILAB” • Annigeri,S.,2004,“ SCILAB: A Hands On Introduction” • Urroz, G.,2001,“Data Fitting and Interpolation with SCILAB” • Benmahammed , K.,2010,“SCILAB” • Campbell, L. Chancelier,J. and Nikoukhah, R.,2006,“Modeling and Simulation in Scilab/Scicos”

More Related