| ÍøÕ¾Ê×Ò³ | Òµ½çÐÂÎÅ | С×é | Íþ¿Í | È˲Š| ÏÂÔØƵµÀ | ²©¿Í | ´úÂëÌù | ÔÚÏß±à³Ì | ±à³ÌÂÛ̳
»¶Ó­¼ÓÈëÎÒÃÇ£¬Ò»Í¬Çд輼Êõ
Óû§Ãû£º   
 
ÃÜ¡¡Â룺  
¹²ÓÐ 233 È˹Ø×¢¹ý±¾Ìû
±êÌ⣺ΪʲôϵͳÌáʾ³ö´íÄØ
Ö»¿´Â¥Ö÷ ¼ÓÈëÊÕ²Ø
Ìӿκú¢×Ó
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º3
ר¼Ò·Ö£º0
×¢¡¡²á£º2011-5-13
ÊÕ²Ø
 ÎÊÌâµãÊý£º0 »Ø¸´´ÎÊý£º6 
ΪʲôϵͳÌáʾ³ö´íÄØ
#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
laoyang103
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
À´¡¡×Ô£ºÄÚÃɹŰüÍ·
µÈ¡¡¼¶£º¹ó±ö
Íþ¡¡Íû£º19
Ìû¡¡×Ó£º3082
ר¼Ò·Ö£º11056
×¢¡¡²á£º2010-5-22
ÊÕ²Ø
µÃ·Ö:0 
ÒòΪÄãÓï·¨´íÁËѽ  ºÜ¼ò´ð°¡

                                         
===========ÉîÈë<----------------->dz³ö============
2011-05-13 20:05
hjywyj
Rank: 11Rank: 11Rank: 11Rank: 11
µÈ¡¡¼¶£ºÐ¡·ÉÏÀ
Íþ¡¡Íû£º3
Ìû¡¡×Ó£º1114
ר¼Ò·Ö£º2611
×¢¡¡²á£º2010-4-14
ÊÕ²Ø
µÃ·Ö:0 
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};

x Ä㶨ÒåÁËʲô£¬y¶¨ÒåÁËÂð£¿
2011-05-13 20:08
Ò¹Ò¶
Rank: 3Rank: 3
µÈ¡¡¼¶£ºÂÛ̳ÓÎÏÀ
Ìû¡¡×Ó£º104
ר¼Ò·Ö£º189
×¢¡¡²á£º2011-5-7
ÊÕ²Ø
µÃ·Ö:0 
Á½¸öÊý×鶼û¶¨Òå¾ÍʹÓÃÁË£¬ÊǸóö´íÌáʾÏÂÁË
2011-05-13 20:15
jasonrenest
Rank: 2
µÈ¡¡¼¶£ºÂÛ̳ÓÎÃñ
Ìû¡¡×Ó£º6
ר¼Ò·Ö£º10
×¢¡¡²á£º2010-8-24
ÊÕ²Ø
µÃ·Ö:0 
x[5]={0.4,0.55,0.8,0.9,1};
y[5]={0.41075,0.57815,0.88811,1.02652,1.17520};
ÕâÁ½ÐеÄÊý×éûÓỶ¨Ò壬Ӧ¸ÃÔÚÊý×é֮ǰ¼ÓÒ»¸öfloat ,²¢ÇÒxÊý×éºÍ±äÁ¿x»á³åÍ»
u[0]=0.41075*(x-x[1])*(x-x[2])*(x-x[3])*(x-x[4])£»
ÕâÒ»ÐеÄ×îºóÒ»¸ö·ÖºÅ²»ÄÜÔÚººÓïÊäÈë״̬ÏÂÊäÈ룬±àÒëʱ»áÎÞ·¨Ê¶±ð¡£
С²ËÄñ£¬Ö»¿´µ½ÕâÁ½¸öÎÊÌâ¡£
2011-05-13 20:20
¿ìËٻظ´£ºÎªÊ²Ã´ÏµÍ³Ìáʾ³ö´íÄØ
Êý¾Ý¼ÓÔØÖÐ...
 
¡¡¡¡¡¡



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

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