adplus-dvertising
frame-decoration

Question

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

a.

1/1-a

b.

Inf

c.

Error due to Inf

d.

Error due to an unmentioned value of a

Posted under MATLAB

Answer: (a).1/1-a

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 shown?