Third order equations --------------------------------------------------------------- Version: 1.0, 980205 Creator: Daniel Bergman. Description: The program solves the equation x^3+ax+b=0. Comments: "3\/" is the third order root, "\/" is the square root. Known bugs: The program can't solve equations with more than one root. If such an equation is being inputed, the program terminates. Size: 86 bytes. For more games and programs, please visit http://ti80.burtrask.net. PROGRAM:THREORDR DISP "X^3+AX+B=0" INPUT "A?",A INPUT "B?",B (B/2)2+(A/3)3->A IF A<0:STOP \/A->A DISP 3\/(-B/2+A)-3\/(B/2+A -------------------------------------------------------------------- Copyright (C) 1998 by Daniel Bergman & Mattias Morén http://ti80.burtrask.net