Help solving this problem?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Bailey Owen Banks
il 4 Dic 2019
Commentato: Bailey Owen Banks
il 7 Dic 2019
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/252510/image.png)
I was wondering if anyone could lend me a hand in starting to solve this question? im relatively new to the program.
0 Commenti
Risposta accettata
cater re
il 4 Dic 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))
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Array Geometries and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!