Changes between Version 8 and Version 9 of fortran
- Timestamp:
- Oct 18, 2016, 4:42:24 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
fortran
v8 v9 7 7 !There are three methods which are using for calculation definite integrals in Fortran. 8 8 !First is rectangle method, where the function is integrated using segment integration 9 !and like a resultant we obtain rectangle formula. Second is trapeze method and the same like !in the first method after integration we obtain the trapeze formula. And the third method is !Simpson method where the function which is integrated, is parabolic and after integration 9 !and like a resultant we obtain rectangle formula. Second is trapeze method and the same like 10 !in the first method after integration we obtain the trapeze formula. And the third method is 11 !Simpson method where the function which is integrated, is parabolic and after integration 10 12 !we obtain Simpson's formula. In all methods are used segment integration, which means that ! interval of integration a and b is divided into N segments. The splitting points xn are 11 13 !called nodes.