- SCIENCE FACTOR PACKAGE ONE - INCLUDING Science Factor (tm) Ver 3.0C Chempal (tm) Ver 3.3 Rotate (tm) Ver 2.0 ALL programs written by Bruce Norman Baker RELEASE DATE:3/12/91 BETA VERSION --------------------------------------------------------------------- Copyright (c) by Bruce N. Baker 1988-91 All rights reserved. ---------------------------------------------------------------------- TABLE OF CONTENTS ================= I Registration Information. II What do I get if I register ? III SCIENCE FACTOR - General Program information. IV SCIENCE FACTOR - NEW STUFF V SCIENCE FACTOR - Summary of Menus. VI SCIENCE FACTOR - Data Registers VII ROTATE - General Program Information. VIII ROTATE - QUICK HELP (real time commands). IX ROTATE - Supplemental information about matrices. IX CHEMPAL - Information ------------------------------------------------------------------------ (I) REGISTRATION INFORMATION ----------------------------------------------------------------------- Much work has gone into the development of Science Factor Package. I only ask that if enjoy it, I hope you'll support my efforts in bringing it to you. This will help me enhance it and make improvements to the programs. ....THANKS.... To register SCIENCE FACTOR PACKAGE send a $15 check or money order to : Bruce N. Baker Factorsoft 16240 NE 14th #C-2 Bellevue, Wa. 98008 Phone (206) 562-7011 DATA (206) 562-7083 (Science Factor BBS) Sysop :Bruce N. Baker Aux number (206) 455-3636 ext 310 Registration only Applies to a SINGLE user copy. SITE LICENSES can be requested by calling 562-7011 or mailing a request to the above address or by sending $100 for up to a 20 station network use. ------------------------------------------------------------------------ (II) What do *I* get if I register ? ----------------------------------------------------------------------- 1) One years worth of registered user access level 47 at Science Factor BBS (206) 562-7083 (*Free access level after 1 year*) 2) Online support and newest upgrade access at Science Factor BBS (206) 562-7083. (SOFTREG conference) 3) Free upgrades to SCIFPAK2.ZIP when available for downloading at SF BBS. 4) Access to a large educational file base at SF BBS. 5) Excellent Karma :<) ------------------------------------------------------------------------ (III) SCIENCE FACTOR - GENERAL PROGRAM INFORMATION ------------------------------------------------------------------------ 1) GETTING AROUND THE MENU SYSTEM (first time users). The basic idea is to use the arrow keys on your cursor pad to move from one menu entry to another. The menu is set up in a hierarchy type structure so either press "esc" to exit a menu selection or move to the exit menu choice and press "Enter". Some functions allow you to press the F1 key to get more information about that particular function. Also there are registers which can be used to transfer values from one function to another. 2) MATH ENTRY : Floating real numbers can be entered using engineering notation. The capital "E" or lower case "e" may be used to raise a number to a power of 10. ie: 2.99E8 would be the approximate speed of light. 9.11e-31 would be the approximate rest mass of an electron. 3) UNITS :Most functions want information in SI units (ie: meters,kg,sec...) a math conversion routine is supplied to help with conversions. Usually the fundamental unit is used so the entry is easiest using engineering notation instead of say .00000000343 (best written as 3.43e0-9). 4) INTEGERS : No E or decimal place will be accepted where an integer number is expected. The field will restrict you to the size of the integer that is maximum for that function so you don't have to worry about entering an integer that is too big or too small. 5) ESCAPE KEY : Can be used to exit from any menu or directly from the most entry prompts. 6) PRINTER : This program is configured for EPSON compatibles. 7) BNBPRO.CFG contains the color and monitor setup parameters. The parameters are originally set to default and the current monitor you are using. To change monitors simply delete the bnbpro.cfg file and a new one will be created upon program initialization. 8) SOLVING FOR A SPECIFIC VARIABLE: Some functions give you a menu of possible variables you can solve for. Note, that you can only solve for one variable at a time. 9) CHANGING MONITORS : Just delete the "BNBPRO.CFG" file and run Scifact.exe again. It auto detects the monitor present and rewrites "BNB.CFG". 10) SYSTEM REQUIREMENTS: Dos 3.0 or above. 320K of memory. Epson (or compatible) printer. Your monitor should be able to support extended character set. 11) EGA GRAPHICS: Scilab supports EGA graphics only and will not display the JFET graphic function on a CGA or Monochrome Monitor. I will be modifying this in the future. 12) INFO-SCREENS: Pop up screen that explain certain functions. Press the F1 key. This is only available to functions with the "*" sign. 13) REGISTERS: By pressing a when prompted for a number you will get a prompt that asks you what register you want to retrieve. These are also explained more below. 14) PROBLEMS: If you don't have enough memory to run Rotate.exe or chempal.exe from Science Factor, run them directly from dos. ----------------------------------------------------------------------- (IV) SCIENCE FACTOR - NEW STUFF ------------------------------------------------------------------------ SCIENCE FACTOR 3.0 3/12/91 MODIFICATIONS OVERVIEW - Added INFO screens. - Upgrade to REGI-CALC. - Upgrade to Conversion Utility. - REMOVED dependence upon ansi.sys - Shell to Dos added. - Execute Chempal & Rotate. - Much debugging & General system cleaning. - Quadratic Solver Cleaned up. - Real time clock added. - New functions. ----------------------------------------------------------------------- (V) SCIENCE FACTOR - SUMMARY OF MAIN MENU OPTIONS ------------------------------------------------------------------------ MAIN MENU : Chemistry Menu - Formulas dealing with chemistry. Relativity Physics Menu - Formulas for velocities approaching the speed of light. Electrostatics/Dynamics Menu - Formulas involving electricity. Electronics Technology - Formula's dealing with electronic circuits. Optics Menu - Formulas dealing with the study of light. Math Menu - Vector math, matrix and quadratic calculations. Physics Level 1 - Basic equations for physics. Physics Level 2 - The next "level" of physics equations. Conversion Utility - Converts between units. Display Formulas/Constants - Display equations and formulas on crt. Utility Menu - Change the programs colors, save, print and get registers. REGI-CALC - A built in arithmetic register manipulator. JFET Transconductance curve - Graphs the transconductance curve on a EGA monitor. CHEMPAL - Runs the chemistry program CHPAL.EXE. ROTATE - Runs the EGA matrix rotation program. ------------------------------------------------------------------------ (VI) SCIENCE FACTOR - DATA REGISTERS ------------------------------------------------------------------------ DESCRIPTION - There are nine registers in Science Factor. They are used to store numbers while in the middle of certain calculations. Or just to save a number for future references. All submenus display registers but not all the functions access them. Registers can be saved to disk for future reference. They are save to a file called "Scifact.reg" and ALWAYS overwrite the previous saved registers. You can INPUT a register value in a formula by pressing "Enter" when prompted for a numeric value. The number of the register that you type will then be placed as input for the variable of the current function. These registers can be manipulated in both REGI-CALC and the conversion utility. ------------------------------------------------------------------------ (VII) ROTATE - GENERAL PROGRAM INFORMATION ------------------------------------------------------------------------ - Information: Welcome to Rotational Effects. This program is designed to help students to check and see results of matrix translations in a 3D environment using computer assistance for visual and computational information. This version allows only two built in objects to be rotated, A square and a polyhedron, or a user defined object. The polyhedron corresponds to an object in the ANTON text of Linear Applications. - Standard Features * Enter your own object. * Rotatation of Rectange or Polyheron around X,Y or Z axis. * Dual Matrix Multiplications. * You can change the rotation increment size. * Real time modification of rotation. * You can single step through the rotations. * Scaling of object. * You can see the numeric values of the new points - vs - old points. * Axis display can toggle off or on. * EGA ONLY (VGA in EGA res) ------------------------------------------------------------------------ (VII) ROTATE - QUICK HELP ------------------------------------------------------------------------ Rotational Effects QUICK HELP Assistance for commands. Real time commands - (Free spin mode only). Key Result ESC Quit the rotation and returns to main menu. X Set the 1st matrix multiplication to rotate around X axis. Y Set the 1st matrix multiplication to rotate around Y axis. Z Set the 1st matrix multiplication to rotate around Z axis. Alt-X Set the 2nd matrix multiplication to rotate around X axis. Alt-Y Set the 2nd matrix multiplication to rotate around Y axis. Alt-Z Set the 2nd matrix multiplication to rotate around Z axis. M Toggles between single and two matrix rotation. D Toggles division marks off and on. Up Up arrow makes rotation angle 1 larger. Down Down arrow make rotation angle 1 smaller. Left Makes rotation angle 2 larger. Right Makes rotation angle 2 smaller. + Speeds it up (if possible). - Slows it down. A Toggles Axis display off and on. H Toggles real-time help screen (This slows down the rotation). Show POINTS This mode is selected from the main menu and is perfect for going through the matrix translation one step at a time. Both old and new points are displayed. This is a great way to check your calculations of where the matrix should move to given your specified angle of rotation. ------------------------------------------------------------------------ (VII) ROTATE - SUPPLEMENTAL MATRIX INFORMATION ------------------------------------------------------------------------ => SUPPLEMENTARY INFORMATION ON ROTATION EFFECTS <= Introduction Objects that are displayed on a video monitor can be stored for convenience in a matrix form. The matrix containing all the coordinates in an M3xn matrix where n is the number of points and the 3 refers to the x,y and z axis respectively. In order to graph these correctly the EDGES must also be stored in a matrix or simple array. When all of the points have been plotted (x & y, the z are ignored but included for continuity of information) the edges are then drawn. The edges simply tell which point is connected to which point. SCALING This is the first type of transformation in which an object is made larger or smaller on any axis. This can be used to make an object appear like it's moving toward or away from you. All three axis can be operated on at the same time. These "scaling factors" are represented by a 3x3 matrix which multiplies the original M matrix. The basic form to perform scaling of .5 on the x, 1.2 on the y and 3 on the z would look like the following. +-- --+ | .5 0 0 | T = | 0 1.2 0 | T M = M' | 0 0 3 | +-- --+ TRANSLATION This is a method of moving an object to a different part of the screen (or graph area). This can be achieved by matrix addition or multiplication of a 3xn and 4x4 matrix, respectively where n is the number of points. The addition method is achieved by adding the translation vector to the original matrix in the following manner T + M = M'. If we want to translate the matrix 2.1 in the x direction, .5 in the y direction and 1.6 in the z direction the 3x1 matrix would look like this : +-- -+ +- --+ | 2.1 | Which is expanded | 2.1 2.1 .... 2.1 | | .5 | | .5 .5 .... .5 | | 1.6 | T = | 1.6 1.6 .... 1.6 | +-- -+ +- --+ This is added by the equation : T + M = M' To give the new coordinates of the object. The multiplication matrix to perform this same operation would look like the following : +-- --+ | 1 0 0 2.1 | | 0 1 0 .5 | | 0 0 1 1.6 | | 0 0 0 1 | +-- --+ << ROTATION >> This is a more complex transformation where we can take a matrix and use matrix multiplication to make the "graphic" image and rotate it around the x, y or z axis. We can combine these moves by multiplying the transformation matrices together but the order in which they are multiplied is critical. The three rotation translation matrices are : Rotate around X Rotate around Y Rotate around Z +-- --+ +-- --+ +-- --+ | 1 0 0 | | cos 0 -sin | | cos -sin 0 | | 0 cos -sin | | 0 1 0 | | sin cos 0 | | 0 sin cos | | sin 0 cos | | 0 0 1 | +-- --+ +-- --+ +-- --+ A simple matrix multiplication is done if we wanted to rotate the x, y and then z axis. Tz * Ty * Tx * M = M' Note the order of the multiplications. This multiplication although simple can get very time consuming if done on paper and the object to be rotated has a lot of points. Obviously, this is a prime case for the use of a computer. Sometimes it is faster to break down the multiplications, when using a computer, to just the components that will change the original matrix thus saving calculation time to speed rotations. With the newer machines out, unless your performing fast graphics (ie: flight simulator) this isn't quite as important as it used to be. ----------------------------------------------------------------------- (IX) CHEMPAL INFORMATION. ------------------------------------------------------------------------ - Purpose CHEMPAL was designed to help students learn and memorize the periodic table. This version allows going between number,name & appreviations plus sound and a lookup table for the element. This program also supports some very basic mouse movements. - Basic Info This program is very much self intuitive but I will comment that it is not case sensitive when entering element names or abreviations. - Levels. These simply start at the lowest elements and spread to the higher elements at the higher user level. - Points. More are scored at higher levels then lower levels. ^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF SCIFPAK.DOC ^^^^^^^^^^^^^^^^^^^^^^^^^^ Enjoy ! If you have comments or question regarding the program please contact: Bruce N. Baker 16240 NE 8th #C-2 Bellevue, Wa. 98008 (206) 562-7083 (data) (206) 466-3636 ext 310 (voice) Please send ANY BUG REPORTS to the above address, THANKS !!! (use bugform) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Disclaimer: I shall not assume any liability for use or misuse of this product and I shall not be liable for any damages, whether direct, indirect, special or consequential arising from a failure of this program to operate in a manner desired by the user. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>