COMPUTER PROGRAMMING AND NUMERICAL METHODS

Credits
Periods
Exam Hrs.
Sessional Marks
Exam Marks
Total Marks
Theory
Tutorial / Lab
4
3
-
3
30
70
100



Objectives

To make the student familiar with programming in C and enable the student to implement the numerical methods described in this course using C as programming language.

Section A

Computer programming in C

Basics

Variables – Constants – Expressions – Operators and their precedence and associativity.

Basic input and output statements, Control structures, Simple programs in C using all the operators and control structure.

Functions

Concept of a function – Parameters and how they are passed – Automatic Variables – Recursion – Scope and extent of variables, Writing programs using recursive and non-recursive functions. 

Arrays and Strings

Single and multidimensional arrays – Character array as a string – Functions on strings, Writing C programs using arrays and for string manipulation.

Structures

Declaring and using structures – Operations on structures – Arrays of structures – User defined data types – Pointers to using files.

Files

Introduction – File structure – File handing functions – File types – File error handing – C Programming examples for using files.


Section B

Computer oriented numerical methods

1. Basic Concepts

Preliminary concepts of algorithms – Flow charts and their execution traces – A simplified model of a computer.

2. Representation for Characters and Numbers

Representation for integer and real numbers, Effect of finite representation on arithmetic operations for example overflow, underflow, associativity and normalization, Some elementary methods for overcoming these limitations.

3. Numerical Methods

Notation of round-off and truncation errors, numerical methods of finding roots of an algebraic equation of one variable, Successive bisection method, False position method, Newton Raphson method and secant method.

4. Solutions of Simultaneous Algebraic Equations

Gauss elimination method and Gauss Seidal methods.

5. Interpolation

Lagrange’s Interpolation and difference table methods.

6. Numerical Integration

Simpson’s Rule, Gaussian quadrature for formula.

7. Numerical Solution of Differential Equation

Eular’s method, Taylor’s series method and runge-Kutta method.

Books

Section A : Programming with C by K.R. Venugopal & Sudeep R Prasad

Section B : Introduction to Numerical Methods by S.S. Sastry

Elementary Numerical Methods by S.D.  Conte

Rerencence

C Programming Language by Kerningham & Ritchie



No comments:

Post a Comment

SRKR ECE

This site has everything about electronic and communication to be shared here.. every one’s views, comments, quotes and articles are most welcome here.. we will help you on internet and its like your virtual world where you ll love to share and learn a lot. So hope everyone gets their chance of sharing and learning here. we request every visitor to this site to please make some thing great which really makes this a great place to live in. Hope every one of you find our site helpful..contact us @ srkrece@gmail.com