photo

Gregory Fernandes


2016 年からアクティブ

Followers: 0   Following: 0

統計

Feeds

表示方法

質問


Why does this code, which is written to calculate sin(0) to sin(pi), also calculate sin(1.1*pi) even though the while loop should forbid it?
clc; clear; i=1; x=0; y(i)=sin(x*pi); while x<1 i=i+1; x=x+0.1; y(i)=sin(x*pi); end y <</matlabcentral/...

8年以上 前 | 2 件の回答 | 0

2

回答