home *** CD-ROM | disk | FTP | other *** search
- Lens
- -------------------------------------------------
- Version: 1.0, 971223
- Creator: Daniel Bergman.
- Description: The program calculates the focal distance for lenses.
- A is the distance object-lens, B is the distance
- lens-image and F is the focal distance for the lens.
- Input 0 for the value you want to know.
- Comments: None.
- Known bugs: None.
- Size: 85 bytes.
-
- For more games and programs, please visit http://ti80.burtrask.net.
-
- PROGRAM:LENS
- INPUT "A?",A
- INPUT "B?",B
- INPUT "F?",F
- IF F=0
- DISP 1/(1/A+1/B
- IF A=0
- DISP 1/(1/F-1/B
- IF B=0
- DISP 1/(1/F-1/A
-
- --------------------------------------------------------------------
- Copyright (C) 1998 by Daniel Bergman & Mattias MorΘn
- http://ti80.burtrask.net