Help solving this problem?

7 ビュー (過去 30 日間)
Bailey Owen Banks
Bailey Owen Banks 2019 年 12 月 4 日
コメント済み: Bailey Owen Banks 2019 年 12 月 7 日
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 日
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))
  1 件のコメント
Bailey Owen Banks
Bailey Owen Banks 2019 年 12 月 7 日
Thank you so much!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by