Information Package / Course Catalogue
Computer Programming in Physics
Course Code: FİZ206
Course Type: Required
Couse Group: First Cycle (Bachelor's Degree)
Education Language: Turkish
Work Placement: N/A
Theory: 2
Prt.: 0
Credit: 3
Lab: 2
ECTS: 6
Objectives of the Course

The aim of this course is to teach the fundamentals of the Python programming language and to enable students to solve problems they will encounter during their undergraduate physics education using numerical methods (numerical differentiation, integration, root finding, differential equation solutions). The course covers data types, loops, control structures, and algorithm development, followed by the application of numerical techniques such as numerical differentiation, integration, root finding, Euler and Runge-Kutta methods to physics problems (e.g., complete solution of the simple pendulum, blackbody radiation).

Course Content

Fundamentals of Python programming: data types, array variables, operators, loops (for and while), control structures (if…else…elif), data input and output. Numerical differentiation (variable force in one dimension), numerical integration (Simpson and Trapezoidal rules, complete solution of the simple pendulum), root finding (bisection method, fixed-point iteration, Newton-Raphson method), and numerical solutions in blackbody radiation. Differential equations (initial value problems), Euler method, and Runge-Kutta method.

Name of Lecturer(s)
Prof. Cesur EKİZ
Learning Outcomes
1.Explains the basic structure and usage principles of the Python programming language.
2.be able to perform the simple numeric solutions (Euler method) of differential equations.
3.Identifies the types of errors that arise in numerical computations and evaluates their effects on the results.
4.Applies numerical differentiation, integration, and root-finding methods to solve physics problems.
5.Uses the Euler method for solving initial value problems.
6.Applies the Runge-Kutta method to solve differential equations and interprets the results.
Recommended or Required Reading
1.Fortran ve Python ile Sayısal Fizik, B. Karaoğlu, Seçkin Yayıncılık, Ankara 2013
2.Computational Physics: Problem Solving with Python, Rubin H. Landau, M. J. Paez, C.C. Bordeianu, Wiley
3.Numerical Methods for Physics, A. L. Garcia
4.An Introduction to Computer Simulations Methods,H.Gould,J.Tobochnick,Addison-Wesley,1996,New York
5.Fiziğin Temelleri , David Halliday, Robert Resnick, and Pearl Walker
Weekly Detailed Course Contents
Week 1 - Theoretical & Practice
Characteristics of Numerical Computation, Types of Numerical Errors
Week 2 - Theoretical & Practice
Basic Python Knowledge, Simple Programs
Week 3 - Theoretical & Practice
Numerical Data Types, Array Variables, Operators
Week 4 - Theoretical & Practice
Loops (for and while)
Week 5 - Theoretical & Practice
Control Structures (if…else…elif)
Week 6 - Theoretical & Practice
Data Input and Output
Week 7 - Theoretical & Practice
Numerical Derivatives – Variable Force in One Dimension
Week 8 - Intermediate Exam
Numerical Integration – Simpson and Trapezoidal Rules (Application: Complete Solution of the Simple Pendulum), Review (Midterm exam)
Week 9 - Theoretical & Practice
Root Finding
Week 10 - Theoretical & Practice
Bisection Method, Fixed-Point Iteration Method, Newton-Raphson Method
Week 11 - Theoretical & Practice
Newton-Raphson Method, Numerical Solutions in Blackbody Radiation
Week 12 - Theoretical & Practice
Differential Equations I: Initial Value Problems
Week 13 - Theoretical & Practice
Euler Method
Week 14 - Theoretical & Practice
Runge-Kutta Method
Assessment Methods and Criteria
Type of AssessmentCountPercent
Assignment1%5
Quiz1%5
Midterm Examination1%30
Final Examination1%60
Workload Calculation
ActivitiesCountPreparationTimeTotal Work Load (hours)
Lecture - Theory140228
Assignment1404
Laboratory140228
Quiz1314
Midterm Examination136238
Final Examination146248
TOTAL WORKLOAD (hours)150
Contribution of Learning Outcomes to Programme Outcomes
PÇ-1
PÇ-2
PÇ-3
PÇ-4
PÇ-5
PÇ-6
PÇ-7
PÇ-8
PÇ-9
PÇ-10
PÇ-11
PÇ-12
PÇ-13
PÇ-14
PÇ-15
PÇ-16
PÇ-17
PÇ-18
OÇ-1
4
4
5
5
OÇ-2
4
4
5
OÇ-3
4
4
4
OÇ-4
4
4
OÇ-5
4
4
OÇ-6
Adnan Menderes University - Information Package / Course Catalogue
2026