Overview
Related Links
Ref Books
Downloads

Course Contents

Introduction to C++ Program: Control Structure: Functions: Arrays, File handling. Iterative Method: Computational methods for physics problems

Course Synopsis

Introduction to C++ Program: Different Stages of developing a C++ Program, Simple Data Type in C++, Identifiers and Operators, Headers files writing simple program using, cin, and count, Memory Concept, Difference between high and low level languages. Control Structure: Selection control structure (if, if-else, switch) Repetition control structures (while, do-while, for). Mathematical expressions in C++. Functions: Introduction to math library functions, Programming Examples of using math library functions, and user defined functions, Void functions, Value returning functions Arrays related Problems File handling. Iterative Method: Computational methods and related Program in C++, finding the roots of a Functions, Bracketing methods(Bisection Method, False-Position Method), Open methods (Newton-Raphson method , Secant method), Interpolation idea, Numerical differentiation Ordinary Differentioal Equations using Euler’s Method, Runge-Kutte Methods, Numerical Integration : Trapezoidal Rule, Simpson’s Rule. Write Programs to solve different Problems

Course Learning Outcomes

This course provides an introduction to computational methods in solving problems in physics. It teaches numerical methods and their implementation with the aid of programming tactics, On completion of this course, students should be able to: • Gain a fundamental understanding of the importance of computers and the role of approximations and errors in the implementation and development of numerical methods • Students will be able to write programs in a high-level computer language for realistic physics problems, which are related to the equations • Identify and describe the characteristics of various numerical methods. • Able to build numerical library tools for finding roots, integration, differentiation, and solution to ODE that could be used to solve the physics problems


Introduction to Computational Physics

View Now


Program Structure

View Now


Input output command

View Now


output

View Now


Logical and comparison Operators

View Now


Arithmetic operators

View Now


Increment/decrement

View Now


If else

View Now


Nested If

View Now


Ternary and conditional Operators

View Now


While Loop

View Now


Do While loop

View Now


For Loop

View Now


Arrays

View Now


Multidimensional Arrays

View Now


Functions

View Now


Function parameters

View Now


Local and Global variables

View Now


Switch Statement

View Now


Pointers

View Now


Passing an Array to a Function

View Now


File handling

View Now


Integration -Trapezoidal

View Now


Integration -Simpson

View Now


Differentiation

View Now


Roots - Bisection

View Now


Roots - False Position

View Now


Roots - Newton Method

View Now


Roots - Secant Method

View Now


Ordinary Differential Eq - Euler Method

View Now


Ordinary Differential Eq - Runge Kutta method

View Now






Book Title : Schaum's Outline of Programming with C++
Author : JOHN R. HUBBARD
Edition : Second EDITION
Publisher : McGraw-Hill
View Now


Book Title : An Introduction to Computational Physics
Author : Tao Pang
Edition : Second EDITION
Publisher : Cambridge university press
View Now






Title : Introduction
Type : Presentation

View Introduction


Title : Flow of control
Type : Presentation

View Flow of control


Title : computational Physics
Type : Presentation

View computational Physics


Title : Roots
Type : Other

View Roots


Title : Differentiation
Type : Other

View Differentiation


Title : Integration
Type : Other

View Integration


Title : Ordinary Differential Eq
Type : Other

View Ordinary Differential Eq