운동시뮬레이션
운동시뮬레이션 제제11주주 실습실습
A First Numerical Problem
Eclipse
Eclipse를를 이용한이용한 프로그램프로그램 개발개발
Eclipse 설치
Eclipse를 이용한 프로그램 개발
eclipse eclipse
Download & Installation Process
◦ Install latest JRE – Java Runtime Environment
◦ Install eclipse SE/EE/RCP
eclipse eclipse
Download & Installation Latest JRE (http://java.sun.com)
◦ JRE – Java Runtime Environment
eclipse eclipse
Download & Installation Latest JRE (http://java.sun.com)
◦ You may need to register your e-mail
eclipse eclipse
Download & Installation Latest JRE (http://java.sun.com)
◦ Install downloaded JRE
eclipse eclipse
Download & Installation
(http://www.eclipse.org)
eclipse eclipse
Download & Installation
(http://www.eclipse.org)
eclipse eclipse
Download & Installation (http://www.eclipse.org)
◦ Download and save to directory
eclipse eclipse
Download & Installation (http://www.eclipse.org)
◦ Unzip downloaded file
◦ Copy eclipse directory to Program Files
◦ Copy eclipse directory to Program Files or Program Files (x86)
◦ Currently eclipse support only 32bit JRE
eclipse overview eclipse overview
eclipse made of one or more plug-
ins
Eclipse
Eclipse를를 이용한이용한 프로그램프로그램 개발개발
eclipse 의 기동
Eclipse
Eclipse 개념개념
Workbench ~ Workspace
Eclipse
Eclipse 개념개념
Project
◦ 작업의 기본 단위
◦ 응용프로그램단위로 프로젝트 생성
Package
Package
◦ 연관된 클래스들의 모임
Class
◦ 프로그램의 기본 단위
Eclipse
Eclipse실행실행
Radioactive Decay Radioactive Decay
Algorithm Algorithm
Initialize Variables
For t is less than final time do
◦ Calculate new value
◦ Update current time
◦ Update current time
◦ Print current value
Project y2011 Project y2011
Function Explains Function Explains
main
◦ Start program
◦ Create class
◦ Invoke calculation
◦ Invoke calculation
calculate
◦ Input variables
◦ Loop for time evolution
inputVariables
◦ Input necessary variables
Function Explains Function Explains
evolve
◦ Calculate next step value
exact
◦ Calculate exact value
◦ Calculate exact value
Function List Function List