Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
NEWTON SECOND LAW
!TOPIC: APPLICATION OF NEWTON SECOND LAW IN FORTRAN PROGRAMMING !AIM: TO CALCULATE THE TIME AND DISPLACEMENT OF AN OBJECT WHEN IT IS UNDER THE INFLUENCE OF GRAVITATIONAL FORCE "G". program gravitationalDisp !this program calculates vertical motion under gravity implicit none !gravitational acceleration real, parameter :: g = 9.81 !variable declaration real :: s! displacement real :: t! time real :: u!initial speed !assigning values t = 5.0 u = 79 !displacement s = u*t-g*(t**2)/2 !output print*, 'Displacement = ', s end program gravitationalDisp
run
|
edit
|
history
|
help
0
Blasius Euler Code
8
Test
A_02 JACOBI METHOD
exercise
A_01 NEWTON_RM(B(III))
EXERCISE
A1_Q1_Harsh
Sudoku
Practice 4 I