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.
0 comments:
Post a Comment