• 2022-06-14
    已知x={'a':2,'b':4},以下选项返回值为4的是:_____。
    A: x.get(b)
    B: x.get(’b‘)
    C: x.pop(1)
    D: x.values(1)
  • B

    内容

    • 0

      以4,9,1为为插值节点,求\(\sqrt x \)的lagrange的插值多项式 A: \( {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) + {1 \over {24}}(x - 4)(x - 9)\) B: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) + {1 \over {24}}(x - 4)(x - 9)\) C: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x +1) + {1 \over {24}}(x - 4)(x - 9)\) D: \( - {2 \over {15}}(x - 9)(x - 1) + {3 \over {40}}(x - 4)(x - 1) - {1 \over {24}}(x - 4)(x - 9)\)

    • 1

      已知x={'a':1,'b':2,'c':3,'d':4},x['b']的值为__________

    • 2

      求不定积分[img=112x35]17da6538063a9e4.png[/img]; ( ) A: (x^4*log(x)^2)/4 + (x^4*(log(x) - 1/4))/ B: (x^4*log(x)^2)/4 - (x^4*(log(x) - 1/4))/8 C: (x^4*log(x)^2)/4 - (x^4*(log(x) - 1/4)) D: (x^4*log(x)^2)/4 + (x^4*(log(x) - 1/4))/8

    • 3

      已知 x = [1, 2, 3, 2, 3],执行语句 x.pop() 之后,x的值为_____________。

    • 4

      已知 x = {1:1, 2:2},那么执行语句 x[2] = 4之后,len(x)的值为____________。