採用された回答

Sabarinathan Vadivelu
Sabarinathan Vadivelu 2012 年 12 月 29 日

0 投票

n = 10; % assuming it to be 10
x = 0;
for i = 1 : n
x = ((1/i) + (1/(i+2)*(i+3))) + x;
end

その他の回答 (1 件)

Roger Stafford
Roger Stafford 2012 年 12 月 29 日

0 投票

ix = 1:n;
s = sum(1./ix+1./((ix+2).*(ix+3)));

カテゴリ

ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by