12.07.2015 Views

cg Version

cg Version

cg Version

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 Answer for exercisesIt is recommended to save egs5job.out which is the result of ucnai<strong>cg</strong>v.f for 10,000 historieswith a dierent le name like nai.out for comparisons with the results of following problems.6.1 Problem 11. 137 Cs source cp ucnai<strong>cg</strong>v.f ucnai<strong>cg</strong>v1.fYou must use copy ucnai<strong>cg</strong>v.f ucnai<strong>cg</strong>v1.f or copy function of Windows in thecase of DOS. cp ucnai<strong>cg</strong>v.data ucnai<strong>cg</strong>v1.data cp ucnai<strong>cg</strong>v.inp ucnai<strong>cg</strong>v1.inp Modify ucnai<strong>cg</strong>v1.f as follows:{ Modify source photon energy.Changetoekein=1.253ekein=0.662 Run ucnai<strong>cg</strong>v1.f by egs5run.! Incident particle kinetic energy! Incident particle kinetic energy{ In the case of Linux or CygwinEnter ucnai<strong>cg</strong>v1 as the user code.Simply enter "return" as the le name for unit 4 and 25.Enter 1 for "Does this user code read from the terminal?".{ In the case of DOSegs5run ucnai<strong>cg</strong>v1 Compare the calculated results with nai.out. Peak eciency and total eciencyrepresent the results. These values are shown in the table below.2. 60 Co sourceEciencies before and after the modicationPeak eciency (P e ) Total eciency (T e )ucnai<strong>cg</strong>vucnai<strong>cg</strong>v137.6 0.5 %60.3 0.5 %76.2 0.4 %87.5 0.3 %Here user should be careful on the point that eciency value can have uctuation onthe order of statistical error depending on computer and compiler. cp ucnai<strong>cg</strong>v.f ucnai<strong>cg</strong>v2.f cp ucnai<strong>cg</strong>v.data ucnai<strong>cg</strong>v2.data cp ucnai<strong>cg</strong>v.inp ucnai<strong>cg</strong>v2.inp Modify ucnai<strong>cg</strong>v2.f as follows:{ Modify the maximum electron kinetic energy used.Changetoekein=1.253ekein=1.333! Incident particle kinetic energy! Incident particle kinetic energy41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!