**Why Scilab**

➢ Capabilities of the Scilab package

➢ Benefits of shifting to Scilab.

**Installing**

➢ Show where to download from and how to decide which version to choose (OS and 32/64bit) (www.scilab.org/download)

➢ Windows installation

➢ Linux installation (using package managershow only Debian/Ubuntu as example (sudo aptget install scilab) as well as generic binary) Getting Started

➢ Expressions: Show mathematical expressions with numbers

➢ Variables

➢ Diary command

➢ Define symbolic constants.

➢ Basic functions

➢ suppressing output(;)

➢ help,clc

**Vector Operations**

➢ Define vector and calculate length of a vector.

➢ Perform mathematical operations on Vectors such as addition,subtraction and multiplication.

➢ Define a matrix and calculate size of a matrix.

➢ Perform mathematical operations on Matrices such as addition, subtraction and multiplication.

**Matrix Operations**

➢ Access the elements of Matrix

➢ Determine the determinant, inverse and eigen values of a matrix.

➢ Define special matrices.

➢ Perform elementary row operations.

➢ Solve the system of linear equations.

**Scripts and Functions**

➢ Introduction to the file formats in Scilab.

➢ SCRIPT files.

➢ sce versus .sci

➢ Inline functions.

**Conditional Branching**

➢ ‘if’ and ‘then’ with the example

➢ use of the ‘else’ keyword

➢ use of the ‘elseif’ keyword

➢ example for select

**Iteration Control**

➢ ‘for’ statement-tell that the variable iterates over a list/vector/matrix (or an expression that evaluates to any of these).

➢ Break, continue and while statements.

**Plotting 2D graphs**

➢ About linspace: linspace is a linearly spaced vector.

➢ plot and plot2d

➢ Using clf() clear the graphic window.

➢ Configure the title for the plot

➢ Configure a legend

➢ Divide a graphic window into a matrix of subwindows using subplot(mnp)

**Xcos Introduction**

➢ What is XCOS and palette.

➢ To collect the blocks from the palette and connect them to construct the block diagram.

➢ Set the parameters of different blocks.

➢ To setup the simulation parameters.

➢ Simulate the constructed block diagram.

**File Handling-Scilab File handling**

➢ Writing to a file using write()

➢ Reading from a file using read()

➢ Opening an existing file using mopen() and closing using mclose() User Defined Input and Output in Scilab

➢ Input Function.

➢ mprintf(), save() and load()

➢ Used to quit scilab midway through calculation and continue at later stage.

**Develop Scilab code for different Composite Numerical Integration algorithms**

➢ Divide the integral into equal intervals

➢ Apply the algorithm to each interval

➢ Calculate the composite value of the integral

**Numerical methodsSolving Non-linear Equations**

➢ Learn how to solve nonlinear equations using numerical methods

➢ Bisection method and Secant method

➢ Learn how to develop Scilab code for solving nonlinear equations

**Explain Gauss Elimination method algorithm**

Explain code for Gauss Elimination method and solve an example using this code

Explain Gauss Jordan method algorithm

Explain code for Gauss Jordan method and solve an example using this code

1. Solve system of linear equations using iterative methods

2. Use Jacobi and Gauss Seidel iterative methods

3. Learn how to iterate until we converge at the solution

4. Learn how Gauss Seidel method is faster than Jacobi method

5. Develop Scilab code for these two methods to solve linear equations

**Numerical Interpolation**

Develop Scilab code for different Numerical Interpolation algorithms

Calculate new value of function from given data points

**Solving ODEs using Euler Methods**

1. Solve ODEs using Euler and Modified Euler methods

2. Develop Scilab code to solve ODEs

**Solving ODEs using Scilab ode Function**

Use Scilab ode function

Solve typical examples of ODEs

Plot the solution About Optimization

Use of Scilab function Karmarkar in Optimization

Plotting continuous and discrete sine waves.

Plotting step function.

Plotting ramp function.

1. Define a continuous time system: second and higher order

2. Response plot for step input

3. Response plot for sine input

4. Bode plot

5. Study numer and denom Scilab functions

6. Plot poles and zeros of function

Define discrete time system variable z

Define first order discrete time system

Explain ones, flts, dscr, ss2tf functions

Write a squaring function

Use of scifunc block in XCOS

Use of MUX block

Call functions having multiple inputs and outputs