Numerical Analysis - Binomial Theorem Demo
Posted
by Vinayak Vinayak
on January 31st, 2002
Environment: Visual C++
I wrote this piece of code to explain the working of Binomial Theorem to a younger friend. Thought it would be useful for other students too.
I built a class that could take names of two variables, like 'a' and 'b' and the power and sign (+ or -). It will then evaluate the terms using the Binomial Theorem. Students can get an understanding of the Binomial theorem as well as some programming concepts like recursion, encapsulation, data abstraction etc.
The UI is pretty simple

Comments
Freak
Posted by Legacy on 03/18/2002 12:00amOriginally posted by: WALUDDA
That is the most simple sh** i've ever seen. A "Hello World"-Application is even more complex.
Reply
Well said David Sharpe
Posted by Legacy on 02/09/2002 12:00amOriginally posted by: Tom Wilson
And thank you to the Vinayak Raghuvamshi. I am a freelance C++ programmer who is always churning out 'boring code' which gets the job done and keeps the client happy.
I get very little opportunity for programming 'fun' but this looks like my luck is about to change. I am now going to download and enjoy both the maths and hopefully the code. I feel one can always learn from another's efforts.
If certain people feel they are too clever then I feel they don't know as much as they think they do. I have been programming since 1974 and the more I learn, the more I realise I don't know.
After I have absorbed the lesson then maybe I will have some meaningful comments for the actual subject matter.
PS: David Sharp - your comment doesn't word wrap. Perhaps you could modify it please?
ReplyWord
Posted by Legacy on 02/06/2002 12:00amOriginally posted by: Charles Rictor
Word up dawg
ReplyUseful criticism
Posted by Legacy on 02/05/2002 12:00amOriginally posted by: David Sharpe
ReplyKids Stuff
Posted by Legacy on 02/05/2002 12:00amOriginally posted by: Ronin
CodeGuru should not be used to post such childish stuff.
Reply
Suxx
Posted by Legacy on 02/02/2002 12:00amOriginally posted by: Dekoda
What a squalor! Great program, very useful and rather complicated. I wrote such a programs when I was 12. Of course, I could write similar code at 5 but there wasn't PC's at that time
ReplyNICE!!!
Posted by Legacy on 02/01/2002 12:00amOriginally posted by: MeExMachina
It will help me solving some stupid homework... nice
ReplyFile size not yet updated
Posted by Legacy on 01/08/2002 12:00amOriginally posted by: Vinayak Raghuvamshi
I had included generated files by mistake. I have submitted the trimmed down project to the groups moderator. Am waiting to see the update take place.
-Vinayak.
Reply