Short: Workbench realtime 3D/2D graphing calc for OS 2.04 881/882/040 Type: misc/math Architecture: m68k-amigaos Recent: PowerCalc 1.51 is the latest release NOTE: PowerCalc requires functions in computer Science, C Language, type form, not mathematics format. Consequently to graph y equals x times 3 minus four you must enter: y = x*3-4, the parser will interpret y=3x-4 as y=3 and discard what it considers extra chars on the right hand side, basically use the keypad to see what syntax on different functions to use, x to the second power would be x^2, etc etc. Changes from 1.50 to 1.51: Sped up text/gfx rendering somewhat. Changes from 1.49 to 1.50: Changed the way sqrt and exponentiation worked for ranges with undefined (real) solutions. Slight 3D display speedups. Changes from 1.47 to 1.50: Added ZCompression factor gadget in 3D effects window. Note that adjusting the Zoomfactor, Zoffset and Zcompressions in such a manner as to put the origin near the edge of the displayable view, will result in the origin (x=y=z=0) being improperly clipped by the 3D gfx routines, so the X,Y,Z axis will get misaligned. Rather than limit the values for these factors, I am giving users enough to adjust axes as they like, but you are given more than enough rope to hang yourselves so to speak, and do not complain when the XYZ origin looks misaligned because of your choice in Zoom/ZCompression/Zoffset values changes from 1.46 to 1.47: Multiple menu selections via menu click mechanism now supported changes from 1.44 to 1.46: Menus are now handled by GadTools calls, resulting in automatic sizing, and your font choice appearing in the menus. So now even with large fonts, menus should look reasonable. Also speed and accuracy improvements to some transcendental functions. Also fixed a slight problem with derivatives of some trig fns. changes from 1.27 to 1.44: Added support for Realtime 3D with effects, (zoom,tilt, zoffset etc) You enter 3d equations from the CLI, WB or in 3d mode at the equation keypad using the form z=f(x,y,n) To spin the 3D graph on its Z axis, hold the left mouse button down in the main window. Bug fixes and speed enhancements as well. Changes from 1.26 to 1.27: Parser changes disabled the dy/dx function, it is now recognized again. Also added an option to disable the hand ptr, NOHANDPTR=1, from CLI or TOOLTYPE. 2.04/2.1 hacks that intercept then improperly handle SetPointer calls, like NickPrefs were forcing BUSY ptrs instead of the hand ptr that works perfectly when NickPrefs is disabled. Changes from 1.20 to 1.26: You can now save the window location/size to envarc: by starting with the SAVEPREFS=1 tooltype or CLI arg. Window size/location is always saved to env: Scrolling now gives user better control. Redraws the short vertical lines after N value anims. 1.20 Parser failed to recognize the ln function (nat log). Changes from 1.12 to 1.20: Added animation of graphs through a 2nd variable (optional). You can now enter equations in the form y = f(x,n) and you can control n via a slider gadget. The graph will be animated in realtime, calculating the new function as you slide on the scrollbar! Try it out. Also some speedups to some to some of the math routines, and a better choice of starting limits and functions to Bring back up the N slider window, just go back into the Keypad window, then exit, if the equation has an occurance of n in it, then the N window will be opened Changes from 1.05 to 1.12: Recoded so that it can run under OS 2.04 and later. Added intrinsic support for unsupported calls. Note NickPrefs and MagicMenu may or may not conflict with this pgm, if you have them and experience problems try running without them. New startup options (CLI or WB): FORCEWBDEPTH to force the pgm to use the same # of bitplanes for its scrolling bitmap as you have set for your Workbench. Use this option if you are running OS 3.x and using a 3rd party graphics board that does not support layers as well as the C= chipsets do under 3.0 (if you have problems, basically) V37 to force the pgm to use the OS 2.04 methods of doing things. Slows things down for OS 3.0 users. Changes from 1.01 to 1.05: *Added a dy/dx function, to graph the 1st derivative of your function. Syntax is of form y = d(f(x)), for example to graph the 1st derivative of sin(x)+exp(-(x-2)^2) you would type: y = d(sin(x)+exp(-(x-2)^2)) *Fixed a aspect display problem which prevented the axis from being centered at 0,0 to have the axis centered at 0,0 make sure that you have the ymin = -ymax and xmin = -xmax *Scrolling speedups. ============================basic docs===================== This is a workbench 2D graphing calculator optimized for 68040 systems. It requires about 400k of free CHIP RAM, OS 2.04 or above,and a 68020 or better processor, with a 68881 or equivalent math coprocessor. It basically graphs functions of the form y=f(x). The program features grab and drag type realtime scrolling, just click with the left mousebutton on the graph paper and drag the page around to view different areas of the graph. Use the show keypad function in the main menu to edit the current function. You can edit the equation using the mouse and function keypad in the program, or type them in using the keyboard when the equation keypad is present. You can zoom in and out on the function by setting the x and y ranges larger ranges zoom out smaller ranges zoom in. You can also evaluate the function at any point using the Eval F(point) menu item. You can calculate the integral for this function over its range using the Integrate menu option. This program works best in on workbench screens at least 400 lines tall, it is not recommended for 200/256 line workbench use. The Axis are drawn in the middle of the XY range, and DO NOT represent 0,0 as a rule. Note the approx values of the x/y on the axis themselves. Any questions can be directed to me, Roger Uzun at uzun@crash.cts.com or on bix as: ruzun