填空题设y=y(x)满足∫ydx·∫(1/y)dx=-1,且当x→+∞时y→0,y(0)=1,则y=____。

题目
填空题
设y=y(x)满足∫ydx·∫(1/y)dx=-1,且当x→+∞时y→0,y(0)=1,则y=____。
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

与“y=(x>0?1:x<0?-1:0)”;的功能相同的if 语句是( )。

A.if(x>0)y=1; else if(x<0)y=1; else y=0;

B.if(x) if(x>0)y=1; else if(x<0)y=-l; else y=0;

C.y=-l if(x) if(x>O)y=1; else if(x=-0)y=0; else y=-l;

D.y=0; if(x>=0) if(x>=0)y=1; else y=-l;


正确答案:B
y=(x=)071:x<0?-1:0)中有两个三目运算符,因此按从右到在的顺序运算,可写成y=(x>071:(x<0?-1:0)),故选择8选项。

第2题:

与y=(x>0?1:x<0?-1:0):的功能相同的if语句是()A.if(x>0)y=1; else if(x<0)y=-1; else y=0; else

与y=(x>0?1:x<0?-1:0):的功能相同的if语句是( )

A.if(x>0)y=1; else if(x<0)y=-1; else y=0; else y=0;

B.if(x) if(x>0)y=1; else if(x<0)y=-1;

C.y=-1; if(x) if(x>0)y=1; else if(x==0)y=0; else y=-1;

D.y=0; if(x>=0) if(x>0)y=1; else y=-1:


正确答案:A

第3题:

设X~N(0,1),Y~N(0,1),且X与Y相互独立,则X+Y服从的分布为()

A、X+Y服从N(0,1)

B、X+Y不服从正态分布

C、X+Y~X2(2)

D、X+Y也服从正态分布


参考答案:D

第4题:

以下不能实现符号函数y=sgn(x)的程序段是()。

  • A、if x>0 then y=1 else if x=0 then y=0 else y= -1
  • B、if x>0 then y=1 else if x<0 then y= -1 else y=0
  • C、if x>=0 then if x=0 then y=0 else y= -1 else y=1
  • D、if x<>0 then if x<0 then y= -1 else y= 1 else y=0

正确答案:C

第5题:

设随机变量X~N(0,σ^2),Y~N(0,4σ^2),且P(X≤1,y≤-2)=,则P(X>1,Y>-2)=_______.


答案:
解析:

第6题:

与y=(x>0? 1:x<0? -1:0);的功能相同的if语句是A.if(x>0)y=1 else if(x<0)y=-1; else y=O;B.i

与y=(x>0? 1:x<0? -1:0);的功能相同的if语句是

A.if(x>0)y=1 else if(x<0)y=-1; else y=O;

B.if(x) if(x>0)y=1; else if(x<0)y=-1;

C.y=-1; if(x) if(x>0)y=1; else if(x==0)y=0; else y=-1;

D.y=0; if(x>=0) if(x>0)y=1; else y=-1;


正确答案:A
解析:条件运算符要求有三个操作对象,它是c++语言中惟一的一个三目运算符。条件表达式的一般形式为:表达式1?表达式2:表达式3,先求解表达式1,若为非0(真)则求解表达式2,此时表达式2的值就作为整个条件表达式的值。若表达式1的值为0(假),则求解表达式3,表达式3的值就是整个条件表达式的值。本题中用了两次三目运算符。

第7题:

有一函数:以下程序段中不能根据x值正确计算出y值的是

A.if(x>0)y=1; else if(x= =0)y=0; else y=-1;

B.y=0; if(x>0)y=1; else if(x<0)y=-1;

C.y = 0; if (x> = 0) if (x>0) y = 1; else y = -1;

D.if ( x > = 0) if ( x>0)y = 1; else y = 0; else y = -1;


正确答案:C

第8题:

与“y=(x>0?1:x<0?-1:0)”;的功能相同的if 语句是( )。

A.if(x>0)y=1; else if(x<0)y=1; else="" y="0;

B." x="">0)y=1; else if(x<0)y=-l; else="" y="0;"

C.y="-l" x="">O)y=1; else if(x=-0)y=0; else y=-l;

D.y=0; if(x>=0) if(x>=0)y=1; else y=-l;


正确答案:B
y=(x=)071:x<0?-1:0)中有两个三目运算符,因此按从右到在的顺序运算,可写成y=(x>071:(x<0?-1:0)),故选择8选项。

第9题:

设X,Y相互独立,且X~B,Y~N(0,1),令U=max{X,Y},求P{1

答案:
解析:
【解】P(U≤u)=P(max{X,Y}≤u)=P(X≤u,Y≤u)=P(X≤u)P(Y≤u),
P(U≤1.96)=P(X≤1.96)P(Y≤1.96)=[P(X=0)+P(X=1)]P(Y≤1.96)

P(U≤1)=P(X≤1)P(Y≤1)=×Ф(1)=0.4205,
则P(1小于U≤1.96)=P(U≤1.96)-P(U≤1)=0.067.

第10题:

设随机变量X和Y相互独立,且X~N(0,1),Y~N(1,1),则()

  • A、P{X+Y≤0}=0.5
  • B、P{X+Y≤1}=0.5
  • C、P{X-Y≤0}=0.5
  • D、P{X-Y≤1}=0.5

正确答案:B

更多相关问题