c Program to calculate zonal and meridianal components of wind
integer ff,ddd
real u,v
print*,'Enter the wind speed:'
read*,ff
print*,'Enter the wind direction:'
read*,ddd
u=0.5148*(-1)*ff*sin(ddd*3.14/180)
v=0.5148*(-1)*ff*cos(ddd*3.14/180)
write(*,1)u
1 format('zonal velocity=',f10.4,' m/s' )
write(*,2)v
2 format('Meridianal velocity=',f10.4,' m/s' )
stop
end
Thursday, December 4, 2008
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(34)
-
▼
December
(9)
- Northeast Monsoon
- zonal and meridianal components of wind code in f...
- Stream function by Relaxation Tecnique in fortran
- Velocity potential by Relaxation Tecnique in fortran
- Relaxation Technique using fortran
- Lifting condensation level calculation using fortran
- vertical distribution of vorticity using fortran
- One diamensional lagrangian interpolation using fo...
- Vertical Velocity calculation using fortran
-
▼
December
(9)
No comments:
Post a Comment