AGENDA OF MATHEMATICS FOURTH QUARTER 2010-2011
a) .- Analysis of data in tables.
b) .- Writing and reading of natural numbers to hundred thousands.
c) .- The signs greater than, less than
d) .- Fractions as ratio and proportion.
e) .- Composition of numbers.
f) .- Problems involving the 4 basic operations.
g) .- areas (cm2.)
h) .- The Metro and their equivalents.
i) .- Areas in cubic units.
j) .- Probability using the terms "less probabley" more likely "
Thursday, February 24, 2011
Sunday, February 20, 2011
Desparaate Housewives Reruns
DEFINITION
This method involves inserting an element in the array is an orderly and cornices of this vector and again with the remaining elements. because it is usually used by card players is also known by the name of the method of deck.
A if, for example, suppose you have the unordered list.
to insert the element 45, should be inserted between 43 and 65, which requires removing all those numbers right superior value 45, ie, jump on 65 and 84.
The put is based on comparisons and transport thereafter. classification algorithm of a vector X to N elements is made with a tour around the vector and the insertion of an element in the right place. the route is from the second element to the nth.
FEATURES
In the worst cases, the number of comparisons to be performed is
N * (N +1) / 2-1, leaving us with a runtime O (n2).
In the best case (when the list was already sorted), the number of comparisons is N-2.
All them are false, which produces no exchange.
runtime is O (n).
N * (N +1) / 2-1, leaving us with a runtime O (n2).
In the best case (when the list was already sorted), the number of comparisons is N-2.
All them are false, which produces no exchange.
runtime is O (n).
The average case depends on how the elements are initially distributed.
see that the more ordered is initially closest to O (n) and how much messier
, the closer to O (n2).
The worst case is the same as in the bubble and selection methods, but the best case
is linear, which did not occur in these, which to some entries we have
time savings implementation.
Pseudocode
This is the source code, which best explains the method. you're well and all are patient;). Example
c. Void InsertionSort ( int numbers [], int ARRAY_SIZE) {
int i, j, index;
for (i = 1; i < index =" numbers[i];" j =" i;" style="font-weight: bold;"> while ((j> 0) & & (numbers [j-1]> index)) {
numbers [j] = numbers [j-1];
j = j - 1;
} / / end while
numbers [j] = index ;
} / / end for
} / / End example
Here is a link to an example in speech. C
http://rapidshare.com/files/449013398/barajamio.c
I hope the information presented will serve and it is understood or made a mistake, leave a comment to fix the problem, I am open to mistakes and doubts;)
NOTE: The books have the answer
int i, j, index;
for (i = 1; i < index =" numbers[i];" j =" i;" style="font-weight: bold;"> while ((j> 0) & & (numbers [j-1]> index)) {
numbers [j] = numbers [j-1];
j = j - 1;
} / / end while
numbers [j] = index ;
} / / end for
} / / End example
Here is a link to an example in speech. C
http://rapidshare.com/files/449013398/barajamio.c
I hope the information presented will serve and it is understood or made a mistake, leave a comment to fix the problem, I am open to mistakes and doubts;)
NOTE: The books have the answer
Saturday, February 19, 2011
Alice In Wonderland Who Am I Monologue
insertion sort .... BUBBLE METHOD What is it? EXTRA POINTS
Good day, this song is already saturated on the Internet but I will give only the most important information in this topic.
DEFINITION
This sorting algorithm (downward or upward) is based on the principle of comparing pairs of adjacent elements and exchange among themselves until they are all sorted. EXAMPLE
Supogamos you want to rank in order of the vector or list ascedente
steps to order are:
1 .- Compare A [1] and A [2] , if they are in order, are kept, otherwise, are exchanged between them. 2 .-
below compares the elements 2 and 3 are exchanged again if necessary.
3 .- The process continues until each element of the vector has been compared with their adjacent elements and exchanges have been made necessary.
In pseudocode main thing is (the method):
from i = 1 to 7 do
if element [i]> element [i +1] then
aux = A [i]
A [i] = A [i +1]
A [i +1] = aux
fin_si
fin_desde
NOTE: the words in bold are those of language.
This is a link to an example in C language code
http://rapidshare.com/files/448851279/metodo_burbuja.c
I'm open to any doubt or error could have caused .
50 ---- 15 --- 56 --- 14 --- 35 --- 1 --- - 12 ---- 9
A [1]-A [2]-A [3]-A [4]-A [5]-A [6]-A [7]-A [8]
A [1]-A [2]-A [3]-A [4]-A [5]-A [6]-A [7]-A [8]
steps to order are:
1 .- Compare A [1] and A [2] , if they are in order, are kept, otherwise, are exchanged between them. 2 .-
below compares the elements 2 and 3 are exchanged again if necessary.
3 .- The process continues until each element of the vector has been compared with their adjacent elements and exchanges have been made necessary.
In pseudocode main thing is (the method):
from i = 1 to 7 do
if element [i]> element [i +1] then
aux = A [i]
A [i] = A [i +1]
A [i +1] = aux
fin_si
fin_desde
NOTE: the words in bold are those of language.
FACTS METHOD OF BUBBLE
This is the simplest and oldest method to sort a data set is also the slowest
.
bubble
The algorithm has two loops for internal
cross the vector element by comparing the j- th -1 with the element with the j-th
element and if this is greater makes a change from the elements.
With two internal loops the behavior is generally O (n ^ 2), and best
conditions behaves like O (n).
.
bubble
The algorithm has two loops for internal
cross the vector element by comparing the j- th -1 with the element with the j-th
element and if this is greater makes a change from the elements.
With two internal loops the behavior is generally O (n ^ 2), and best
conditions behaves like O (n).
This is a link to an example in C language code
http://rapidshare.com/files/448851279/metodo_burbuja.c
I'm open to any doubt or error could have caused .
Subscribe to:
Posts (Atom)