FOREWORD Thank you for your purchase of the CASIO f-4000P. This unit is an advanced hand held programmable computer capable of alphabetic display. Besides a programming function which is useful for performing repeat or complex computations, 83 scientific functions are also provided, Manual computations can be easily performed following written formulas (true algebraic logic). A replay function is provided that allows confirmation or correction when key operation errors occur.
CONTENTS FOREWORD onscreen e resentment HANDLING PRECAUTIONS 1. CONFIGURATION AND OPERATION 1-1 NOMENCLATURE AND FUNCTIONS . Display window . ..boonies Power switch Special aeration Keys Decimalization point keys . Computation keys . . Function keys Contrast adjustment dial . 2 1-2 POWER AND BATTERY REPLACEMENT .. 112 Procaine . «cocrnveonmaneenrsosemes i 1-3 BEFORE BEGINNING COMPUTATIONS Computation priority sequence .. . Number of stacks Computation modes . .
3-2 PROGRAM CHECKING AND EDITING {CORRECTION, ADDITION, DELETION} Formulas e Programming . Program editing 58 Program execution .. 60 SUMMITRY o vevrenerrrorossonosores 80 3-3 PROGRAM DEBUGGING {CORRECTING ERRORS] Debugging when an error message is generated Eire MESSAGES +«ocvonrees Checkpoints for each type of error .. Cen 63 3-4 COUNTING THE NUMBER OF STEPS 84 3-5 PROGRAM AREAS AND COMPUTATION MODES . oounnivnraomsremresmes sett 86 Program area and computation made specification tithe WRT mode .
HANDLING PRECAUTIONS ®This unit is composed of precision electronic components, and should never be disassembled. Do not drop it of otherwise subject it to sudden impacts, or sudden temperature changes. Be especially careful 1o avoid storing the unit or leaving it in areas exposed 10 high temperature, humidity or large amounts of dust. When exposed to low temperatures, the unit will require more time W0 display answers and may even fail o operate.
1-1 NOMENCLATURE AND FUNCTIONS Display window _.Contrast . adjustment dial ) T keys Shift key @ Mode key Power | @ | switch L ‘ : keys sl Caw = Delete key @ Al clear key ) Ef Arithmetic Nursing a; operation keys Imi -Execute key b ARISTIDES KEY M Display window A “status display”is located at the top of the display window to provide information on the status of the computer.
M Special operation keys [5#1] Shift key Press when using the function commands and functions marked in brown on the key panel. An 5] will illuminate on the display to indicate that has been pressed. Pressing ] again will cause the to disappear from the display and the unit to return 10 the status it was in before was originally pressed. [ Mode key Press when setting the status of the unit or the unit of angular measurement. [i@# (1] For manual computations and program execution. WRT illuminates on display.
Cursor/Replay/Label/insert keys Press to move the cursor to the left or right on the display to correct formulas or numeric values. Pressing moves the cursor to the left, while pressing 3] moves the cursor to the right. Pressing either key and holding it down will cause continuous movement of the cursor in the respective direction. Once a formula or numeric value is input and [ is pressed, these keys become replay keys.
M Function keys Press for functional computation. Various uses are available in combination with the [ key, and/or depending on the mode being used. Muttistatement/Display key ® Press to separate formulas or commands in programmed computations or consecutive computations. The result of such combinations is known as a multilateral. {See page 33.
@ Pressing [, then [i) and then [ . [wi] , or [iz] prior to entering a value produces the respective inverse hyperbolic function {sink, cosh™T, tang ') for the value. #Press in the Base-n mode to enter {124¢) of a hexadecimal value. @ ‘Trigonometric function/inverse trigonometric function TEETER T keys @ Press one of these keys prior to entering a value to obtain the respective trigonometric function for the value.
1-2 POWER AND BATTERY REPLACEMENT Power is supplied to this unit by two lithium batteries (CR2032). if the power of the batteries should diminish, the display will weaken and become difficult to read. A weak display even after contrast adjustment {see page 11) may indicate power is toa low, so the batteries should be replaced. When making replacements, be sure to replace both batteries. * If batteries are used for longer than two years, there is the danger of leakage.
1-3 BEFORE BEGINNING COMPUTE# Computation priority sequence This unit employs true algebraic logic 10 compute the parts of a formula in the following order: 1. Coordinate transformation Polly, . Type A functions* Power/root w0, 3/ 4. Abbreviated multiplication format in front of x, memory, or parentage, 10% 1n, ¢, sin, cos, tan, tan-t, sing, cosh, tang, sing-?, ', (=1, Abs, Int, Fran, h, d, b, thesis 27, 4R, etc. 5.Type B functions* ", 3, sin!, cost, cosh', tang o, Neg, Not 6.
W Computation modes This unit features modes for manual computations, storing programs, and modes for general as well as statistical computations, The proper mode to suit computational requirements should be employed. & Operation modes There are a total of three operation modes. 1. RUN mode Manual computations including functional computation and program execution. 2. WRT mode Program storage and editing. {(See Section 2.} In this mode, WRT illuminates at the left edge of the display window. 3.
{5} Even though memory has not been expanded, a memory name such used. (See page 20 for details on memory.) {8} Input errors are made. (Ex. The following error messages will be displaced for the operations noted above: {1}~ {3} Ma ERROR {4) Stk ERROR {5} Mem ERROR {8} Syn ERROR Besides these, there are an “Ne ERROR” [nesting error) and “Ga ERROR". These errors mainly occur when using programs.
®if a character has been omitted from a formula, use the £ and E keys to move to the position where the character should have been input, and press followed by the key. Each press of the will create a space for input of one command, Ex. To correct an input of 2.362 to sin2.362: SORER 255 e .36 sin 2.
M Memory expansion Though there are 28 standard memories, they can be expanded by changing program storage steps to memory, Memory expansion is performed by converting the 8 steps assigned to one memory. * See page 64 for information on the number of program steps. Number of memories| 261 Number of steps 550) 547, 534) 470 Memory is expanded in units of one. A maximum of 68 memories can be added fof a maximum total 68).
The Ans memory can be used in the same manner as the other memories, thus making it possible to use it in computation formulas. In multiplication operations, the [ immediately before s can be omitted. Ex. 15X 3=45 7B X 45233487 RETIREE 45, HEBEI] 3487. & Auto power off function The power of the unit is automatically switched off approximately 8 minutes after the last key operation (except during program computations).
2-1 BASIC COMPUTATIONS W Arithmetic operations & Arithmetic operations are performed by pressing the keys in the same order as noted in the formula. #For negative values, press before entering the value. Example Operation Display 23[+] ~26.5 563 {— 121+ |56 [ 122 5 268.8 268.8 1236957532 74108= | 12369 74103 6.903680613 6.903680613 1012 (6903680613000} * Results greater than 1070 {10 billion} or less than 1071 (0.1} are displayed in exponential form. (453107 ) 75 D 3% to-my= 1,030 | 78[Bd 1.
B Memory computations ® Numeric values stored in memory contain 10 digits for a mantissa. # The contents of memories are not erased when power is switched OFF. They are cleared by pressing [ followed by [id) { Key and then . Example Operation Display 9,874 7=68. 118 9. 874 [Exe] 9.874 9.874% A 7 BE 69.118 724 [ [A[X1 12 [ 118.488 9. 874 26=2286. 346 256.724 286.346 «The T3] key is used to input numeric values in memory.
2007 X 14=400 {Continues computation with 10-digit display. ) 123 m X 456 =56088m =56, 088km 78 07488ke o[ 7131 (Three decimal places specified.} 20057 14 If the same computation is performed with the specified number of digits: 200(37 {Value stored internally cut off at specified decimal place. (B B 148 e () [0 (Specification canceled) 128 (5] 456 5 B 96 BE 16.667 28.6M 8.57142857 % 409,900 28.571 2B.571 28.571% _ 399.994 399.994 56088, 56.088 74.88 s 0.
W Replay function @ This function stores formulas that have been executed, After execution is complete pressing hither the ot key will display the formula executed. Pressing [5] will display the tabular from the beginning, with the cursor located under the first character.
2-3 FUNCTIONAL COMPUTATIONS B Angular measurement units # The unit of angular measurement {degrees, radians, grads} is set by pressing [0F followed by a value from 4 through 6 and then ] . # The numeric value from 4 through 6 specifies degrees, radians and grads respectively. ®Once a unit of angular measurement is set, it remains in effect until a new unit is set. Settings are not cleared when power is switched OFF.
W Logarithmic and exponential functions Example | Operation Display tog!. 28(logio1. 23)= 8.990511144 X107 80 {logged} = 4. 48980967 logo +ind56 = 0. 4542944819 {log/in ratio==constant M} = 15, 98243652 {To obtain the antilogarithm of common logarithm 1.23} 0171313 {To obtain the antilogarithm of natural logarithm 4,5} HON ARES NS =422, 5878667 5. 67852, 58148837 . | s =1237)= 1.988647795 (78—23) %= 1.
M Coordinate transformation W Permutation and combination ® Rectangular coordinates @ Polar coordinates @ Total number of #®Total number of ¢ permutations combinations Pl rd) BPr Example Operation Display Rec Taking any four out of | 10 [5F] [3F] 4 (¥ 5040 . i % ten tams and arranging them in a row, how ® Computation results are stored in memories | and J. (Contents of many different arrange memory | displayed.} meets are possible? Pol J=8 Rec = l=x, J=3 Using any four numbers [517 B 380.
M Other functions RAN#, ABS, INT, FRANC) Example Operation Display 2 [R5 B 3.65028154 204th 4245254 2 (A3 EF4 EEE 2. ¥ BU=1X2X3X 40320, =40320 VEX 41N =42 NEFERTITI (X142 K40 7] [EE] 42, Random number genera| [ST) Rec [EXE {Ex) 6.792 son {pseudo random number from 0. 000 to 0.999) SO diereses VI IR0 B 17. N EEE B = cos 40° |10 1 [EI[CIm140 el (Proof of cos# {Continuing bos | [Ans] [E4F] 490. NT=sin®) 5430808571 | EEK LIEF] What is the absolute value of the common logarithm of 57 |1ogg] =o0. 1243587365 ©.
2-4 BINARY, OCTAL, DECIMAL, HEXADECIMAL COMPUTATIONS #Binary, octal, decimal and hexadecimal computations, conversions and logical operations are performed in the Base-n mode {press Eb #The number system set by respectively pressing [8], [82], el or [fed] , followed Number systems are specified for specific values by pressing . then the number system designation ( (b}, [a], [d] or immediately toweled by the value. ® General function computations cannot be performed in the Base-n mode.
M Negative expressions Example Operation Display [58 How is 110010, expression] B — Bin” {1st block) ed as a negative? [ieg] 110010 x| 11601116 {2nd block} [Best] 2 {3rd black} 3 {4th block) ] 4 How is 724 expressed as a negative? (=111t D n How is 3A; expressed as ~r“Hex” & negative? i 8 (o] OUTFITTING €8 i 1284+ 1EF -+ 24,2352, | 0] (] 1284 [ (0] 1EF 24[BE = 1258 *For mixed basic arithmetic operations, multiplication and division are given computation priority over addition and subtraction.
2-5 STATISTICAL COMPUTATIONS W Standard deviation ®Standard deviation computations are performed in the SD mode. {Press , and “8D” illuminates on display.} ®#Before beginning computations, the tabulation memories are cleared by pressing B followed by [S4] { key) and then B8 .
*Erroneous data clearing/correction II {correct data operation : 130 G131 ) (D If 120 [ [7]is entered, enter correct data after pressing 120 entered, enter correct data after pressing [&f] . @120 30 [0} is entered, enter correct data after pressing . @ 1f 120 was entered previously, enter correct data after pressing 120 Regression computation ® Regression computations are performed in the LR mode. (Press [iif] [, and “LR” illuminates on display.
{# Logarithmic regression ®The regression formula is Enter the x data as the Logarithm {In} of x, and the y data inputs the same as that for linear regression. ® The same operation as with linear regression can be used to obtain the regression coefficient and for making corrections. To obtain the estimated value used, and to obtain estimated value (Ros] (X9 is used. Furthermore, Lx, Leland Exy are obtained as Lin, Linux, and Sinewy respectively. Example Operation Display D G W18 50 | 23.5 [o]20 [ ] 1.6 3.
#) Power regression ®The regression formula is y= +Blnx). Enter both data x and y as logarithms ® Correction is performed the same as in linear regression. Constant term A is obtained estimated value is obtained by[ih]x ] [¥7] and estimated value £ is obtained by[i] y F5] [ [0}, and Lxy are obtained by Lin, Lining, Tiny, L{iny)2 and Tint-int respectively. Example Operation Display 2410 28 [ 241007 3.33220451 30 | 2033 3033 3.401197382 33 3895 8894 o7} 3.496507661 35 | 4481 [in] [in] 4491 [0} 3.
3-1 WHAT i8S A PROGRAM? This unit has a built-in program feature that facilitates repeat computations. The program feature is used for the consecutive execution of formulas in the same way as the “multi statement” feature is used in manual computations. Programs will be discussed here with the aid of illustrative examples. EXAMPLE: Find the surface area and volume of a regular tetrahedron when the length of one side is given.
The larger figures located below indicate the program areas (see page 66). If the letter "P" is followed by the numbers @ through 8, it indicates that there are no programs stored in areas PO through P9, The blinking zero here indicates the current program area is PO, Areas into which programs have already been stored are indicated by instead of numbers. a8 et P 01.
3-2 PROGRAM CHECKING AND EDITING (CORRECTION, ADDITION, DELETION) Recalling a stored program can be performed in order to verify its contents. After specifying the desired program area using the WRT mode the program contents will be dips ayes by pressing the X key. Once the program is displayed, the [=5] {or ] key is used to advance the program one step at a time for verification, When the program has been improperly stored, editing can also be performed by adding to it or erasing portions.
() Program execution Now this program will be executed. Length of one side 18} | Surface area (S) Volume (V) 10 cm 7.5 {97.42785793] | (48.71844555) 20 (692.820323) Operation Display 173.2050808 117.8511302 97.42785793 x| 49.71844585 0 ? 20 692.820323 B, 942.8090418 (Summary ) Operation Keys used Program |*WRT mode specification | [2] check *Program area specification{Omitted if PO} = *Start verification x| o] *Verification of contents = Correction | *Move the cursor to the position to be corrected.
M| Error messages There are a total of six error messages. {» Syn ERROR (Syntax error} indicates a mistake in the formula or a misuse of program commands. @ Ma ERROR {Mathematical error) indicates the computation result of a numeric expression exceeds 1019, an illogical operation {i.e.
3.4 COUNTING THE NUMBER OF STEPS Each step can he verified by the movement of the cursor: Example: The‘ of steps immediately before the position of the blinking cursor is displayed. The program capacity of this unit consists of a total of 550 steps. The number of steps indicates the amount of storage space available Lbl 1.sin 2 3 for programs, and it will decrease as programs are input. The number X of remaining steps will also be decreased when steps are converted 10 memories. (See page 22).
3-5 PROGRAM AREAS AND COMPUTATION MODES This unit contains a total of 10 program areas (PO through P9} for the storage of programs. These program areas are all utilized in the same manner, and 10 independent programs can be input, One main program {main routine) and a number of secondary programs {subroutines} can also be stored. The total number of steps available for storage in program areas PO through P9 is 550 maximum.
3-6 ERASING PROGRAMS Erasing programs is performed in the PCL mode. Press (3]t specify the PCL mode, and ' "PCL” will illuminate. There are two methods used to erase programs: erasing a program located in & single program area, and erasing all programs. W Erasing a single program To erase a program in a single program area, specify the PCL mode and press the key after specifying the program area. Example: Erase the program in P3 only. Operation Display Program areas -12_45678 {P3 and P contain| \programs.
Add “Goth 17 to the end of the program, and add “Lbi 17 to the beginning of the program as the branch destination, 1f this is simply left the way it is, however, the volume will not be displayed and execution will move immediately to the input of ane side at the beginning. To prevent this situation, insert a display command {4} in front of the “Goth 17. The complete program with the unconditional! jump added should look like this: Lhl, VU200 Goth, 1 25 steps Now let’s try executing this program. .
Int this program, the input numeric value is stored in memory A, and then it is tested to determine whether it is greater than, equal to or Less then zero. If the contents of memory A are greater than or equal to O {not less than zero), the statement {computation formula located between "= and ~4” will be executed, and then Goth 1 returns execution ta Lbl 1. If the contents of memory A are less than zero, execution will skip the following statement to the next “.4” and returned to Lbl 1 by Goth 1.
Example: Determine the altitude at one-second intervals of a ball thrown anti the air at an initial velocity of Vivisect and an angle of The formula is expressed as: Sinbad— g2, with with the effects of air resistance being disregarded. Program Deg. Lbl, 1 oo fsz, sing Gotta 38 steps In this program the unit of angular measurement is set and memory T is first initialized (cleared). Then the initial velocity and angle are input into memories V and S respectively.
Subroutine Main routine FEE ) FESS | Prig Prig 2 | Prang Level 1 Level 2 Level 3 Level 4 The subroutine command is “‘Prg” followed by a number from O through 9 which indicates the program area. Example: Prg O~ Jump to program area O Prg to program area 2 After the jump is performed using the Prg command, execution continues from the beginning of the program stored in the specified program area.
Computation of the volumes is also performed in a similar manner, After & jump is made to P8 for computation, execution returns to the main routines. In PO, the program ends after the volume of the tetrahedron is displayed. In P1, however, the result computed in P8 is divided by four to obtain the volume of the tetrahedron. By using subroutines in this manner, steps can be shortened and programs become neat and easy to read. The following illustration shows the flow of the program just presented.
Using array-type memories Wbl V2L o T 4 Goth, 1 16 steps The difference is readily apparent. When using the standard memories, the input value is compared one by one with the value assigned to each memory {L.e. .} With the array-type memories, the input value is immediately stored in the proper memory determined by “1Z~11". Formulas {Z—1, A+10, etc.) can even be used for the subscript.
W Application of the array-type memories it is sometimes required to treat two different types of data as a single group. In this case, memories for data processing and those for data storage should be kept separate. Example: Store data x and y in memories. When an x value is input, the corresponding ¥ value is displayed. There will be a total of 15 pieces of data. Example program 1 Memory A is used as the data control memory, and memory B is used for temporary storage of the x data.
3-9 DISPLAYING ALPHA-NUMERIC CHARACTERS AND SYMBOLS Alphabetic characters, numbers, computation command symbols, etc. can be displayed as messages. They ate enclosed in quotation marks Aisha-numeric characters and symbols @ Characters and symbols displayed when pressed following [iFH space, LU0 KO LG MON, ®Numbers and symbols dismayed when pressed directly {Comp mode): Voted. UED Symbols displayed when pressed following [T {Comp made): om0 <.
CASIO PROGRAM No. . Program lor Prime factor analysis | 1 Program Description T Prime factors of arbitrary positive integers are produced For 1< m <30* 3 prime bummers are produced from the Lowest value first, "END" i displayed ¥ at the ead of the program % | Overview 5 m 35 divided by 2 and by all successive odd numbers (= R & check for divisibility. " Where d is a prime factor.
CASIO PROGRAM SHEET o Agra for JEY ; Mar Greatest common measure 2 s b Program Notes |Gl = w1 oAl description Euclidean general division is used 10 determine the greatest conman integers & and For lal, 1Bl <107, positive values ae sake as <107 “Overview 6118 overviews o . = man Hal, 104 ‘Godel then the greatest common measure { n. 2 Example, as B Whee 4 =238 s " _ B=0135 0817866 e=1015 =998 Preparation and operation I = ® Tors the program written on the next page.
CASIO PROGRAM SHEET Program for a. Definite integrals using the Simpson’s rule Program = ! of steps Description ; oMl The right-hand portion of the above equation can be transformed as follows. M R Vot uni-g Prg 1 8 Let IEEE 100 107 Example men 126 128 2 tigixiga+i1 i and operation 1 ®Store the program written on the next page v i ® Execute the program as shown below in the RUN meed (RIS T vol i Step! Key operatic Display Step. Key operation [Peg lo [Bx€] ope] 1ol @.7853981537 kil Eel b.
o 2 CASED PROGRAM SHEET 4 Program for Number O e Y transformation Notes of steps. §”5R14 via ] R Ru Re o BB ARRAS, girlish T4 97 ARMATURE, " W Orig = "ia 109 oo 1 ¢ 11z Ry R PREARRANGE 12102 FARRAGO Example Ry=100083 159 Re=150002) 7R (4 Foal 16 Ry=220Q) 8 " CR2 RI3 Cal E 4 189 ®Store the program written on the next page.
CASIO PROGRAM SHEET Example Preparation and operation Young's modulus (k Geometrical moment of inertia () & ¢ Distance of concentrated load from support (] P Load [ke) = ¢ Distance of point af interest from the support [mm} Bending moment M (kg + mum) What ace deflection. angle of deflection, bonding nest and shearing land and #§tore the program written o the next page. . ® Execute the program as shown below in the RUN mode (i Program for ) Ne.
CASIO PROGRAM SHEET No. ] 7 program for [ Amber Parabolic movement 7 Program . Notes | ore B Description Teriyaki 3% = (Vg cos sim date — ALX PS T MiG Example Initial velocity V o Initial angle a = 14 Height b 1 & teds Si see ) 1 Plot the trace of movement 7 intervals af 41 :; Preparation and operation i) #Store the program written on the next page.
CASIO PROGRAM SHEET ~ . Ingrain Normal distribution 8 e lug 2 Program Notes o sips Description SRR T3y : T Obtain normal distribution function # (e} (by Hastings best approximation Visit High gty =0 : 4y 3 61 6,93 3508 73 70508 Tix 4778 109 § 1 i218 B 09576 X T 1.0 124 )03‘9:2 7oA P42 137 35656378 2] 13 Example 1 15 Calculate the values of $(z) at 2 =1.18 and x =0.7 Store the program written on the next page.
CASIO PROGRAM SHEET Program for [ e Program Description Example Preparation and operation ®Store the program wrinkle on the ext page. } # Execute e program as shown below in the RUN mode {508 1), Step.
PROGRAM SHEET Program for [ ho. Homer i | Program Notes of steps Description Example _Preparation and operation @ Si ore the program written on the next page.
PROGRAM SHEET Description Program for Example Preparation and operation *Store the program written on the next page.
CASIO 3 PROGRAM SHEET Program Notes IR 1 Scroll Paraplegia Preparation and operation 9 ®Store the program written on 1e next page.
_CASIO Program SHEET Program for N, Number Notes o steps Descriptor Example Preparation and operation ® Sirree the program written on the next page.
M Manual computations Mode specification Functions Paired variable functions Comp mode Four arithmetic computations and function computations. Base-n mode Binary, octal, decimal, hexadecimal conversions and computations, logical operations. SD mode Standard deviation computations ¢ [ 3 {1-variable statistical computations}. LR mode Regression computations (paired variable statistical computations), Type A Function command input \telecommunications Iy before numeric value.
Regression computations Data clear [T (5o} [ee] Data input ¥ data, v data (; frequency) (o = *Frequency can be omitted. Data deletion x data, ¥ data (; frequency) (8 *Frequency can be omitted.
W Program computations Program input |Input mode WRT mode { [ [2]) Computation Mode that conforms with program mode specified Program area |Cursor is moved to the desired pro specification gram area number {PO through P9} using and (2], and [ is pressed. Program Execution RUN mode { e {1]} execution mode Program area Execution starts with [Fa] program specification area No. % .
W Error messages Message Meaning Countermeasure Syn ERROR Computation formula contains an error, @ Formula in a program contains an error, Use display the point where the error was generated and correct it @ Use display the point where the error was generated, press Bt and then correct the program in the WRT mode, Stk ERROR s Execution of computations that exceed the capacity of the stack for numeric values or stack for computations.
M Input range of functions (general principles} Function name input range Binary number Positive) TITHDITTOTHHIHT DT (LI sing, coax, tan | |x[ <1440 (Brad, 1600grad.} zloty sin-TX, cos-'x |1 {Negative T 11T U HETTIE T LT LI tan'y %] ;10100 ! b iti zrz sing v, cosh 230.
SPECIFICATIONS Model: {x-4000P Basic computation functions: Built-in functions: Statistical computation functions: Memories: Computation range: Rounding: 128 Negative numbers, exponents, parenthetical ad(with priority sequence judgment function true algebraic logic).
he value < Program computations it * Program input Memory e made Mot that performer with pew tied b and ] s pre oy a ® Contamination fo e * Program erase ® Ouija i 5 oy cur | n is per b range af & fan on (vt * Program commands Noneducational fue Candidate jungle: ERROR ERROR | @ Execution of rampant e he fanatic v “Tig relational operator i o