Basic Operation for fx-3650P/3950P Programming a Calculation PRGM • The program storage area has about 360 bytes, which can be 2. Input the values required for the calculation. divided among up to four different programs named P1, P2, P3, A? 30 and P4.
Greatest Common Divisors Given two natural numbers, , the greatest common divisor may be found using Euclid’s algorithm. A simplified explanation is given below: > be two natural numbers. 1.Let be the remainder after dividing 2.Let ≠ → → , set and return to 2.
Fractions from recurring decimals Recurring decimals may be converted to fraction by proceeding in the following way: …… …… 0.111111111111 ----- - 0.01010101010 -- - …… …… -------- - 0.001001001001001 ----------- - 0.000100010001 9999 For example, 0.345345345…… 0.345345345 …… -------- - -------- - PRGM COMP...
Simultaneous Equations ≠ AE BD – When , the solution to the simultaneous equation: is given by the formula: EC FB – AF CD – -------------------- - --------------------- - PRGM COMP MODE MODE MODE MODE Lbl 1:?→ A:?→ B:?→ C:A → Y:B → X:C → M:?→ A:?→ B:?→ C:AX...
Page 8
P1 P1 P2 P3 P4 P1 P1 P2 P3 P4 P1 P1 P2 P3 P4 P1 P1 P2 P3 P4 Disp P1 P1 P2 P3 P4 AE BD – When , we cannot guarantee that there is a unique solution. In this case please enter a different problem.
Solutions to quadratic equations The solutions to the quadratic equation are given by the formula: ± – – -------------------------------------- – > In particular, when two real solutions exist, – when there is just one real solution and – < when there are two complex solutions PRGM CMPLX...
Values of Functions For two variables where the values of determined for given values of , we say that is a function of For example, for the function – when , and 3 – 1 – when PRGM COMP MODE MODE MODE MODE...
Summing Arithmetic Progressions 1. The sum up to the th term of an arithmetic progression with first term difference term , may be calculated by: … ∑ – – --- - 2A – PRGM COMP MODE MODE MODE MODE ?→ A:?→ B:?→ C:C(2 A +(C -1)B)÷2→ D:D < 30 STEP > OUTPUT D: sum of arithmetical progression Calculate the sum up to the 10th term of the arithmetic progression with first term 1 and...
Page 13
2. The sum of an arithmetic progression with first term and final term , consisting of terms is given by – … ------------ - – terms PRGM COMP MODE MODE MODE MODE ?→ A:?→ B:?→ C: (A + B)C ÷2→ D:D < 24 STEP > OUTPUT D: sum of arithmetical progression The of an arithmetic progression of 10th terms, with first term 1 and last term 28, is:...
Summing Geometric Progressions 1. The sum up to the th term of the geometric progression with first term and ratio term may be calculated: – … – ∑ A 1 B – ----------------------- - – PRGM COMP MODE MODE MODE MODE ?→...
Page 15
2. The sum of a geometric progression with first term , last term and common ratio A BC – … ⁄ ---------------- - – PRGM COMP MODE MODE MODE MODE ?→ A:?→ B:?→ C: (A - BC)÷(1- C)→ D:D < 28 STEP > OUTPUT D: sum of geometric progression The sum of the geometric progression with first term 1, last term 81 and common ratio 3 is...
Approximate solutions to higher order equations (bisection method) f x ( ) be a function continuous on the interval f a ( ) f b ( ) [ , ] , with having opposite signs, so [ , ] that there must be at least one with f c ( ) If we divide the interval into two,...
Page 17
P1 P1 P2 P3 P4 Disp To stop program, press the key. To calculate for other functions, alter the program where underlined.
Approximate solutions to Equations of higher degree (Newton’s method) f x ( ) Newton’s method is used to calculate approximate solutions to the equation . For a initial value , the following recurrence relation gives successive approximate solutions: – ------------ ′...
Limits --------- - It is known that the limit takes value 1. → PRGM COMP MODE MODE MODE MODE X ÷2→ X:Goto 1 < 24 STEP > 1→ X:Lbl 1:sin X ÷ X → Y:Y --------- - Check the convergence of for values of close to 0.
Definite Integrals (Trapezoidal rule) Approximations of the value of definite integrals may be obtained as follows: … ∫ x ( ) x d ≈ -- - f A ( ) f B ( ) 2f A 2f A 2f B h –...
Page 22
P1 P1 P2 P3 P4 P1 P1 P2 P3 P4 For large n, the calculation may take a considerable amount of time. To calculate for other functions, alter the program where underlined.
Definite integrals (Simpsons formula) The value of a definite integral can be approximated by Simpsons formula, – ∫ ∑ ∑ f x ( ) x d ≈ -- - f A ( ) f B ( ) 2i 1 –...
Page 24
P1 P1 P2 P3 P4 For large n, the calculation may take a considerable amount of time. To calculate for other functions, alter the program where underlined.
Finding the area of a triangle In general, when the length of the base and the height of a triangle are known, its area can be calculated by (Length of base)×(Height)÷2 . However, it is also possible to determine the area given the lengths of the three sides, using the following formula. Let the lengths of the three sides be ,...
The angle between two vectors θ → The angle between two vectors → , not equal to 0 for 0 being the origin, can be obtained in the following way: → cos a b ⋅ → θ ----------- - 1 – →...
Finding the angles in a triangle Law of cosines:The relationship between the length of the sides of a triangle and the angle between is given by: θ – θ Solving this for we obtain the angle in terms of the lengths: cos b –...
The radius of the Inscribed circle. The inscribed circle is shown in the diagram on the right.When the inscribed circle has radius , the area of the appropriate triangle is: A B C ----- - ----- - ----- - ----------------------------- Now, using herons formula it is possible to determine the area of the triangle in terms of the length of the three sides, whereby the radius of the circle is:...
The radius of the Circumscribed circle The law of sines:For △ , as shown in the diagram on the right, the following formula holds: ---------- - ---------- - ----------- It is thereby possible, by the law of cosines and law of sines, to calculate the radius of the circumscribed circle given the lengths of the three sides of the triangle.
Center of mass of a triangle (barycentre) The three medians of a triangle all meet at a single point. This point is called the “center of mass” (or barycentre). The center of mass divides each line in half. For a triangle with corner points the center of mass is given: -------------------------------------- - PRGM...
The distance between a line and a point ( , ) The distance between a point and a straight line (x, y) , as in the diagram on the right, is given by the formula: y=ax+b ax y – ----------------------- - PRGM COMP MODE...
The sum, difference and inner product of two vectors The sum and difference of two vectors in 3-dimensional space is obtained by adding and subtracting their respective components. → α β → ′ ′ c′ For example, for → α β →...
Rotation x y , The following matrix rotates a point , in the plane, θ through an angle of in the anti-clockwise direction. (x’, y’) θ θ x′ – (x, y) ...
Complex numbers and polar coordinates ω As an example, for the complex number ω we may write in polar coordinates, by letting ω θ θ a + bi θ θ -- - -- - where The product of two complex numbers in polar form is θ...
Combinations Let there be cards with the letter “ cards with the ”, letter “ ” and cards with the letter “ ” written on them. Then number of possible different ways to arrange all × × cards in a row, is given by: ---------------------------- - b ×...
The binomial distribution Assume that the probability that a tossed coin will land showing “heads” is , and that the – probability for “tails” is ( ). Then over tosses, the probability that the coin will land times with “heads”-up, is: –...
Confidence Intervals σ For a random sample of size from normal distribution with known variance , the µ confidence intervals for the population mean may be calculated as given by: σ σ µ × × ------ - ------ - x 1.64 –...
σ µ Test on a mean with known (z-tests) µ The hypothesis of interest is that the mean is equal to a given value , versus the µ alternative that it is not equal to . We calculate the test statistics µ...
Guess the number Assume you wish to guess a randomly chosen number between 1 and 1000. Simple guessing will require, on average, 500 tries to find the answer. This program will tell you if your guess is larger or smaller than a number (which it chooses), so that, proceeding logically, it should be possible to find the answer within 11 attempts.