Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mathematics and programming [closed]

Tags:

math

resources

I read a lot of blogs and forum posts about mathematics in programming and made a conclusion for myself that basic mathematics is needed in programming. I'm not a good mathematician. But is it somehow possible to improve my logical and algorithmic thinking without going deep into science of mathematics? Are there any exercises or some books that could help me to improve these skills so that I could become an good architect?

Thank you in advance.

like image 952
Azat Avatar asked Aug 24 '10 20:08

Azat


People also ask

What is close in mathematics?

In mathematics, Closure refers to the likelihood of an operation on elements of a set. If something is closed, then it means if an operation is conducted on any of the two elements of the set, then the result of that operation is also within the set.

What is the relationship between maths and programming?

Math teaches students how to analyze their work. In a day's worth of programming, any computer scientist is guaranteed to make a mistake. As such, programmers must know how to assess a problem, analyze their work, and fix errors. Math is one of the few subjects where students analyze their own work in this way.

What is a closure in programming?

A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function's scope from an inner function.

What programming languages have closures?

Some languages have features which simulate the behavior of closures. In languages such as Java, C++, Objective-C, C#, VB.NET, and D, these features are the result of the language's object-oriented paradigm.


2 Answers

Work through Project Euler.

The beginning of CLRS Algorithms has a bit on number theory, discrete math, combinatorics, probability, graph theory, and other really useful stuff. It's teaching exactly what is applicable to algorithms, and skipping everything else.

like image 69
Dean J Avatar answered Oct 04 '22 03:10

Dean J


http://en.wikipedia.org/wiki/Concrete_Mathematics <-- Written specially for you by Donald Knuth!

like image 25
Radomir Dopieralski Avatar answered Oct 04 '22 04:10

Radomir Dopieralski