SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
Tools for Teaching Undergraduate Computational Physics
School on Hands-on Research in Complex Systems, 30 June - 11 July 2014, ICTP, Trieste, Italy
Amde A, Dept. of Physics, University of Gondar, P.O. Box 196, Ethiopia, mdselassie@gmail.com
Abstract
In fact, the use of computation and simulation has now become an essential and integral part of contempo-
rary basic and applied sciences, and computation has become as important as theory and experiment. In
Ethiopia, the Undergraduate Computational Physics (UCP) course was first introduced in 2003 as an elective
course in University of Gondar’s Applied Physics Curriculum. Starting from 2010 UCP is included as a com-
pulsory course in the Harmonized Undergraduate Physics Curriculum at all Ethiopian Universities. Though
computational physics is now becoming an integral part of undergraduate physics curriculum, there is no
still standardization in the contents, programming language and methodology used to teach UCP.
The decision of what language to use to teach UCP is not an easy one. Some prefer using a general purpose-
programming language while others prefer using symbolic or numeric computing environment. A few even
tried to implement unusual approach by using non-specific pseudocode. At University of Gondar we chose
Java to teach UCP and have been using it since 2005. Currently, we are considering using Java with Python.
In this poster we’ll discuss uses of computers in physics and significance of simulation in studying physics.
We’ll also discuss why we preferred Java and specific contents for the course. Our experience using Java to
teach UCP is demonstrated by installing and configuring JDK & OSP tools, and by compiling and running
some codes.
Computational Physics
 A multidisciplinary subject that uses computing approach to gain understanding in complex systems, like
QCD, electronic structure, molecular dynamics, nuclear fusion, climate dynamics, relativistic astrophysics.
 Provides the capability to study and gain novel insights into
physical systems, for those where no analytical solutions can be
found or an experimental study is too complicated or expensive.
 An essential and integral part of contemporary sciences, and has
become as important as theory and experiment.
Language and Content Selection Dilemma
Content? (1) Linear Systems, (2) Non-linear, Chaotic & Multi-variable Systems, or (3) Both
Language? (1) Pseudo-code, (2) General Purpose, or (2) Symbolic or Numeric Computing Environment
 Objective of the Undergraduate Computational Physics Course and time allotted for it
 Computing skills and experience of both Instructors and Students
 Availability and cost of Computational Resources and Facilities
 Numerical performance, ease of use, Web- and database driven applications, and good graphical inter-
faces of Language/Computing Environment.
Uses of Computers in Physics
 Numerical analysis
 Symbolic manipulation
 Visualization
 Simulation
 Data acquisition & analysis (CADA)
 Technology supported learning
Why Java for Undergraduate Computational Physics?
 Platform independent; (API, neutral byte code, JVM)
 Flexible standard graphics libraries & good performance
 Web-based & server-based applets
 Free and relatively simple to learn
 Supported by OSP (OpenSourcePhysics) extensive library of open-source Java routines for computational
work (www.compadre.org/OSP/).
Disadvantage: Despite the high level of abstraction and platform independence, the speed & performance
of Java is not comparable with C++ or Fortran. It is not supported by numerical libraries.
Numerical Analysis
 Creates, analyzes, and implements algorithms for solving numerically the problems of continuous maths.
 Used to compute multidimensional integral & differential equations, manipulate large matrices, or solve
linear & nonlinear differential equations
Visualization (The Eye plus Visual Processing Capacity of the Brain)
 Patterns & trends that might not be evident from tables of data can be determined.
 Changes with time can be observed, and can lead to insight into the important mechanisms underlying a
system’s behavior
Install JDK on PCs
 Download the JDK Installer (from www.java.com or www.oracle.com/technetwork/java/javase/)
 Run the JDK Installer & follow the instructions. (JDK should be installed in the directory C: )
 Add the jdk/bin directory into the execution path
Configure Project/Development Environment
 Create a Project Directory (e.g. “C:cp_project”)
 Download the Open Source Physics Eclipse Workspace (from www.compadre.org/OSP/) and unpack
the source code for the OSP core library (src.zip) in to the Project Directory. C:cp_projectsrc
 Create a directory named classes under the Project Directory. C:cp_projectclasses
Why is Simulation becoming so Important in Physics?
1.Explore nonlinear phenomena - many natural phenomena are nonlinear & most are difficult to solve by
analytical methods
2.Investigate systems with many variables or with many degrees of freedom
3.Investigate systems whose experimental studies are too complicated & expensive.
Simulation frequently uses computational tools of numerical analysis & visualization.
Edit: the source code can be ed-
ited using Notepad(++) & saved as
“FileName”.java under dir.
C:cp_projectsrc”package”
Compile:
 Open Command Prompt (C:_)
 Change Directory to Project Dir.
C:cp_project
javac –d classes/ -sourcepath src/
src/”package”/”FileName”.java
Run:
java –classpath classes/ “package
name”/”FileName”
Example:
 java –classpath classes/ sip/ch16/
TDHalfStepApp
Results:

Más contenido relacionado

Destacado

Effective or Active Learning Environment for Science
Effective or Active Learning Environment for ScienceEffective or Active Learning Environment for Science
Effective or Active Learning Environment for ScienceAmdeselassie Amde
 
Space exploration benefits essay example
Space exploration benefits essay exampleSpace exploration benefits essay example
Space exploration benefits essay exampleKirk's Class
 
Earth and space science
Earth and space scienceEarth and space science
Earth and space sciencemmoreno18
 
Evolution of Space Technology in India
Evolution of Space Technology in IndiaEvolution of Space Technology in India
Evolution of Space Technology in Indiathespaceguy
 
Health physics
Health physicsHealth physics
Health physicsairwave12
 
Nasa 3 ppt on physics class 8
Nasa 3 ppt on physics class 8 Nasa 3 ppt on physics class 8
Nasa 3 ppt on physics class 8 sar Sari
 
Space Exploration
Space ExplorationSpace Exploration
Space Explorationguestf4779d
 
Chapter 10 space exploration
Chapter 10 space explorationChapter 10 space exploration
Chapter 10 space explorationHazwani Alias
 
Space Exploration
Space ExplorationSpace Exploration
Space ExplorationJOER
 
Space Presentation
Space PresentationSpace Presentation
Space Presentationnathanr07
 
Space science powerpoint
Space science powerpointSpace science powerpoint
Space science powerpointLaura Smith
 
Presentation earth and space
Presentation   earth and space Presentation   earth and space
Presentation earth and space Grecia Falzon
 

Destacado (20)

Space exploration
Space explorationSpace exploration
Space exploration
 
Effective or Active Learning Environment for Science
Effective or Active Learning Environment for ScienceEffective or Active Learning Environment for Science
Effective or Active Learning Environment for Science
 
Space exploration benefits essay example
Space exploration benefits essay exampleSpace exploration benefits essay example
Space exploration benefits essay example
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Earth and space science
Earth and space scienceEarth and space science
Earth and space science
 
Space Exploration
Space ExplorationSpace Exploration
Space Exploration
 
Evolution of Space Technology in India
Evolution of Space Technology in IndiaEvolution of Space Technology in India
Evolution of Space Technology in India
 
Health physics
Health physicsHealth physics
Health physics
 
Nasa 3 ppt on physics class 8
Nasa 3 ppt on physics class 8 Nasa 3 ppt on physics class 8
Nasa 3 ppt on physics class 8
 
Space Exploration
Space ExplorationSpace Exploration
Space Exploration
 
Chapter 10 space exploration
Chapter 10 space explorationChapter 10 space exploration
Chapter 10 space exploration
 
Space Exploration
Space ExplorationSpace Exploration
Space Exploration
 
SPACE TECHNOLOGY
SPACE TECHNOLOGY SPACE TECHNOLOGY
SPACE TECHNOLOGY
 
Space
SpaceSpace
Space
 
Earth and Space
Earth and SpaceEarth and Space
Earth and Space
 
Space Presentation
Space PresentationSpace Presentation
Space Presentation
 
Space science powerpoint
Space science powerpointSpace science powerpoint
Space science powerpoint
 
Space mouse
Space mouseSpace mouse
Space mouse
 
Space powerpoint
Space powerpointSpace powerpoint
Space powerpoint
 
Presentation earth and space
Presentation   earth and space Presentation   earth and space
Presentation earth and space
 

Similar a Teaching Computational Physics

Development of Computer Aided Learning Software for Use in Electric Circuit A...
Development of Computer Aided Learning Software for Use in Electric Circuit A...Development of Computer Aided Learning Software for Use in Electric Circuit A...
Development of Computer Aided Learning Software for Use in Electric Circuit A...drboon
 
CS8461 Operating System Lab Manual S.Selvi
CS8461 Operating System Lab Manual S.SelviCS8461 Operating System Lab Manual S.Selvi
CS8461 Operating System Lab Manual S.SelviSELVI SIVAPERUMAL
 
Master Studiengang FH Salzburg: Applied Image and Signal Processing
Master Studiengang FH Salzburg: Applied Image and Signal ProcessingMaster Studiengang FH Salzburg: Applied Image and Signal Processing
Master Studiengang FH Salzburg: Applied Image and Signal ProcessingFachhochschule Salzburg
 
Sustainable Software for Computational Chemistry and Materials Modeling
Sustainable Software for Computational Chemistry and Materials ModelingSustainable Software for Computational Chemistry and Materials Modeling
Sustainable Software for Computational Chemistry and Materials ModelingSoftwarePractice
 
Kadir A_20160804_res_tea
Kadir A_20160804_res_teaKadir A_20160804_res_tea
Kadir A_20160804_res_teaKadir A Peker
 
Ece 1322 programming_for_engineers_s1_201213(1)
Ece 1322 programming_for_engineers_s1_201213(1)Ece 1322 programming_for_engineers_s1_201213(1)
Ece 1322 programming_for_engineers_s1_201213(1)Minda Kronik
 
Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios
 Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios
Redes de sensores sem fio autonômicas: abordagens, aplicações e desafiosPET Computação
 
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
Automatic Classification of Springer Nature Proceedings with Smart Topic MinerAutomatic Classification of Springer Nature Proceedings with Smart Topic Miner
Automatic Classification of Springer Nature Proceedings with Smart Topic MinerFrancesco Osborne
 
A case study of LEGO Mindstorms suitability for artificial intelligence and...
A case study of LEGO Mindstorms   suitability for artificial intelligence and...A case study of LEGO Mindstorms   suitability for artificial intelligence and...
A case study of LEGO Mindstorms suitability for artificial intelligence and...Emily Smith
 
CIB W78 2005 - Development of computer assisted learning tool for earthquake ...
CIB W78 2005 - Development of computer assisted learning tool for earthquake ...CIB W78 2005 - Development of computer assisted learning tool for earthquake ...
CIB W78 2005 - Development of computer assisted learning tool for earthquake ...Robert Klinc
 
2.Applications of ICT Commerce Department.docx
2.Applications of ICT Commerce Department.docx2.Applications of ICT Commerce Department.docx
2.Applications of ICT Commerce Department.docxgcckhanewal
 
CE-LEARNING-CTS2016_paper_5
CE-LEARNING-CTS2016_paper_5CE-LEARNING-CTS2016_paper_5
CE-LEARNING-CTS2016_paper_5Manoj Kumar
 
Computer Systems Lab Overview
Computer Systems Lab OverviewComputer Systems Lab Overview
Computer Systems Lab Overviewbutest
 
Fundamentals of data structures ellis horowitz & sartaj sahni
Fundamentals of data structures   ellis horowitz & sartaj sahniFundamentals of data structures   ellis horowitz & sartaj sahni
Fundamentals of data structures ellis horowitz & sartaj sahniHitesh Wagle
 
Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014deepti112233
 
Work in progress mechatronics1
Work in progress mechatronics1Work in progress mechatronics1
Work in progress mechatronics1Pana Mann
 
Aligning Nuclear Physics Computing Techniques with Non-Research Physics Careers
Aligning Nuclear Physics Computing Techniques with Non-Research Physics CareersAligning Nuclear Physics Computing Techniques with Non-Research Physics Careers
Aligning Nuclear Physics Computing Techniques with Non-Research Physics CareersWouter Deconinck
 

Similar a Teaching Computational Physics (20)

Computer engineering university
Computer engineering university Computer engineering university
Computer engineering university
 
Development of Computer Aided Learning Software for Use in Electric Circuit A...
Development of Computer Aided Learning Software for Use in Electric Circuit A...Development of Computer Aided Learning Software for Use in Electric Circuit A...
Development of Computer Aided Learning Software for Use in Electric Circuit A...
 
CS8461 Operating System Lab Manual S.Selvi
CS8461 Operating System Lab Manual S.SelviCS8461 Operating System Lab Manual S.Selvi
CS8461 Operating System Lab Manual S.Selvi
 
Master Studiengang FH Salzburg: Applied Image and Signal Processing
Master Studiengang FH Salzburg: Applied Image and Signal ProcessingMaster Studiengang FH Salzburg: Applied Image and Signal Processing
Master Studiengang FH Salzburg: Applied Image and Signal Processing
 
Sustainable Software for Computational Chemistry and Materials Modeling
Sustainable Software for Computational Chemistry and Materials ModelingSustainable Software for Computational Chemistry and Materials Modeling
Sustainable Software for Computational Chemistry and Materials Modeling
 
Kadir A_20160804_res_tea
Kadir A_20160804_res_teaKadir A_20160804_res_tea
Kadir A_20160804_res_tea
 
Ece 1322 programming_for_engineers_s1_201213(1)
Ece 1322 programming_for_engineers_s1_201213(1)Ece 1322 programming_for_engineers_s1_201213(1)
Ece 1322 programming_for_engineers_s1_201213(1)
 
Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios
 Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios
Redes de sensores sem fio autonômicas: abordagens, aplicações e desafios
 
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
Automatic Classification of Springer Nature Proceedings with Smart Topic MinerAutomatic Classification of Springer Nature Proceedings with Smart Topic Miner
Automatic Classification of Springer Nature Proceedings with Smart Topic Miner
 
A case study of LEGO Mindstorms suitability for artificial intelligence and...
A case study of LEGO Mindstorms   suitability for artificial intelligence and...A case study of LEGO Mindstorms   suitability for artificial intelligence and...
A case study of LEGO Mindstorms suitability for artificial intelligence and...
 
CIB W78 2005 - Development of computer assisted learning tool for earthquake ...
CIB W78 2005 - Development of computer assisted learning tool for earthquake ...CIB W78 2005 - Development of computer assisted learning tool for earthquake ...
CIB W78 2005 - Development of computer assisted learning tool for earthquake ...
 
2.Applications of ICT Commerce Department.docx
2.Applications of ICT Commerce Department.docx2.Applications of ICT Commerce Department.docx
2.Applications of ICT Commerce Department.docx
 
cv
cvcv
cv
 
CE-LEARNING-CTS2016_paper_5
CE-LEARNING-CTS2016_paper_5CE-LEARNING-CTS2016_paper_5
CE-LEARNING-CTS2016_paper_5
 
Computer Systems Lab Overview
Computer Systems Lab OverviewComputer Systems Lab Overview
Computer Systems Lab Overview
 
Fundamentals of data structures ellis horowitz & sartaj sahni
Fundamentals of data structures   ellis horowitz & sartaj sahniFundamentals of data structures   ellis horowitz & sartaj sahni
Fundamentals of data structures ellis horowitz & sartaj sahni
 
Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014Final teit syllabus_2012_course_04.06.2014
Final teit syllabus_2012_course_04.06.2014
 
Ade manual with co po-18scheme
Ade manual with co po-18schemeAde manual with co po-18scheme
Ade manual with co po-18scheme
 
Work in progress mechatronics1
Work in progress mechatronics1Work in progress mechatronics1
Work in progress mechatronics1
 
Aligning Nuclear Physics Computing Techniques with Non-Research Physics Careers
Aligning Nuclear Physics Computing Techniques with Non-Research Physics CareersAligning Nuclear Physics Computing Techniques with Non-Research Physics Careers
Aligning Nuclear Physics Computing Techniques with Non-Research Physics Careers
 

Último

Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentationtahreemzahra82
 
Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...navyadasi1992
 
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTXALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTXDole Philippines School
 
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxGENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxRitchAndruAgustin
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx023NiWayanAnggiSriWa
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxEran Akiva Sinbar
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxMurugaveni B
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...Universidade Federal de Sergipe - UFS
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024innovationoecd
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)riyaescorts54
 
Pests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdfPests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdfPirithiRaju
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...lizamodels9
 
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingNetHelix
 
Environmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial BiosensorEnvironmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial Biosensorsonawaneprad
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPirithiRaju
 
Servosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by PetrovicServosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by PetrovicAditi Jain
 
Observational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive starsObservational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive starsSérgio Sacani
 

Último (20)

Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentation
 
Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...Radiation physics in Dental Radiology...
Radiation physics in Dental Radiology...
 
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTXALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
 
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxGENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptx
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
 
Pests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdfPests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdf
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
 
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
 
Environmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial BiosensorEnvironmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial Biosensor
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
 
Servosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by PetrovicServosystem Theory / Cybernetic Theory by Petrovic
Servosystem Theory / Cybernetic Theory by Petrovic
 
Observational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive starsObservational constraints on mergers creating magnetism in massive stars
Observational constraints on mergers creating magnetism in massive stars
 

Teaching Computational Physics

  • 1. Tools for Teaching Undergraduate Computational Physics School on Hands-on Research in Complex Systems, 30 June - 11 July 2014, ICTP, Trieste, Italy Amde A, Dept. of Physics, University of Gondar, P.O. Box 196, Ethiopia, mdselassie@gmail.com Abstract In fact, the use of computation and simulation has now become an essential and integral part of contempo- rary basic and applied sciences, and computation has become as important as theory and experiment. In Ethiopia, the Undergraduate Computational Physics (UCP) course was first introduced in 2003 as an elective course in University of Gondar’s Applied Physics Curriculum. Starting from 2010 UCP is included as a com- pulsory course in the Harmonized Undergraduate Physics Curriculum at all Ethiopian Universities. Though computational physics is now becoming an integral part of undergraduate physics curriculum, there is no still standardization in the contents, programming language and methodology used to teach UCP. The decision of what language to use to teach UCP is not an easy one. Some prefer using a general purpose- programming language while others prefer using symbolic or numeric computing environment. A few even tried to implement unusual approach by using non-specific pseudocode. At University of Gondar we chose Java to teach UCP and have been using it since 2005. Currently, we are considering using Java with Python. In this poster we’ll discuss uses of computers in physics and significance of simulation in studying physics. We’ll also discuss why we preferred Java and specific contents for the course. Our experience using Java to teach UCP is demonstrated by installing and configuring JDK & OSP tools, and by compiling and running some codes. Computational Physics  A multidisciplinary subject that uses computing approach to gain understanding in complex systems, like QCD, electronic structure, molecular dynamics, nuclear fusion, climate dynamics, relativistic astrophysics.  Provides the capability to study and gain novel insights into physical systems, for those where no analytical solutions can be found or an experimental study is too complicated or expensive.  An essential and integral part of contemporary sciences, and has become as important as theory and experiment. Language and Content Selection Dilemma Content? (1) Linear Systems, (2) Non-linear, Chaotic & Multi-variable Systems, or (3) Both Language? (1) Pseudo-code, (2) General Purpose, or (2) Symbolic or Numeric Computing Environment  Objective of the Undergraduate Computational Physics Course and time allotted for it  Computing skills and experience of both Instructors and Students  Availability and cost of Computational Resources and Facilities  Numerical performance, ease of use, Web- and database driven applications, and good graphical inter- faces of Language/Computing Environment. Uses of Computers in Physics  Numerical analysis  Symbolic manipulation  Visualization  Simulation  Data acquisition & analysis (CADA)  Technology supported learning Why Java for Undergraduate Computational Physics?  Platform independent; (API, neutral byte code, JVM)  Flexible standard graphics libraries & good performance  Web-based & server-based applets  Free and relatively simple to learn  Supported by OSP (OpenSourcePhysics) extensive library of open-source Java routines for computational work (www.compadre.org/OSP/). Disadvantage: Despite the high level of abstraction and platform independence, the speed & performance of Java is not comparable with C++ or Fortran. It is not supported by numerical libraries. Numerical Analysis  Creates, analyzes, and implements algorithms for solving numerically the problems of continuous maths.  Used to compute multidimensional integral & differential equations, manipulate large matrices, or solve linear & nonlinear differential equations Visualization (The Eye plus Visual Processing Capacity of the Brain)  Patterns & trends that might not be evident from tables of data can be determined.  Changes with time can be observed, and can lead to insight into the important mechanisms underlying a system’s behavior Install JDK on PCs  Download the JDK Installer (from www.java.com or www.oracle.com/technetwork/java/javase/)  Run the JDK Installer & follow the instructions. (JDK should be installed in the directory C: )  Add the jdk/bin directory into the execution path Configure Project/Development Environment  Create a Project Directory (e.g. “C:cp_project”)  Download the Open Source Physics Eclipse Workspace (from www.compadre.org/OSP/) and unpack the source code for the OSP core library (src.zip) in to the Project Directory. C:cp_projectsrc  Create a directory named classes under the Project Directory. C:cp_projectclasses Why is Simulation becoming so Important in Physics? 1.Explore nonlinear phenomena - many natural phenomena are nonlinear & most are difficult to solve by analytical methods 2.Investigate systems with many variables or with many degrees of freedom 3.Investigate systems whose experimental studies are too complicated & expensive. Simulation frequently uses computational tools of numerical analysis & visualization. Edit: the source code can be ed- ited using Notepad(++) & saved as “FileName”.java under dir. C:cp_projectsrc”package” Compile:  Open Command Prompt (C:_)  Change Directory to Project Dir. C:cp_project javac –d classes/ -sourcepath src/ src/”package”/”FileName”.java Run: java –classpath classes/ “package name”/”FileName” Example:  java –classpath classes/ sip/ch16/ TDHalfStepApp Results: