I was wondering if anyone could lend me a hand in starting to solve this question? im relatively new to the program.

 채택된 답변

cater re
cater re 2019년 12월 4일

1 개 추천

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))

추가 답변 (0개)

질문:

2019년 12월 4일

댓글:

2019년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by