计算(a+b)^6
请分别写出答案光写答案就可以了不要讲方法我知道应该怎么计算只是因为太懒了懒得算我现在只有这么多分我保证在选出最佳答案前会再加五十到一百分(a+b)^6(a+b)^7(a+...
请分别写出答案 光写答案就可以了 不要讲方法 我知道应该怎么计算 只是因为太懒了懒得算 我现在只有这么多分 我保证在选出最佳答案前会再加五十到一百分
(a+b)^6
(a+b)^7
(a+b)^8
(a+b)^9
(a+b)^10
(a+b)^11
(a+b)^12
(a+b)^13
(a+b)^14
(a+b)^15
(a-b)^2
(a-b)^3
(a-b)^4
(a-b)^5
(a-b)^6
(a-b)^7
(a-b)^8
(a-b)^9
(a-b)^10
(a-b)^11
(a-b)^12
(a-b)^13
(a-b)^14
(a-b)^15
(a+b)^6 =(a+b)的六次方
初二数学题 展开
(a+b)^6
(a+b)^7
(a+b)^8
(a+b)^9
(a+b)^10
(a+b)^11
(a+b)^12
(a+b)^13
(a+b)^14
(a+b)^15
(a-b)^2
(a-b)^3
(a-b)^4
(a-b)^5
(a-b)^6
(a-b)^7
(a-b)^8
(a-b)^9
(a-b)^10
(a-b)^11
(a-b)^12
(a-b)^13
(a-b)^14
(a-b)^15
(a+b)^6 =(a+b)的六次方
初二数学题 展开
5个回答
展开全部
#include <stdio.h>
main()
{
int i,j;
int time;
int yanghui[16][16]={0};
////杨辉三角----------------------------------------------
yanghui[0][0]=1;
for(i=1;i<16;i++)
for(j=0;j<16;j++){
if(i<j)break;
if(j==0||j==i)yanghui[i][j]=1;
else yanghui[i][j]=yanghui[i-1][j-1]+yanghui[i-1][j];
}
///-------------------------------------------------------
///(a+b)^n_______________________________
for(i=2;i<16;i++){
printf("(a+b)^%d=",i+1);
printf("a^%d+%d*a^%d*b+",i+1,yanghui[i+1][1],i);
for(j=2;j<i;j++){
printf("%d*a^%d*b^%d",yanghui[i+1][j],i+1-j,j);
if(j!=i-1)printf("+");
}
printf("+%d*a*b^%d+b^%d",yanghui[i+1][i],i,i+1);
printf("\n");
}
///>(a+b)^n_______________________________
///(a-b)^n_______________________________
for(i=0;i<16;i++)
for(j=0;j<16;j++)
if(j%2==1)yanghui[i][j]=-yanghui[i][j];
for(i=2;i<16;i++){
printf("(a-b)^%d=",i+1);
printf("a^%d%d*a^%d*b+",i+1,yanghui[i+1][1],i);
for(j=2;j<i;j++){
printf("%d*a^%d*b^%d",yanghui[i+1][j],i+1-j,j);
if(j!=i-1)printf("+");
}
if(i%2==0)printf("+%d*a*b^%d-b^%d",yanghui[i+1][i],i,i+1);
else printf("%d*a*b^%d+b^%d",yanghui[i+1][i],i,i+1);
printf("\n");
}
///>(a-b)^n_______________________________
}
///结果__________________________________________
(a+b)^6=a^6+6*a^5*b+15*a^4*b^2+20*a^3*b^3+15*a^2*b^4+6*a*b^5+b^6
(a+b)^7=a^7+7*a^6*b+21*a^5*b^2+35*a^4*b^3+35*a^3*b^4+21*a^2*b^5+7*a*b^6+b^7
(a+b)^8=a^8+8*a^7*b+28*a^6*b^2+56*a^5*b^3+70*a^4*b^4+56*a^3*b^5+28*a^2*b^6+8*a*b^7+b^8
(a+b)^9=a^9+9*a^8*b+36*a^7*b^2+84*a^6*b^3+126*a^5*b^4+126*a^4*b^5+84*a^3*b^6+36*a^2*b^7+9*a*b^8+b^9
(a+b)^10=a^10+10*a^9*b+45*a^8*b^2+120*a^7*b^3+210*a^6*b^4+252*a^5*b^5+210*a^4*b^6+120*a^3*b^7+45*a^2*b^8+10*a*b^9+b^10
(a+b)^11=a^11+11*a^10*b+55*a^9*b^2+165*a^8*b^3+330*a^7*b^4+462*a^6*b^5+462*a^5*b^6+330*a^4*b^7+165*a^3*b^8+55*a^2*b^9+11*a*b^10+b^11
(a+b)^12=a^12+12*a^11*b+66*a^10*b^2+220*a^9*b^3+495*a^8*b^4+792*a^7*b^5+924*a^6*b^6+792*a^5*b^7+495*a^4*b^8+220*a^3*b^9+66*a^2*b^10+12*a*b^11+b^12
(a+b)^13=a^13+13*a^12*b+78*a^11*b^2+286*a^10*b^3+715*a^9*b^4+1287*a^8*b^5+1716*a^7*b^6+1716*a^6*b^7+1287*a^5*b^8+715*a^4*b^9+286*a^3*b^10+78*a^2*b^11+13*a*b^12+b^13
(a+b)^14=a^14+14*a^13*b+91*a^12*b^2+364*a^11*b^3+1001*a^10*b^4+2002*a^9*b^5+3003*a^8*b^6+3432*a^7*b^7+3003*a^6*b^8+2002*a^5*b^9+1001*a^4*b^10+364*a^3*b^11+91*a^2*b^12+14*a*b^13+b^14
(a+b)^15=a^15+15*a^14*b+105*a^13*b^2+455*a^12*b^3+1365*a^11*b^4+3003*a^10*b^5+5005*a^9*b^6+6435*a^8*b^7+6435*a^7*b^8+5005*a^6*b^9+3003*a^5*b^10+1365*a^4*b^11+455*a^3*b^12+105*a^2*b^13+15*a*b^14+b^15
(a-b)^2=a^2-2*a*b+b^2
(a-b)^3=a^3-3*a^2*b+3*a*b^2-b^3
(a-b)^4=a^4-4*a^3*b+6*a^2*b^2-4*a*b^3+b^4
(a-b)^5=a^5-5*a^4*b+10*a^3*b^2-10*a^2*b^3+5*a*b^4-b^5
(a-b)^6=a^6-6*a^5*b+15*a^4*b^2-20*a^3*b^3+15*a^2*b^4-6*a*b^5+b^6
(a-b)^7=a^7-7*a^6*b+21*a^5*b^2-35*a^4*b^3+35*a^3*b^4-21*a^2*b^5+7*a*b^6-b^7
(a-b)^8=a^8-8*a^7*b+28*a^6*b^2-56*a^5*b^3+70*a^4*b^4-56*a^3*b^5+28*a^2*b^6-8*a*b^7+b^8
(a-b)^9=a^9-9*a^8*b+36*a^7*b^2-84*a^6*b^3+126*a^5*b^4-126*a^4*b^5+84*a^3*b^6-36*a^2*b^7+9*a*b^8-b^9
(a-b)^10=a^10-10*a^9*b+45*a^8*b^2-120*a^7*b^3+210*a^6*b^4-252*a^5*b^5+210*a^4*b^6-120*a^3*b^7+45*a^2*b^8-10*a*b^9+b^10
(a-b)^11=a^11-11*a^10*b+55*a^9*b^2-165*a^8*b^3+330*a^7*b^4-462*a^6*b^5+462*a^5*b^6-330*a^4*b^7+165*a^3*b^8-55*a^2*b^9+11*a*b^10-b^11
(a-b)^12=a^12-12*a^11*b+66*a^10*b^2-220*a^9*b^3+495*a^8*b^4-792*a^7*b^5+924*a^6*b^6-792*a^5*b^7+495*a^4*b^8-220*a^3*b^9+66*a^2*b^10-12*a*b^11+b^12
(a-b)^13=a^13-13*a^12*b+78*a^11*b^2-286*a^10*b^3+715*a^9*b^4-1287*a^8*b^5+1716*a^7*b^6-1716*a^6*b^7+1287*a^5*b^8-715*a^4*b^9+286*a^3*b^10-78*a^2*b^11+13*a*b^12-b^13
(a-b)^14=a^14-14*a^13*b+91*a^12*b^2-364*a^11*b^3+1001*a^10*b^4-2002*a^9*b^5+3003*a^8*b^6-3432*a^7*b^7+3003*a^6*b^8-2002*a^5*b^9+1001*a^4*b^10-364*a^3*b^11+91*a^2*b^12-14*a*b^13+b^14
(a-b)^15=a^15-15*a^14*b+105*a^13*b^2-455*a^12*b^3+1365*a^11*b^4-3003*a^10*b^5+5005*a^9*b^6-6435*a^8*b^7+6435*a^7*b^8-5005*a^6*b^9+3003*a^5*b^10-1365*a^4*b^11+455*a^3*b^12-105*a^2*b^13+15*a*b^14-b^15
main()
{
int i,j;
int time;
int yanghui[16][16]={0};
////杨辉三角----------------------------------------------
yanghui[0][0]=1;
for(i=1;i<16;i++)
for(j=0;j<16;j++){
if(i<j)break;
if(j==0||j==i)yanghui[i][j]=1;
else yanghui[i][j]=yanghui[i-1][j-1]+yanghui[i-1][j];
}
///-------------------------------------------------------
///(a+b)^n_______________________________
for(i=2;i<16;i++){
printf("(a+b)^%d=",i+1);
printf("a^%d+%d*a^%d*b+",i+1,yanghui[i+1][1],i);
for(j=2;j<i;j++){
printf("%d*a^%d*b^%d",yanghui[i+1][j],i+1-j,j);
if(j!=i-1)printf("+");
}
printf("+%d*a*b^%d+b^%d",yanghui[i+1][i],i,i+1);
printf("\n");
}
///>(a+b)^n_______________________________
///(a-b)^n_______________________________
for(i=0;i<16;i++)
for(j=0;j<16;j++)
if(j%2==1)yanghui[i][j]=-yanghui[i][j];
for(i=2;i<16;i++){
printf("(a-b)^%d=",i+1);
printf("a^%d%d*a^%d*b+",i+1,yanghui[i+1][1],i);
for(j=2;j<i;j++){
printf("%d*a^%d*b^%d",yanghui[i+1][j],i+1-j,j);
if(j!=i-1)printf("+");
}
if(i%2==0)printf("+%d*a*b^%d-b^%d",yanghui[i+1][i],i,i+1);
else printf("%d*a*b^%d+b^%d",yanghui[i+1][i],i,i+1);
printf("\n");
}
///>(a-b)^n_______________________________
}
///结果__________________________________________
(a+b)^6=a^6+6*a^5*b+15*a^4*b^2+20*a^3*b^3+15*a^2*b^4+6*a*b^5+b^6
(a+b)^7=a^7+7*a^6*b+21*a^5*b^2+35*a^4*b^3+35*a^3*b^4+21*a^2*b^5+7*a*b^6+b^7
(a+b)^8=a^8+8*a^7*b+28*a^6*b^2+56*a^5*b^3+70*a^4*b^4+56*a^3*b^5+28*a^2*b^6+8*a*b^7+b^8
(a+b)^9=a^9+9*a^8*b+36*a^7*b^2+84*a^6*b^3+126*a^5*b^4+126*a^4*b^5+84*a^3*b^6+36*a^2*b^7+9*a*b^8+b^9
(a+b)^10=a^10+10*a^9*b+45*a^8*b^2+120*a^7*b^3+210*a^6*b^4+252*a^5*b^5+210*a^4*b^6+120*a^3*b^7+45*a^2*b^8+10*a*b^9+b^10
(a+b)^11=a^11+11*a^10*b+55*a^9*b^2+165*a^8*b^3+330*a^7*b^4+462*a^6*b^5+462*a^5*b^6+330*a^4*b^7+165*a^3*b^8+55*a^2*b^9+11*a*b^10+b^11
(a+b)^12=a^12+12*a^11*b+66*a^10*b^2+220*a^9*b^3+495*a^8*b^4+792*a^7*b^5+924*a^6*b^6+792*a^5*b^7+495*a^4*b^8+220*a^3*b^9+66*a^2*b^10+12*a*b^11+b^12
(a+b)^13=a^13+13*a^12*b+78*a^11*b^2+286*a^10*b^3+715*a^9*b^4+1287*a^8*b^5+1716*a^7*b^6+1716*a^6*b^7+1287*a^5*b^8+715*a^4*b^9+286*a^3*b^10+78*a^2*b^11+13*a*b^12+b^13
(a+b)^14=a^14+14*a^13*b+91*a^12*b^2+364*a^11*b^3+1001*a^10*b^4+2002*a^9*b^5+3003*a^8*b^6+3432*a^7*b^7+3003*a^6*b^8+2002*a^5*b^9+1001*a^4*b^10+364*a^3*b^11+91*a^2*b^12+14*a*b^13+b^14
(a+b)^15=a^15+15*a^14*b+105*a^13*b^2+455*a^12*b^3+1365*a^11*b^4+3003*a^10*b^5+5005*a^9*b^6+6435*a^8*b^7+6435*a^7*b^8+5005*a^6*b^9+3003*a^5*b^10+1365*a^4*b^11+455*a^3*b^12+105*a^2*b^13+15*a*b^14+b^15
(a-b)^2=a^2-2*a*b+b^2
(a-b)^3=a^3-3*a^2*b+3*a*b^2-b^3
(a-b)^4=a^4-4*a^3*b+6*a^2*b^2-4*a*b^3+b^4
(a-b)^5=a^5-5*a^4*b+10*a^3*b^2-10*a^2*b^3+5*a*b^4-b^5
(a-b)^6=a^6-6*a^5*b+15*a^4*b^2-20*a^3*b^3+15*a^2*b^4-6*a*b^5+b^6
(a-b)^7=a^7-7*a^6*b+21*a^5*b^2-35*a^4*b^3+35*a^3*b^4-21*a^2*b^5+7*a*b^6-b^7
(a-b)^8=a^8-8*a^7*b+28*a^6*b^2-56*a^5*b^3+70*a^4*b^4-56*a^3*b^5+28*a^2*b^6-8*a*b^7+b^8
(a-b)^9=a^9-9*a^8*b+36*a^7*b^2-84*a^6*b^3+126*a^5*b^4-126*a^4*b^5+84*a^3*b^6-36*a^2*b^7+9*a*b^8-b^9
(a-b)^10=a^10-10*a^9*b+45*a^8*b^2-120*a^7*b^3+210*a^6*b^4-252*a^5*b^5+210*a^4*b^6-120*a^3*b^7+45*a^2*b^8-10*a*b^9+b^10
(a-b)^11=a^11-11*a^10*b+55*a^9*b^2-165*a^8*b^3+330*a^7*b^4-462*a^6*b^5+462*a^5*b^6-330*a^4*b^7+165*a^3*b^8-55*a^2*b^9+11*a*b^10-b^11
(a-b)^12=a^12-12*a^11*b+66*a^10*b^2-220*a^9*b^3+495*a^8*b^4-792*a^7*b^5+924*a^6*b^6-792*a^5*b^7+495*a^4*b^8-220*a^3*b^9+66*a^2*b^10-12*a*b^11+b^12
(a-b)^13=a^13-13*a^12*b+78*a^11*b^2-286*a^10*b^3+715*a^9*b^4-1287*a^8*b^5+1716*a^7*b^6-1716*a^6*b^7+1287*a^5*b^8-715*a^4*b^9+286*a^3*b^10-78*a^2*b^11+13*a*b^12-b^13
(a-b)^14=a^14-14*a^13*b+91*a^12*b^2-364*a^11*b^3+1001*a^10*b^4-2002*a^9*b^5+3003*a^8*b^6-3432*a^7*b^7+3003*a^6*b^8-2002*a^5*b^9+1001*a^4*b^10-364*a^3*b^11+91*a^2*b^12-14*a*b^13+b^14
(a-b)^15=a^15-15*a^14*b+105*a^13*b^2-455*a^12*b^3+1365*a^11*b^4-3003*a^10*b^5+5005*a^9*b^6-6435*a^8*b^7+6435*a^7*b^8-5005*a^6*b^9+3003*a^5*b^10-1365*a^4*b^11+455*a^3*b^12-105*a^2*b^13+15*a*b^14-b^15
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
不懂。几年级的呀?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
还是自己不要懒了,
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2009-09-23
展开全部
不会举一反三吗?
写这么多?累傻小子啊!
写这么多?累傻小子啊!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
^是什么意思?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询