File: animated_pendulum_plotball.f

package info (click to toggle)
ftnchek 3.3.1-4
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 8,488 kB
  • ctags: 5,960
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 895; lisp: 322; f90: 118; perl: 76
file content (10 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10

      SubRoutine PlotBall (Theta)
c       Clear the screen and draw/redraw the ball circle.
      Double Precision Theta
      Integer Row,Col
        Row=Int(300.0*DSIN(Theta))
        Col=Int(300.0*DCOS(Theta))
        Write(*,*)'S(E)P[Col,Row]C[+20]'
        Return
      End