# Changes between Version 12 and Version 13 of fortran

Ignore:
Timestamp:
Oct 18, 2016, 7:12:17 PM (4 years ago)
Comment:

--

Unmodified
Added
Removed
Modified
• ## fortran

 v12 == 4. Calculation dependence between integral function and coordinates == The introduction is the same like in program 3. But here the resultant of integration is compare with program 2. {{{ #!fortran !The introduction is the same like in program 3. But here the resultant of integration is !compare with program 2. real x,dx, a, b open(1,file='y2.dat', status='unknown')!the document y2 is in the project folder == 5. Simpson formula for Simpson method of integration == To understand the algorithm of how is working Simpson method, in this program is obtain how with Simpson formula and using the functions f1, f2 and f3 can be integrated a definite integral {{{ #!fortran !To understand the algorithm of how is working Simpson method, in this program is obtain !how with Simpson formula and using the functions f1, f2 and f3 can be integrated a definite !integral. program Simpson }}} == 6. Characteristics of the electron motion, which is located between charged coaxial rings == To main characteristics if the electron motion are the coordinate and the velocity. This program it is a solution of a task which is written below. All units for the inputvalues are in CGS system. Between two coaxial rings, charged with q1=q2=1nC and their radius are equal to r1=1cm and r2=2cm, are located at distance 5 cm between each other. At halfway between the rings is located electron with initial energy equal to 0. Find the dependencies between the velocity(energy)and the time,and electron coordinate with time. Also plot the phase trajectory V(x). And explain the resultants. {{{ #!fortran !To main characteristics if the electron motion are the coordinate and the velocity. !This program it is a solution of a task which is written below. All units for the input !values are in CGS system. !Between two coaxial rings, charged with q1=q2=1nC and their radius are equal to r1=1cm !and r2=2cm, are located at distance 5 cm between each other. At halfway between the rings is !located electron with initial energy equal to 0. Find the dependencies between the !velocity(energy)and the time,and electron coordinate with time. Also plot the phase !trajectory V(x). And explain the resultants. program rings