Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
trapezna for
!gfortran, gcc version 5.4.0 20160609 program trapez h=0.1 !korak z=0.0 !integral funkcije suma=0.0 a=1.0 !prva tocka intervala b=1.8 !krajnja tocka intervala x=a n=((0.8)/h)-1 !broj Ĩvorova !trapezna forumla z=h/2((f(a)+2*suma f(cvorovi izmedu)+f(b)) do i=1,n !prvo sumu x=x+h !iduca tocka intervala suma=suma+cosh(x) end do z=(h/2.0)*(cosh(a)+2*suma+cosh(b)) print *, z end program trapez
run
|
edit
|
history
|
help
0
GPA GRADING
Gauss forward elimination
fortran-genetic-algo
euler-cromer
Rand
euler-cromer
spl
A_002 THE GUASS SEIDEL
9
A_01 FALSE_POSITION_METHOD