Graph Function.c 597 B

1234567891011121314151617181920212223
  1. // Graph a given function using the current graph settings
  2. #define USE_TI89 // Compile for TI-89
  3. #define USE_TI92PLUS // Compile for TI-92 Plus
  4. #define USE_V200 // Compile for V200
  5. #define MIN_AMS 101 // Compile for AMS 1.01 or higher
  6. #define SAVE_SCREEN // Save/Restore LCD Contents
  7. #include <tigcclib.h> // Include All Header Files
  8. // Main Function
  9. void _main(void)
  10. {
  11. TRY
  12. push_quantum (VAR_T_TAG);
  13. push_parse_text ("sin(t)+sin(2t)");
  14. cmd_graph (top_estack);
  15. ngetchx ();
  16. cmd_disphome ();
  17. ONERR
  18. ENDTRY
  19. }