adplus-dvertising
frame-decoration

Question

What is the output of the following code?
syms a,k; symsum(a^k, 1, Inf)

a.

Error

b.

-1/(a-1) -1

c.

-1/(a-1)

d.

Inf

Posted under MATLAB

Answer: (a).Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?