| ÍøÕ¾Ê×Ò³ | Òµ½çÐÂÎÅ | С×é | Íþ¿Í | È˲Š| ÏÂÔØƵµÀ | ²©¿Í | ´úÂëÌù | ÔÚÏß±à³Ì | ±à³ÌÂÛ̳
»¶Ó­¼ÓÈëÎÒÃÇ£¬Ò»Í¬Çд輼Êõ
Óû§Ãû£º   
 
ÃÜ¡¡Â룺  
¹²ÓÐ 233 È˹Ø×¢¹ý±¾Ìû
±êÌ⣺ΪʲôϵͳÌáʾ³ö´íÄØ
È¡ÏûÖ»¿´Â¥Ö÷ ¼ÓÈëÊÕ²Ø
Ìӿκú¢×Ó
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º3
ר¼Ò·Ö£º0
×¢¡¡²á£º2011-5-13
ÊÕ²Ø
 ÎÊÌâµãÊý£º0 »Ø¸´´ÎÊý£º2 
ΪʲôϵͳÌáʾ³ö´íÄØ
#include <stdio.h>
main()
{float x,u[5],v[5],sum;
int i;
x[5]={0.4,0.55,0.8,0.9,1};
y[5]={0.41075,0.57815,0.88811,1.02652,1.17520};
scanf("%f",&x);
u[0]=0.41075*(x-x[1])*(x-x[2])*(x-x[3])*(x-x[4])£»
u[1]=0.57815*(x-x[0])*(x-x[2])*(x-x[3])*(x-x[4]);
u[2]=0.88811*(x-x[0])*(x-x[1])*(x-x[3])*(x-x[4]);
u[3]=1.02652*(x-x[0])*(x-x[1])*(x-x[2])*(x-x[4]);
u[4]=1017520*(x-x[0])*(x-x[1])*(x-x[2])*(x-x[3]);
v[0]=(0.4-0.55)*(0.4-0.8)*(0.4-0.9)*(0.4-1.0);
v[1]=(0.55-0.4)*(0.55-0.8)*(0.55-0.9)*(0.55-1);
v[2]=(0.8-0.4)*(0.8-0.55)*(0.8-0.9)*(0.8-1.0);
v[3]=(0.9-0.4)*(0.9-0.55)*(0.9-0.8)*(0.9-1.0);
v[4]=(1.0-0.4)*(1.0-0.55)*(1.0-0.8)*(1.0-0.9);
for(i=0;i<=4;i++)sum=sum+u[i]*v[i];
printf("%f",sum);
}
2011-05-13 19:56
Ìӿκú¢×Ó
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º3
ר¼Ò·Ö£º0
×¢¡¡²á£º2011-5-13
ÊÕ²Ø
µÃ·Ö:0 
2011-05-13 20:04
Ìӿκú¢×Ó
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º3
ר¼Ò·Ö£º0
×¢¡¡²á£º2011-5-13
ÊÕ²Ø
µÃ·Ö:0 
2011-05-13 20:04
¿ìËٻظ´£ºÎªÊ²Ã´ÏµÍ³Ìáʾ³ö´íÄØ
Êý¾Ý¼ÓÔØÖÐ...
 
¡¡¡¡¡¡



¹ØÓÚÎÒÃÇ | ¹ã¸æºÏ×÷ | ±à³ÌÖйú | Çå³ýCookies | TOP | ÊÖ»ú°æ

±à³ÌÖйú °æȨËùÓУ¬²¢±£ÁôËùÓÐȨÀû¡£
Powered by Discuz, Processed in 0.016510 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved