CAP2009
CAP2009
Python Programming L T P C
Version 1.0 Date of Approval: 3 0 0 3
Pre-requisites/Exposure
Co-requisites
Course Objectives
The objective of this course is
1. To study the structure of python programming language.
2. To implement python programs to solve engineering problems
3. To solve physical problems using computer simulation
Course Outcomes
On completion of this course, the students will be able to
CO1. Program in python programming language
CO2. Design physical problems in terms of simulation models
CO3. Solve simulation models using python programming
Catalog Description
Python programming language offers a rich set of libraries for solving scientific problems.
Numpy can be used for numerical problems, Scipy can be used for modelling and solving
using numerical solutions, Matplotlib can be used for plotting variety of graphs for better
visualization and pydata/pandas can be used for data analysis. Physical problems can be
converted into a simulation model to find physically relevant solutions, which can in-turn
be used in designing the engineering experiments/products. The course will focus in
teaching relevant topics which can be used by engineers from all branches, to solve
physical problems using python programming.
Course Content
Unit I Introduction to Python
Structure of python programs, ipython notebook environment, different data types, aming
and using variables, making and using lists and arrays, strings, functions, loops, file input-
output functions, exceptions.
Unit II Numpy and Matplotlib
Array based computation, Introduction to Numpy module, Using matrix methods to solve system of
equations, Plotting graphs using matplotlib, modifying graph features, 2D and 3D graphs.
Unit IIIScipy
Text Books:
Reference Books
1. Wes McKinney (2012), Python for Data Analysis, "O'Reilly Media, Inc.", ISBN – 9781449319793
2. Sergio J Rojas G, Erik A Christensen, Francisco J. Blanco-Silva (2015), Learning SciPy for
Numerical and Scientific Computing, Packt Publishing Ltd., ISBN- 9781783987719
3. AlexandreDevert (2014), Matplotlib Plotting Cookbook, Packt Publishing Ltd., ISBN-
9781849513272
4. Michael Heydt (2015), Learning Pandas, Packt Publishing Ltd., ISBN- 9781783985135
5. Charles Dierbach (2012), Introduction to Computer Science Using Python: A Computational
Problem-Solving Focus, Wiley Global Education, ISBN- 9781118476604.
CAP2009
g
1=weakly mapped
Python
Title
Course
3=strongly mapped
2= moderately mapped
programmin
2
Engineering Knowledge
PO1
Problem analysis
PO2
3
PO3 Design/development of solutions
3
PO4
3
Modern tool usage
PO5
Ethics
PO8
Communication
PO1
1
Life-long Learning
PO1