dcsimg

Numerical Analysis - Binomial Theorem Demo

WEBINAR:
On-Demand

Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame


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

Downloads

Download source - 14 Kb


This article was originally published on January 31st, 2002

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date