Changes between Version 12 and Version 13 of fortran


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

--

Legend:

Unmodified
Added
Removed
Modified
  • fortran

    v12 v13  
    9393
    9494== 4. Calculation dependence between integral function and coordinates ==
     95The introduction is the same like in program 3. But here the resultant of integration is compare with program 2.
    9596{{{
    9697#!fortran
    97 !The introduction is the same like in program 3. But here the resultant of integration is
    98 !compare with program 2.
    99 
    10098real x,dx, a, b
    10199open(1,file='y2.dat', status='unknown')!the document y2 is in the project folder
     
    111109
    112110== 5. Simpson formula for Simpson method of integration ==
     111To 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
    113112{{{
    114113#!fortran
    115 !To understand the algorithm of how is working Simpson method, in this program is obtain
    116 !how with Simpson formula and using the functions f1, f2 and f3 can be integrated a definite
    117 !integral.
    118114program Simpson
    119115
     
    151147}}}
    152148== 6. Characteristics of the electron motion, which is located between charged coaxial rings ==
     149To 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
     150velocity(energy)and the time,and electron coordinate with time. Also plot the phase trajectory V(x). And explain the resultants.
    153151{{{
    154152#!fortran
    155 !To main characteristics if the electron motion are the coordinate and the velocity.
    156 !This program it is a solution of a task which is written below. All units for the input
    157 !values are in CGS system.
    158 !Between two coaxial rings, charged with q1=q2=1nC and their radius are equal to r1=1cm
    159 !and r2=2cm, are located at distance 5 cm between each other. At halfway between the rings is
    160 !located electron with initial energy equal to 0. Find the dependencies between the
    161 !velocity(energy)and the time,and electron coordinate with time. Also plot the phase
    162 !trajectory V(x). And explain the resultants.   
    163153
    164154program rings