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
A_002 GUASSIAN ELIMINATION METHOD
finitos
SUM OF ODD NUMBERS
Backward
DO WHILE DO
Bissection Method
my_first_code
Y
Matrix 3×3
রাবেয়া সরকার রিমা 💙💚💛