I having trouble trying to compute the sum of a finite power series with matlab.Basically, the problem says to take x=0.5 and compute the sum of a series for n=5, n=10, n=25, and n=100 and for all coefficients a(adsbygoogle = window.adsbygoogle || []).push({}); _{i}=1. It also says to use the operation .^ and command sum(v) that takes a vector and returns the sum of its elements. Then to do the same thing with x=1/4 and x=2/3. I guess my real problem is that I have very little matlab experience and don't even know where to start.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MatLAB Power Series Problem

**Physics Forums | Science Articles, Homework Help, Discussion**