Go Back   iTrader Forums » iTrader Chat » General Chit Chat » Programming PHP | PERL | ASP| ColdFusion| C++

Programming PHP | PERL | ASP| ColdFusion| C++ Chat with other forum members about programming.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2nd August 2007, 05:06 AM
Junior Member
 
Join Date: Aug 2007
Posts: 1
Credits: 0
Default how do i solve: (c-d) to the power of 3?

it has to do with the binomial theorem.. please help..
Reply With Quote
  #2 (permalink)  
Old 2nd August 2007, 08:37 AM
Junior Member
 
Join Date: Aug 2007
Posts: 1
Credits: 0
Default

It's not an equation, so you can't "solve" it. You can write out the expression though.The binomial theorem relates to rows of Pascal's triangle. Numbering the rows starting with 0, the jth entry of the ith row is i-choose-j. And the nth row also tells you the coefficients of (a+b)^n when it's expanded. The first few rows of the triangle are:11 11 2 11 3 3 1The 3rd row (again, starting the indexing at 0 instead of 1) is "1 3 3 1". So this means (c-d)^3, which is (c + (-d))^3, is:1*[ c^3 (-d)^0 ] +3*[c^2 (-d)^1] + 3*[c^1 (-d)^2 ] + 1*[c^0 (-d)^3]This simplifies to c^3 - 3(c^2)d + 3cd^2 - d^3
Reply With Quote
  #3 (permalink)  
Old 2nd August 2007, 09:32 AM
Junior Member
 
Join Date: Aug 2007
Posts: 1
Credits: 0
Default

for powers of 3 from the binomial formula, the distribution of coefficients goes like+1 -3 +3 -1in decreasing powers of c and increasing powers of d.Here,(+1)*c^3 -3*(c^2)*(d) +3*c*d^2 -1*d^3is the expansion
Reply With Quote
  #4 (permalink)  
Old 2nd August 2007, 10:40 AM
Junior Member
 
Join Date: Aug 2007
Posts: 1
Credits: 0
Default

The binomial theorem states(a + b)^n = n∑ (nCk)a^kb^(n - k)k=0In this case, n=3, a = c, and b = - dExpanding the series you arrive at(c + (-d))^3 = (3C0)c^3d^0 + (3C1)(c^2)(-d)^1 + (3C2)(c^1)(-d)^2 + (3C3)(c^1)(-d)^3 =c^3 - 3c^2d + 3cd^2 - d^3
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:18 AM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
Ad Management by RedTyger


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72