Programming in SCILAB

Objective:
The course is designed with an objective to
 Familiarize the student in introducing and exploring MATLAB & LABVIEW softwares.
 Enable the student on how to approach for solving Engineering problems using simulation
tools.
 Prepare the students to use MATLAB/LABVIEW in their project works.
 Provide a foundation in use of this softwares for real time applications

Learning Outcome:
On completion of the course, students will be able to
 Implement simple mathematical functions/equations in SCILAB.
 Interpret and visualize simple mathematical functions and operations thereon using
plots/display

Unit I: 15L
Introduction to Programming and Programming Environment: working with numbers,
Machine code, Software hierarchy.
SCILAB Environment, Workspace, Working Directory, Expressions, Constants, Variables and
assignment statement, Arrays.

Unit II: 10L
Control Statements: Conditional statements: If, Else, Else-if, Repetition statements: While, for
loop.

Unit III: 15L
Matrices: Some Simple Matrix Operations addition, subtraction, multiplication, Sub- Matrices.

Unit IV: 10L
Procedures and Functions: Arguments and return values

Unit V: 15L
Graph Plots and Manipulating Text: Basic plotting, Built in functions, Generating
waveforms, Sound replay, load and save.
Writing to a text file, Reading from a text file, Randomising and sorting a list, searching a list.

Books Recommended:
1. M.Affouf, SCILAB by Example , CreateSpace Independent Publishing Platform,2012
2. H. Ramchandran, A.S. Nair, SCILAB , S.Chand, 2011

Computer Lab Based on Programming in SCILAB:
 Programming using Functions , Loops, Conditional statement

FORTRAN PROGRAMMING

Objective:
The course is designed with an objective to
 Describe the fundamentals of Fortarn programming.
 Demonstrate coding.
 Explain the skills for Mathematical programming.

Learning Outcome:
On completion of the course, students will be able to
 Design algorithms to solve numerical problems.
 Solve problems through Fortran programs.
 Develop advance Fortran program to solve real life problems.
 Introduce numerical techniques that can be used on computers.
 Interpret the reliability of numerical results.
 Develop codes for numerical methods.

Unit I : 10L
Introduction to Fortran, History of Fortran, Algorithms and Flowcharts, Constants and Variables,
Expressions and Statements.

Unit II: Functions and Loops 12L
Control Statements, Do Loops, Arrays, Function and Subroutine, File Processing.

Unit III: 14L
Searching and Sorting, Numerical Methods: Bisection Method, False Position Method, NewtonRaphson Method.

Unit IV: 12L
Matrix and Linear Equations: System of Linear Equation, Gauss Elimination Method, Matrix
Inversion, Eigen values.

Unit V: 12L
Interpolation: Linear interpolation, Lagrange’s Interpolation, Finite Differences.

Books Recommended:
1. Chivers I.,Sleightholme J. “Introduction to Programming with Fortran” Springer, 2
Edition (2015).
2. Salaria R. S.,“A Modern Approach to Programming in Fortran”, Khanna Book
Publishing, 4 Edition(2015).
3. Marcotty M., Ledgard H., “The World of Programming Languages”, Springer.
4. Cwiakala M., Mayo W., “Schaum's Outline of Programming With Fortran 77
(Schaum's Outlines)”, McGraw-Hill Education (31 March 1995).

Computer Lab Based on FORTRAN PROGRAMMING:
 Solving Mathematical Problems using Fortran