Thursday, November 25, 2010

Neuschwanstein Ho Scale

generated by the product of three-digit numbers

The fourth problem with the Euler project aims to find the largest palindrome generated by the product of three-digit numbers, a task which by inspection can be determined as something not easily done with pencil and paper by the product of three-digit numbers are generated 988200 results. Work to build the script to calculate all these results, select from there the 628 palindromes and find among these the largest, was not something a few minutes more, but not working on this problem a few days ago, I can say which were approximately 12 hours the whole I build this script that about 5 minutes (on my laptop) 906609 response yields the largest palindrome generated by the product of two three-digit numbers.

for i = 100:999% creates a square matrix P (ixn) with products of all figures x values \u200b\u200bfor n = 100:999

P (i, n) = i * n;

end
end for j = 1: length (P)% P Because finding a square matrix makes the matrix size
for q = 1: length (P)
if P (j, q) ~ = 0% does not start in 1 there are few zeros in P, are discarded
k = num2str (P (j, q)),% Convert each entry of P in a string
seqreverse if k == (k)% P compares each entry with your writing upside
% disp ( str2num (k)),% activate if you want to see a list of all palindromes
M (q ^ 2) = str2num (k);
Pm = max (M);
;

end end end


end disp (Pm)


esDebian

Sunday, November 21, 2010

Parent Teacher Conference Jokes

Third Project Euler problem - Solved! Second problem

The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143?

To achieve this response was sufficient to read the code function factor () in Matlab, Matlab fortunately is not as exclusive as to study their code and even modify it, maybe (most secure) has not "permission" to do such a thing, but doing a little reading of the code of this function of Matlab could not be used directly because it only solves the decomposition of numbers up to 2 ^ 32, I wrote this little script which I found solution to Project Euler Problem 3.

n = input ('Enter the value to decompose into prime factors')
if n \u0026lt;0

error ('n must be a non-negative integer') end

primes p = (sqrt (n )),% find many prime numbers as the square root of u = find (rem (n, p) == 0);% compare the contents of the vector p with the divisors of n and selects those with remaining 0
disp (p (d))% show the prime factors of n

One way to verify that this was correct was to use the fundamental theorem of arithmetic TFA: "Every integer n> 1, or is prime, or can be factored as a product of primes. This product is unique except for the order of the factors. "

This still learning and continuing progress in the Project Euler list.

esDebian

Saturday, November 20, 2010

Pro Ana Sayings Pro Ana?! =)?

Euler Project - "Resolved" PROJECT EULER

The second problem took a little more work, and taking into account at least in Latin America the majority of those enrolled have not passed the second, okay it has already resolved.

The problem is to code a script to take all pairs terms no greater than 4000000, in Fibonacci series and add, then the code site which resolved that question.

clc;
f (1) = 1, f (2) = 1, RTA = 0;
n = input ('Enter the number of elements to calculate the Fibonacci series');
disp (f (1) ) disp (f (2));
for i = 3: n
f (i) = f (i-1) + f (i-2);
if f (i) \u0026lt;4000000 & & rem (f (i), 2) == 0% sum all terms no more than 4,000,000 pairs

; RTA = RTA + f (i);

end disp (f (i))% displays the items in the series end disp ('sum of the series') end

disp ('The sum of pair terms is not greater than 4000000')
disp (RTA)% shows the result of the sum


esDebian

Tuesday, November 16, 2010

What Happens To Kates Playground



discovered a few minutes ago arg reading that there is a collection of 310 (increasing) problems for math lovers of programming (in any language), called Project Euler. This is an excellent opportunity for those worried about the schedule you have as a main way of life mathematics.

stamp in honor of Leonard Euler.


Leonard Euler was a Swiss mathematician who lived between 1707 and 1783, known as golden or Cyclops Cyclops mathematician, left vast contributions to mathematics, especially the number and discovered, much progress made in graph theory, mathematical analysis, the notation mathematical language as well as in areas such as mechanics and optics.

The first problem that appears in the Euler project proposes:

If you have a list of all natural numbers below 10 that are multiples of 3 or 5 have 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all multiples of 3 or 5 below 1000.


A solution made to run in Matlab (Scilab)

M = 0;% starts at zero accumulated
L = input ('Enter the limit of the search for multiples of 3 and 5:');
for i = 1: L,% Start the loop 1 to the limit
if rem (i, 3) == 0 mathematics.






Saturday, November 6, 2010

Red Scorpion Six Wsk Knife

attack on freedom! Recta de Euler

recently, doing something you really do not usually do, check the copyright statement of my books, I found something that I consider a serious attack on freedom.

A Calculus book (which I will not mention for obvious reasons) is imprinted on the page dedicated to the publisher and authors, and a pride logo editorial in the lower left corner, a phrase, the last page, which is really alarming, as well known is that the books are protected by international laws of copyright misnamed, but until I knew where it lay in the unauthorized copying by any means, however, my surprise came when I read what follows verbatim quote: esDebian "



words, now I have no right even to lend my book, a book for which I paid my money and I can not even lend not authorized to give me my book, really ridiculous, but still alarming because there are still people who do not understand that all they get laws restricting knowledge is becoming more raw and vulnerable.
hope generated opinions.
I took a picture of the page that says the quoted text in the image does not compress or persons undertake, but it is clear that it is taken from the book, if someone could help reveal whether there would be no problem to indicate that book publishing is and that would go full images of the paste of this material.



Tuesday, November 2, 2010

Shrimp Diablo Pasta Recipe

Learning Day Workshop Family Constellation - FAMILY - December 2010


To close the year 2010 in Family, wherever you are-

To begin to celebrate Christmas with your family, wherever you are-

To learn to look at your family , the one you have.

For a little peace.

To learn to nod and look through the eyes of the soul.

To see your great love for your family.

deciding.

To make your way and take charge of your destiny. We will meet


Saturday 4 December to work together. Systemic exercises work for all attendees and the questions take the case of family constellations.







DATA Time:
Saturday December 4, 2010, 9 am to 4 pm

Price:
Bs F.
300 includes certificate of attendance, materials and refreshments.

Held
Book Bank, Altamira, Caracas.

For information and reserve your quota:
Call the following numbers: 414-2841097 / 412-9631191 or write an email to raizaramirez@gmail.com or a direct message through FB.



Facilitator:
Raiza Ramírez. Family Gestalt psychotherapist and constellations. Web
: http://gestaltvenezuela.blogspot.com