Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 3rd, 2005, 11:05 AM   #1
nirmala
Newbie
 
nirmala's Avatar
 
Join Date: Feb 2005
Posts: 1
Rep Power: 0 nirmala is on a distinguished road
C++ code for Binomial Series

I have to write a C++ programme to solve (1+b)^n. But I must write a function with the following declaration: double binomial(double b, int n, int precision) b has values 0<b<1 , n is any integer, precision greater than 1 and equal to the number of decimal places of the return value. I must also write a test driver to test for 15 values of b,n and precision.
I know very little code...any help will be deeply appreciated!
Thanks alot in advance
Nirmala.......qtnirmala@gmail.com
nirmala is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC