试求下列函数的逆函数 (1)f1={<x, x+1>|x属于R} (2)f2={<0, 1>,<1, 1/2>,<2, 1/3>,...,<n, 1/(n+1) >,...}
第1题:
求不等式5x-1>3(x+1)与x/2-1<7-3 x/2的解集的公共部分。
5x-1>3x+3 x-2<14-3x
x>2 x<4
2<x<4
第2题:
C 程序写运行结果。
class A
{
public:
void f1()
{
printf("A::f1\r\n");
}
virtual void f2()
{
printf("A::f2\r\n");
}
void callfunc()
{
printf("A::callfunc\r\n");
f1();
f2();
}
};
class B :public A
{
public:
void f1()
{
printf("B::f1\r\n");
}
void f2()
{
printf("B::f2\r\n");
}
void callfunc()
{
printf("B::callfunc\r\n");
f1();
f2();
}
};
int main()
{
B *pB=new B;
pB->callfunc();
A *pA=pB;
pA->callfunc();
return 0;
}
第3题:
下列程序的输出结果是( )。
int f1(int x,inty){return x>y?x:y;}
int f2(int x,inty){return x>y?y:x;}
main()
{int a=4,b=3,c=5,d=2,e,f,g;
e=f2(f1(a,B) ,f1(c,D) );
f=f1(f2(a,B) ,f2(c,D) );
g=a+b+C+d-e-f;
phntf("%d,%d,%d\n",e,f,g);
}
A.4,3,7
B.3,4,7
C.5,2,7
D.2,5,7
第4题:
以下程序的输出结果是( )。 include<stdio.h> void main() {int f,f1,f2,i; f1=0;f2=1; printf("%d%d",f1,f2); for(i=3;i<=5;i++) {f=-f1+f2,printf("%d",f); f2=f1;f1=f; } printf("\n"); }
第5题:
第6题:
第7题:
第8题:
设F1(x)与F2(x)为两个分布函数,其相应的概率密度f1(x)与f2(x)是连续函数,则必为概率密度的是()
第9题:
设f1(x)和f2(x)为二阶常系数线性齐次微分方程y″+py′+g=0的两个特解,若由f1(x)和f2(x)能构成该方程的通解,下列哪个方程是其充分条件()?
第10题:
15,2
15,15
2,15
8,8
第11题:
ln[(2x-1)/(x-1)]/(x+1)2
ln[(2x+1)/(x+1)]/(x+1)2
ln[(2x+1)/(x+1)]/(x-1)2
ln[(2x-1)/(x+1)]/(x+1)2
第12题:
f1(x)f2′(x)-f2(x)f1′(x)=0
f1(x)f2′(x)+f1′(x)f2(x)=0
f1(x)f2′(x)-f1′(x)f2(x)≠0
f1′(x)f2(x)+f2(x)f1(x)≠0
第13题:
以下程序的输出结果是( )。 #include<stdio.h> int fun(int n,int *s) { int f1,f2; if(n==0||n==1) *s=1; else { fun(n-1,&f1); fun(n-2,&f2); *s=f1+f2; } } void main() { int x; fun(6,&x); printf("\n%d" ,x);}
A.7
B.13
C.9
D.10
第14题:
分析下列伪码操作,表示所需步骤的函数是(58)。(1)I=1;(2)x=0;(3)while(1<N)a. x=x+1; b.1=I+1;
A.N-1
B.N
C.N+1
D.log2N
第15题:
以下程序的输出结果是
#include<stdio.h>
int fun(int n,int *s)
{ int f1,f2;
if(n==0||n==1)
*s=1;
else
{ fun(n-1,&f1);
fun(n-2,&f2);
*s=f1+f2;
} }
void main()
{ int x;
fun(6,&x);
printf("\n%d",x);}
A.7
B.13
C.9
D.10
第16题:
第17题:
第18题:
第19题:
将10N的力分解为两个分力F1、F2,则F1、F2的值不可能是下列的哪一组?()
第20题:
设X1,X2是任意两个相互独立的连续型随机变量,它们的概率密度分别为f1(x)与f2(x),分布函数分别为F1(x)与F2(x),则()
第21题:
幂级数x2-(1/3)x3+(1/3)x4-…+[(-1)n+1/n]xn+1+…(-1()
第22题:
f1(x)f′2(x)-f2(x)f′1(x)=0
f1(x)f′2(x)-f2(x)f′1(x)≠0
f1(x)f′2(x)+f2(x)f′1(x)=0
f1(x)f′2(x)+f2(x)f′1(x)≠0
第23题:
ln[(2x-1)/(x+1)](x+1)
ln[(2x-1)/(x+1)]/(x+1)2
ln[(2x-1)/(x+1)](x+1)2
ln[(2x-1)/(x+1)]/(x+1)
第24题:
y′+P(x)y=f1(x)+f2(x)
y+P(x)y′=f1(x)-f2(x)
y+P(x)y′=f1(x)+f2(x)
y′+P(x)y=f1(x)-f2(x)