First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.1
Lecture 1
First Meeting
Lecture Information, Installation of required tools/programs
IKC-MH.55 Scientific Computing with Python at October 13,
2023
Dr. Cem Özdo
˘
gan
Engineering Sciences Department
˙
Izmir Kâtip Çelebi University
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.2
Contents
1 First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
2 Installation of Required Tools/Pro grams
Linux System
Windows System
Others
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.3
First Meeting & Introduction
IKC-MH.55 Scientific Computing with Python 2023-2024
Fall
FRIDAY 14:00-16:00 (T) H1-86
Instructor: Cem Özdo
˘
gan, Engineering Sciences Dept.
Faculty of Engineering and Architecture Building, H1-33
TA: NA
WEB page: http://cemozdogan.net/
Announcements: Watch this space for the latest updates.
Wednesday, October 4, 2023 In the first lecture, there
will be first meeting. The lecture notes will be
published soon, see Course Schedule section.
All the lecture notes will be accessible via
Tentative Course Schedule & Lecture Notes.
All the example py-files (for lectur ing and hands-on
sessions) will be access ible via the link.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.4
Lecture Information I
Python is a well-designed, modern programming language
and widely used in computational science and
engineering.
It is a powerful tool since it includes a wide range of
features tailored for scientific computing.
This course is not either a numerical methods or a
programming python course.
However, this course is designed to use computer
programming to implement numerical algorithms for
solving physics/engineering problems.
Consequently, Python (fundamentals of programming in
Python, NumPy, SciPy, Matplotlib libraries) and some
numerical techniques (practice at phy sics/engineering
problems) will be learned implicitly.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.5
Lecture Information II
You may be expected to do significant programming and
problem solving.
An understanding of the concepts of elementary calculus,
in particular solutions of differential equations and
Newtonian/wave mechanics are required but not
mandatory since they will be explained as needed.
Important announcements will be posted to the
Announcements section of this web page, so please check
this page frequently.
You are responsible for all such announcements, as well
as announcements made in lecture.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.6
Course Over view I
IKC-MH.55 is intended to provide students a practical
introduction for using the computer as a tool to solve
physics and engineering problems.
The fundamental advantage of using computers in science
is the ability to treat systems that cannot be solved
analytically.
So that computing has become a major tool in
science/engineering and it is called the third pillar along
with experiments and theory.
Numerical techniques s uch as: Interpolation & Model
Fitting, Derivatives & Integrals, Basic Linear Algebra,
Eigenvalue Problems, Differential equations, ODE and
PDE solvers are used to solve problems from all areas of
science and engineering.
Python implementation of these algorithms will be covered
only whenever necessary in the context of the course.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.7
Course Over view II
Each class will be focused towards solving a particular
physical/engineering problem.
Problems will be drawn from diverse areas of real-life
examples as much as possible.
Theor y or model, method of solution/algorithm, solution
implementation (analytic, Python) and visualization
/exploration will be outlined for the problem des cription.
Upon completion of this course the students will be able to
understand/explain/apply;
Learn how to work in a scientific computing environment.
Get familiarized with Python as a programming language for
numerical computation.
Learn how to solve physics/engineering problems using
numerical techniques.
Can solve de manding tasks with Python.
Learn to analyze problems, select appropriat e numerical
algorithms to solve the problem, imp lement them using
Python.
Possess the basic knowledg e of numerical modeling, data
analysis and visualizin g large amount of data.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.8
Text Book
Lecture material will be based on them.
It is strongly advised that student should read textbooks
rather than only content with the lecture material supplied
from the lecturer.
Required: No & Recommended:
Computat ional Physics: Problem
Solving with Python by by Rubin H.
Landau, Manuel J. Páez, Cristian C.
Bordeianu, 3rd edition, 2015, Wiley.
Learning Scientific Programming
with Python by Christian Hill, 2nd
edition, 2020, Cambridge University
.
Fort ran ve Python ile Sayısal Fizik
by Bekir Ka rao
˘
glu, 2nd edition,
2013, Seçkin Yayıncılık.
Fizik ve Mühend islikte Pytho n by R.
Gökhan Türeci, Hamdi Da
˘
gıstanlı ,
˙
Ilkay Türk Çakır, 2021,
Cengage Learning
.
Recommended Recommended
Recommended Recommended
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.9
Online Resources
The following (some) resources are available online.
https://python-course.eu/
https://www.codecademy.com/catalog/language/python
https://docs.python.org/
https://scipy-lectures.org/
https://matplotlib.org/stable/tutorials/index.html
https://scipython.com/book2/
https://pythonnumericalmethods.berkeley.edu/index.html
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.10
Grading C riteria
Midterms & Final Exams: There will be one take-home
midterm and one take-home final exam, will count 40%
each and 60% of your grade, respectively.
Homewor ks/Assignments (or Term Project): ??
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.11
Policies
Attendance is not compulsory (30%), but you are
responsible for everything said in class.
Academic Regulations:
Derslere devam zorunlulu
˘
gu ve denetlenmesi
MADDE 18 - (1) Ö
˘
grencilerin derslere, uygulamalara,
sınavlara ve di
˘
ger çalı¸smalara devamı zorunludur. Teorik
derslerin % 30’undan, uygulamaların % 20’sinden
fazlasına devam etmeyen ve uygulamalarda ba¸sarılı
olamayan ö
˘
grenci, o dersin yarıyıl/yılsonu ya da varsa
bütünleme sınavına alınmaz. Tekrarlanan derslerde
önceki dönemde devam ¸sar yerine getirilmi¸s ise
derslerde devam ¸sar aranıp aranmayaca
˘
ilgili birim
tarafından hazırlanarak Senato onayına sunulan usul ve
esaslar ile belirlenir.
You can use ideas from the literature (with proper citation).
The code you submit must be written completely by you.
You can use anything from the textbook/notes.
I encourage you to ask questions in class. You are
supposed to ask questions. Don’t guess, ask a question!
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.12
Linux System under VirtualBox
Assuming you are using Windows OS.
Download & Install VirtualBox-7.0.10-158379-Win.exe
Download & Install kubuntu-22.04.3-desktop-amd64.iso
under VirtualBox
Post-Installation Steps of Kubuntu
ping google.com
# Setu p "Display Configuration" for resolutio n
sudo apt-g et install gcc make perl
sudo apt-g et install python3
sudo snap install pycharm-community --classic
sudo apt-g et install python3-tk
sudo apt-g et install pyhton3-pip
sudo pip install numpy -U
sudo pip install scipy -U
sudo pip install matplotlib -U
# End of Post-Installation Steps of Kubuntu
sudo apt-g et update # Regular Updates
sudo apt-g et upgrade # Regular Upgrades
See video for Ins tallation of Kubuntu & PyC harm under
VirtualBox.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.13
Windows System
Assuming you are using Windows OS.
Download & Install
Anaconda3-2023.09-0-Windows-x86_64.exe
Download & Install pycharm-community-2023.2.2.exe
See video for Ins tallation of Anaconda & Py C harm.
First Meeting
Dr. Cem Özdo
˘
gan
LOGIK
First Meeting
Lecture Information
Course Overview
Text Book
Online Resources
Grading Criteria
Policies
Installation of Required
Tools/Programs
Linux System
Windows System
Others
1.14
Others
Google Colaboratory and others !
But, in take-home exams:
Prepare your re port/codes.
Copy your files into a directory named as your ID.
Upload/send a single file by compressing this directory.
Check the web page: IKC-MH.55 2023-2024 Fall
frequently.