home *** CD-ROM | disk | FTP | other *** search
/ ticalc.org / ticalc_org_rev_b.iso / archives / 80 / basic / math / 2order.80 next >
Encoding:
Text File  |  2001-07-01  |  812 b   |  25 lines

  1. Second order equation
  2. --------------------------------------------------------------------------
  3. Version: 2.0, 980202
  4. Creator: Daniel Bergman.
  5. Description: The program solves second order equations on the formula
  6.              ax2+px+q=0. If no sollution is possible, the program will stop.
  7. Comments: "->" is the same thing as the "STO>"-button, "\/" is "the root of".
  8.           "^2" is the "x2"-button above the "LOG"-button
  9. Known bugs: None.
  10. Size: 78 bytes.
  11.  
  12. For more games and programs, please visit http://ti80.burtrask.net.
  13.  
  14. PROGRAM:TWOORDER
  15. INPUT "AX^2?",A
  16. INPUT "PX?",P
  17. INPUT "Q?",Q
  18. P^2-4AQ->Q
  19. IF Q<0:STOP
  20. DISP (-P+\/Q)/2A
  21. (-P-\/Q)/2A
  22.  
  23. --------------------------------------------------------------------
  24. Copyright (C) 1998 by Daniel Bergman & Mattias MorΘn
  25. http://ti80.burtrask.net