http___matematika.odlican.net_index.php_iz_3-86-0_1.xml
1.1 1.2 2.1 3.1 3.2 3.3 4.1 4.2 4.3 5.1 6.1 8.1 9.1 9.2 10.1 11.1 11.2 11.3 12.1 12.2 12.3 13.1 13.2 14.1 14.2 14.3 15.1 15.2 16.1 16.2 17.1 17.2 17.3 17.4 17.5 18.1 18.2 18.3 19.1
We will be using a rational number simulator throughout this tutorial. You can start it by clicking on the following button. As discussed in Chapter 2, a rational number system is characterized by The rational number simulator allows you to design your own rational number systems. When the simulator first appears, it will be simulating a system with a minimum integer of -2 and a maximum integer of 2. You can verify this by looking at the two controls at the top of the simulator window. The simulator also displays a list and a graph of the numbers in the rational number system. Finally, the simulator allows you to calculate the values of arithmetic expressions in the rational number system. (Initially, it displays the result of adding 1 and 1.) Locate all of these pieces of information in the simulator window before going on. -2 -1 0 1 2because these are the integers between -2 and 2, and the fractions Of course, the five integers and the twenty fractions listed above contain many duplicates, which is why there are only seven numbers listed and graphed in the simulator window. Let's modify the rational number system being simulated and see how that changes the collection of available numbers. Use the controls at the top of the window to change the minimum integer to -3 and the maximum integer to 3. Increasing the range of the allowable integers adds eight new numbers to the rational number system. Now let's turn our attention to what happens when we do arithmetic calculations with rational numbers. Let's return to a simple system with a minimum integer of -2 and a maximum integer of 2. Either do it yourself, or click below. We will now begin using the expression input region, which should be displaying the result of calculating "1+1". Delete the contents of the input region and enter the product "1*1" instead. When you hit the return key, the product of the two numbers in the current rational number system will be displayed. Now enter the expression "2+2". This time when you hit the return key, the message Computation error - 4 out of boundswill be displayed. This error is called an overflow error, and it occurred because the value of the expression was too large to represent in the current system: 4 is not a valid rational number when the minimum integer is -2 and the maximum integer is 2. You can verify this by looking at the list of rational numbers that the simulator displays. Now use the controls to increase the maximum integer to 4. Because 4 is a member of this system, the value "2+2" will be displayed. Rational number systems on computers have the following property: When you ask for an arithmetic expression to be evaluated, you will either get an exact answer or an overflow error. An overflow error occurs when either the numerator or the denominator of the result would be either smaller than the minimum integer or larger than the maximum integer. Note that overflow can occur in the middle of a complicated expression, even though the answer can be represented in a rational number system. To see this, try evaluating the expression "4+4-4" in the current system. The simulator will report the overflow that occurs when it tries to add 4 and 4. If you enter the algebraically identical "4+(4-4)" instead, you will not get an overflow. Be sure that you understand the difference. Below are several arithmetic calculations. What is the simplest rational number system in which the calculations can be performed without an overflow error occurring? Use the simulator to verify your answers. Last modified 24Feb97.
1.1 2.1 3.1 4.1 5.1 5.2 6.1 7.1 8.1 9.1 10.1 11.1 12.1 13.1
Uspoređivanje racionalnih brojeva Zbrajanje i oduzimanje racionalnih brojeva Dijeljenje racionalnih brojeva Racionalni brojevi - uvod Racionalni brojevi su svi negativni razlomci, nula i pozitivni razlomci. Skup racionalnih brojeva označava se s Q. Svaki razlomak možemo zapisati u obliku , gdje je a cijeli broj, a b prirodni broj. Oblik razlomka je standardni oblik racionalnog broja. Za svaki racionalni broj r vrijedi: Racionalne brojeve možemo pridruživati točkama pravca. Racionalni brojevi su suprotni brojevi. Modul racionalnog broja (apsolutna vrijednost) je racionalni broj koji za brojnik ima modul brojnika, a za nazivnik modul nazivnika zadanog racionalnog broja. Primjer: Racionalni brojevi mogu se proširivati i skraćivat, a pri tom vrijedi: