What is the output of the following code shown?
syms a k; symsum(a^k, 0, Inf)
Answer with explanationAnswer: Option D
The correct answer is 1/1-a
MATLAB will return an answer intuitively while considering symbolic summations. Here, MATLAB will return an answer which is plausible to a condition.
Discuss about the question