0

Write a java program that generates the binomial coefficients for (x +y)^14 prints them, separated by a comma and a space use a loop or loops to increment the integer n and k after they are initialized. Hint:for the above problem the coefficients ate the 15th row of pascal triangle

9th Mar 2017, 3:53 AM
Parita Shah
Parita Shah - avatar
2 Answers
+ 1
Not so fast. I was generous last time and gave you the code to convert radians to degrees, but that was because it was a relatively simple task that could be accomplished in a very short time. Now you're just throwing all your tasks on the Q&A. You can't expect to get all the answers you're looking for from a site for budding programmers who probably don't know what Pascal's triangle even is yet. Sorry about the harshness, but this time you're on your own.
9th Mar 2017, 4:32 AM
DaemonThread
DaemonThread - avatar
+ 1
The expansion of (x+y)^14 has 15 coefficients, related to terms of the form (x^(15-k))*(y^k), as k varies from 0 to 15. That gives you the loop.
9th Mar 2017, 5:57 AM
Álvaro