SOLVE, SOLVEI ============= Version 1.20 (C) 1991 by Rüdiger Dreier Solve is FREEWARE. 0. About ======== This program is FREEWARE, you may copy and spread it, as you want, but you MUST NOT earn money with it. If you give this program to someone else, you have to copy the whole drawer, that means, it must consist of: - the source - this document - a working copy of CFormat THE AUTHOR UNDERTAKES NO LIABILITY FOR ANY DAMAGE CAUSED BY THE APPROPRIATE OR NOT APPROPRIATE USE OF THIS PROGRAM ! THE AUTHOR UNDERTAKES NO LIABILITY FOR THE FAULTLESSNESS OF THIS PROGRAM ! USE IT AT YOUR OWN RISK ! If you have hints, bug-reports, criticism, money or PD-soft for me, write to Rüdiger Dreier Gustav-Winkler Str. 40 W-4800 Bielefeld 18 Germany If you want an answer, please add postage ! Until end of Oct 92, you can reach me as: upyha600@unibi.hrz.uni-bielefeld.de 1. Hardware =========== Solve runs under Kickstart 1.2 and 1.3 (2.0 ?). It needs 512kB, the stack should be about 20000 bytes. In LIBS: must be: - mathieeedoubbas.library - mathieeedoubtrans.library - tool.library 2. Introduction =============== Solve is a program to solve equations of fourth degree. Solve can only be used from CLI, SolveI is a version with intuitioninterface, you can use it from Workbench, too. 3. Working with SolveI ====================== Start it with a double click. A Screen with 5 little gadgets appears. Here you can enter you coefficients. The big, emtpy part of the screen is used to show the solutions. All solutions are displayed in real and imaginary part and a difference to zero. (That is the value computed with the solution. It should be zero). 4. An example ============= You want to solve the equation 4x^4+2x^2+3=0. So enter 4 RETURN RETURN 2 RETURN RETURN 3 RETURN. Four solutions should appear. If the coefficients are very big (eg. x^4+1250x^3+x^2+2x+3=0), the solutions seem to be not correct. Try the example. The last solution will be -1249.9992013 with a difference to zero of 5*10-8. Use only x=-1249.999201 and calculate x^4+1250x^3+x^2+2x+3. You will get something like -547..... and it should be zero. Not very good. If you use x=-1249.999202, you get 1409. If your pocket calculator even works with the last digit, try x=-1249.9992013 and you will get 41. So the printed solutions is correct. For the calculation of the difference, the whole solution (with all digits) is used, but only 6 digit after the point are displayed. 5. The menus ============ - About Displays a window with some information about the program etc. Click in the window to close it. - Clear After a request to the user, the gadgets are cleared, the curor is in the first gadget. - Quit After a request, the program ends. 6. Use Solve from CLI ===================== Solve has no intuition interface, so it asks all values from the user. 7. Compilation ============== A MAKEFILE is in this drawer. Use LMK Solve to get the CLI-version, LMK SolveI to get the intuition version. Komplex.lib and tool.h are needed. That's it. Have fun !