Help solving this problem?

1 visualización (últimos 30 días)
Bailey Owen Banks
Bailey Owen Banks el 4 de Dic. de 2019
Comentada: Bailey Owen Banks el 7 de Dic. de 2019
I was wondering if anyone could lend me a hand in starting to solve this question? im relatively new to the program.

Respuesta aceptada

cater re
cater re el 4 de Dic. de 2019
an(1) = 2
an(2) = 5
total = 0
for i=3:100
an(i) = an(i-1) + 2*an(i-2)
total = total + an(i)
end
plot(3:100, an(3:100))

Más respuestas (0)

Categorías

Más información sobre Array Geometries and Analysis en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by