1樓:匿名使用者
解:設f(x)=ax3+bx2+cx+d(a>0)由題意可得f(1)=8,f(3)=0帶入原方程可得:
8=a+b+c+d…………○1
0=27a+9b+3c+d……○2
設f』(x)為f(x)的導函式,有
f』(x)=3ax2+2bx+c
因為當x=3時專f(x)取得極小值,所以f』(3)=0則可列屬出方程:
0=27a+6b+c……○3
又因為若直線過點(1,8),(3,0)則該直線的斜率為k=(8-0)/(1-3)=-4。由已知得,該直線是f(x)在點(1,8)上的切線,則f』(1)=-4
所以-4=3a+2b+c……○4
聯立方程○1,○2,○3,○4
解之得:a=1,b=-5,c=3,=9
所以f(x)= x3-5x2+3x+9
求幫忙程式設計 1.有一函式:當x<0時,y=-1;當x=0時,y=0;當x>0時,y=1。 編一程
2樓:匿名使用者
1,#include
int main()
2,#include
int main()
if(c < b)
c = c+b - (b = c);
printf("%f %f %f",c,b,a);
return 0;
}3,#include
int main()
4,#include
int main()
5,#include
#include
int main()
1、有一分段函式如下,請編寫程式,輸入x值,輸出y值。 當x<=-1 y=sinx+2cosx 當-1
3樓:浪裡小青魚
|#include
#include
int main()
else if (x>=10)
else
}擴充套件資料
using namespace std;
class cstudent
;int main()
4樓:
#include
#include
#include
int main()
// sin( x ) 要加上括號 。 printf 要用 %g 或者 %f 作為輸出格式這樣才能輸出小數
else if(x<=1) printf("%g\n",1/(x^2-1));
else printf("%g\n",sqrt(x^3-1));}}
已知y是x的一次函式,當x1時,y3當x2時,y
設y kx b 3 k b 5 2k b 所以k 2 b 1 y 2x 1 x 3 y 5 解 設該一次函式bai 為duy kx b 把當x 1時,zhiy 3 當x 2時,y 5分別代入y kx b得 dao 3 k b,5 2k b k 2,b 1 該一次函式版為y 2x 1 當x 3時,y ...
當x1時,不等式x (1 x 1)a恆成立,則實數a的取值範圍是
x 1 x 1 x 1 x 1 2 1 1,當且僅當x 1時成立 由於x 1 因此實數a的取值範圍是 1,x 1 x 1 x 1 1 x 1 1 因為x 1,所以x 1 0,所以x 1 1 x 1 1 2 x 1 1 x 1 1 3 要使不等式恆成立,a 3 所以a的取值範圍為a 3 解 1 x 1...
當x1根號20192時4x32019x
x 1 2005 2 2x 1 根號2005 兩邊平方 4x 2 4x 2004 0 x 2 x 501 0 x 2 x 501 4x 3 2008x 2006 4x x 501 2008x 2006 4x 2 4x 2006 4 x 2 x 2006 4 501 2006 2 4x 3 2008x...