Welcome to Computational Physics
Prof. Suk-Joon Lee, Physics Department
Contents
Physics and Computer
Internet and Physics
Language
Numerical Analysis
Computer and Experiment
Data Analysis
Text Editing and Graphics for Reports
Physics and Computer
Computer in Physics
- Numerical calculation, simulation ; complex nonlinear system
- Symbolic Math Equation Manipulation ; Mathematica, Maple
- Controling experiment, data analysis ; LabView
- Writing paper, drawing figures --> Word processor, Graphics
- Information and data exchange --> Network
- Virtual demonstration : Java Applet, Flash
Physics for Computer Development
(components)
- CPU(Central Processing Unit), GPU(Graphic Processing Unit), PPU(Physics Processing Unit), Math
- IC Chip, Semiconducting material
- Memory elements ; magnetic, optical, atomic, ...
- Peripherals ; printer, scanner, OCR, ...
- Display ; VCR, (TFT) LCD, FED, Plasma, LED, ...
- Communication media ; cable (phone, TV, power), fiber, wireless (wave), ...
Go to Contents
Internet and Physics
Internet in Physics
Network Components
- Network cable ; Eathernet, Phone line, Cable TV line, Power line,
Optical fiber, Wave, Satellite, Token ring,
FDDI
- Network Interface Board ; Modem, LAN card, USB
- Communication control protocol ;
TCP/IP,
SLIP/PPP
,
Winsock
Communication Service Protocol ; Telnet, Xterm, ssh, FTP, Mail, http
Computers and OS (operating system)
- Personal Computers : DOS, Windows, NT, XP, Linux, Mackintosh
- Work Station : Unix, VMS
- Main frame, Super computer, Cluster Computing
- CPU(Central Processing Unit), GPU(Graphic Processing Unit), PPU(Physics Processing Unit), Math
Connection
- Terminal : WS or main system with terminal server ; one to many
- Virtual terminal ; Terminal emulator ; PC to WS ; many to many
- xterminal : X-Window ; PC to WS
- Modem : Dialup, DSL, Cable, WiFi, WiBro
- LAN : IP address, Domain Name
Connection purpose
Files
- Remote login : Telnet, Rlogin, Host ; NetTerm, X-Win, VTE, htn, Dialup, PuTTY,
SSH, ...
- Telnet command
- telnet physics.khu.ac.kr
- Login procedure (username, password)
- System Commands
- Dialup Modem
- atdt 205-7000 (961-0951~0966)
- at khnet# connect physics
- Login procedure (username, password)
- E-mail : mail, elm, mailx, pine, eudora, outlook express, web mail, ...
- File exchange : FTP, WS_FTP, WinSCP, PSFTP,
SSHftp, Kermit, X-modem, Z-modem, ...
- FTP command
- ftp physics.kyunghee.ac.kr
- login procedure (username, password)
- Commands ; help, dir, put mput, get, mget, cd, bin, ascii, ...
- Information exchange : World Wide Web (http), News, ...
- WWW :
Netscape, Internet explore, Mosaic, Gopher, Mozilla, Firefox, ...
Unix Commands
HTML Commands
Go to Contents
Language
Programing
- Analyse Problem (structure, relation, equation, ...)
- Draw Flow Chart
- Program
- Compile and Link
- Execute (Run) Program
- Input Data --> Program --> Output Results
- Analyse Results
Fortran Language : Fortran Commands
- fort77 -o filexec filename.f -l library : Compile and Link Fortran Program at Unix System (or f77)
- ./filexec : Execute the execution file created by fort77 at Unix system
- Structure of Fortran Program
- PROGRAM progname [(......)]
- .........
- .........
- STOP
- END
- SUBROUTINE subname (......)
- .........
- .........
- RETURN
- END
- type FUNCTION funcname (......)
- .........
- .........
- RETURN
- END
C Language : C Comamands
- cc -o filexec filename.c : Compile and Link C Program at Unix System (or g77)
- ./filexec : execute the execution file created by cc at Unix system
- Structure of C Program
- Preprocessor (#include, #define, .....)
- main ()
- {......... ;
- .......... ;
- .......... ;}
- type subname (.....)
- {......... ;
- .......... ;
- .......... ;}
Go to Contents
Numerical Analysis
Basic Operations
- Interpolation (Lagrange's n-th order Interpolation)
- Derivative (n-point derivative)
- Integration (Trapzoidal, Simpson's, Bode's rule)
- Searching Roots (zeros) (Newton-Raphson, Secant method)
Differential Equation
- Euler's Method
- Adams-Bashforth 2-step Method (use Extrapolation)
- Adams-Moulton Method (use Interpolation) ; Predictor-Corrector Algorithm
- Runge-Kutta Method
Boundary Condition and Eigen Function
- Numerov Algorithm
- Green's Function Solution ; Boundary Condition
- Eigenfunction ; Shooting method, Matching
Special Functions and Gaussian Quatrature
- Recursion for Special functions
- Gaussian Quadrature ; Integral using special function
Matrix Analysis
- Matrix Inversion
- Eigen Value Problem
- Inverse Vector Iteration
- Damped Gradient Iteration
- Lanczos Algorithm
Discretized Grid Space in Higer Dimension
- Discretization and Variational Principle
- Iterative Gauss-Seidel Method
- Boundary Value Problem
- Gaussian Elimination
Monte-Carlo Simulation
- Monte-Carlo Method
- Metropolis Algorithm
Go to Contents
Computer and Experiment
- Data Acquisition
- Data Analysis
- Equipment Control
- Interface ; General Purpose Interface Bus (GPIB) Board
- A/D Converter
- D/A Converter
- Amplification and Noise
Go to Contents
Data Analysis
- Mean Value and Standard Deviation
- Chi-Square Fitting and Error Analysis
- Fourier Transform (FFT)
- Wavelet Analysis
Go to Contents
Text Editing and Graphics for Reports
- Interactive and Noninteractive Graphics : Excell, Axum, PGPLOT, ....
- Graph Out File : Post Script (Encapsulated PS) file, ....
- Text Editor : Ascii Editor (Notepad, Wordpad, ...), HWP, MS-editor, ....
- Tex, Latex, Revtex ; sample TeX -> Result
Hpack
LaTex Commands
LaTex Commands Result
- Presentation ; ppt
Go to Contents