已知某事故树有3个最小割集:K1={X1};K2={X2,X3};K3={X4,X5,X6,X7}。则单事件最小割集中基本事件结构重要度最大是()
A: X1
B: X2
C: X3
D: X4
A: X1
B: X2
C: X3
D: X4
举一反三
- 继续上题,为了程序编写简洁,要给数据框x中的6列重新命名为x1,x2,x3,x4,x5,x6,应该使用的命令是() A: ColNames(x) <- c("x1","x2","x3","x4","x5","x6") B: Names(x) <- c("x1","x2","x3","x4","x5","x6") C: colnames(x) <- c("x1","x2","x3","x4","x5","x6") D: colname(x) <- c("x1","x2","x3","x4","x5","x6")
- 已知某事故树有3个最小割集:K1={X1};K2={X2,X3};K3={X4,X5,X6,X7}。则单事件最小割集中基本事件结构重要度最大是() A: AX1 B: BX2 C: CX3 D: DX4
- 求函数 f(x)=3*x1^2 + 2*x1*x2 + x2^2 − 4*x1 + 5*x2. 时,输入代码 >>fun = @(x)3*x(1)^2 + 2*x(1)*x(2) + x(2)^2 - 4*x(1) + 5*x(2); >>x0 = [1,1]; >>[x,fval] = fminunc(fun,x0); 其中fun的作用是:
- F(x1,x2,x3)= x 1 2 +2x 2 2 +5x 3 2 +2x 1 x 2 +2x 1 x 3 +6x 2 x 3 的标准形为()
- 求函数 f(x)=3*x1^2 + 2*x1*x2 + x2^2 − 4*x1 + 5*x2. 时,输入代码 >>fun = @(x)3*x(1)^2 + 2*x(1)*x(2) + x(2)^2 - 4*x(1) + 5*x(2); >>x0 = [1,1]; >>[x,fval] = fminunc(fun,x0); 到matlab上运行一下,得到的结果,x是: