Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A program to calculate potential energy.
! A program to calculate potential energy of any body falling under the influence of gravity. ! Variable declaration. Integer :: m ! mass of the body in kg Integer :: h ! height (m) of the body above the ground Real :: PE ! Potential energy Real :: g ! Acceleration due to gravity in m/s ! assigning values to variable m = 50 h= 20 g= 9.8 PE= m*h*g ! Result Write (*,*) " The potential energy is = ", PE End program ! This program was writing by Mystery Alajayibo, a student of Delta state university of science and technology ozoro.
run
|
edit
|
history
|
help
0
G b
Question1(b)
A_02 THE GUASS SEIDEL METHOD
fortran-genetic-algo
Gauss forward elimination
A_02 JACOBI METHOD
Shooting method
A_04 SIMPSON'S RULE (3(II))
Taylors method of three order
divisibility rule