返回并尝试进行一些更正...希望现在更有意义了。
我正在尝试将$ sum_ {k = 1} ^ \ infty \ left((2 ^ {-k \ gamma} +1)^ \ gamma \ right)$绘制为R中伽玛的函数,但是我不确定如何在R中编写求和?我什至可以那样做吗?
这就是想法...
g = seq(2, 16, length.out = 10)
f = sum( ( 2^{-k * g} +1 ) ^ g )? (I know this is wrong/ I don't know what to do with k)
plot(g, f, type="l", col="blue")