Thứ Năm, 18 tháng 6, 2009

great math book


I am learning business calculus course. Calculus class at my college is pretty simple, and the very colorful textbook, but context is not really good. I found that most of universities in the US use textbook of James Stewart- it is a very good textbook. But I found another one, very interesting: calculus, Micheal Spivak.
I highly recommend this book.
you guy can check out biography of Micheal Spivak here:
http://en.wikipedia.org/wiki/Michael_Spivak

link to download ebook:
http://www.mediafire.com/?mzizzjmdzin

Chủ Nhật, 14 tháng 6, 2009

why have to master math

After a period of time, I have learned programming. I crammed a lot many knowledge of Scheme, C, java, javascript, even python. I still just a novice programmer. May be I know program syntax, and can handle pretty many operations. But I felt I didn't have a deep understand of programming. By reading classical books about programming, i realized that, the first and foremost a programmer need to master is math. But math is general, here is the list I recommend for all beginner who want to learn programming:
calculus, discrete math, and number theory.
I found many good resources:

Single Variable Calculus(MIT)
http://ocw.mit.edu/OcwWeb/Mathematics/18-01Fall-2006/CourseHome/index.htm

Multivariable Calculus
http://ocw.mit.edu/OcwWeb/Mathematics/18-02Fall-2007/CourseHome/index.htm

Thứ Bảy, 6 tháng 6, 2009

solution for C programing book of Kernighan and Ritchie

link location:
http://users.powernet.co.uk/eton/kandr2/

Total exercises: 97
Solved exercises: 79
Yet to do: 18

reference the official book at wiki "The C Programming Language".
Maintained by Richard Heathfield

fibonacci in C

#include

main()
{ int fib[24];
int i;

fib[0] = 0;
fib[1] = 1;

for(i = 2; i < 24; i++)
fib[i] = fib[i-1] + fib[i-2];

for (i = 0; i < 24; i++)
printf("%3d %6d\n", i, fib[i]);
}