PiSwift |
価格 | 無料 | ダウンロード |
||
---|---|---|---|---|
ジャンル | 教育 | |||
サイズ | 7.5MB | |||
開発者 | Richard Loda | |||
順位 |
| |||
リリース日 | 2017-10-03 12:43:32 | 評価 | 評価が取得できませんでした。 | |
互換性 | iOS 12.0以降が必要です。 iPhone、iPad および iPod touch 対応。 |
PiSwift uses the Monte Carlo method to approximate the value of pi.
A circle inscribed in a square of area 1 has an area of pi x r2 = pi / 4. Thus the ratio of the number of random points landing in the circle to the number of total points in the square, times 4, approximates pi.
This app generates a total number of random points ranging over seven orders of magnitude. It enables the user to see the value of pi evolve through plots of pi, and delta, the percentage difference between the calculated pi value and the value of pi stored in the computer. It also presents a scatter plot of sampled points to aid in visualizing the process, and calculates how long it takes for your device to generate the random points and do the calculation.
It’s not the fastest, most accurate or most sophisticated method known to approximate pi, but it is fun to watch the value of pi “evolve” as more random points are used, and observe how few points are needed to come close to the actual value.
INSTRUCTIONS:
Load app, choose number of points with stepper, press Calculate Pi.
Main screen scatter plot presents 100 sampled points of equally spaced data (see below).
Press Graph button to observe the evolution of pi or delta (toggle) in graphical form.
Double tap gesture changes the origin of the graph, pan moves the graph.
Pinch gesture at greater than 45 degrees scales the Y axis, and at less than 45 degrees scales the X axis (independently).
Stepper in Graph view allows for the independent scaling of delta (Y axis, to x200).
USAGE TIPS:
Start with a low number of points to initially see how long your iOS device takes to perform the calculation.
Use that number to predict the time required for a larger number of points (older devices take many minutes for upper limits).
Graph shows values of pi or delta after the sampling interval. If Log10 points = 2, pi or delta are calculated after every point. If Log10 points = 3, pi or delta are calculated every 10 points. If Log10 points = 4, it calculates values every 100 points, etc.
If you dislike your graph adjustments, toggling the Back/Graph button resets the graph to original values, without re-calculating pi.
更新履歴
Fixed a bug in graphics routine.
A circle inscribed in a square of area 1 has an area of pi x r2 = pi / 4. Thus the ratio of the number of random points landing in the circle to the number of total points in the square, times 4, approximates pi.
This app generates a total number of random points ranging over seven orders of magnitude. It enables the user to see the value of pi evolve through plots of pi, and delta, the percentage difference between the calculated pi value and the value of pi stored in the computer. It also presents a scatter plot of sampled points to aid in visualizing the process, and calculates how long it takes for your device to generate the random points and do the calculation.
It’s not the fastest, most accurate or most sophisticated method known to approximate pi, but it is fun to watch the value of pi “evolve” as more random points are used, and observe how few points are needed to come close to the actual value.
INSTRUCTIONS:
Load app, choose number of points with stepper, press Calculate Pi.
Main screen scatter plot presents 100 sampled points of equally spaced data (see below).
Press Graph button to observe the evolution of pi or delta (toggle) in graphical form.
Double tap gesture changes the origin of the graph, pan moves the graph.
Pinch gesture at greater than 45 degrees scales the Y axis, and at less than 45 degrees scales the X axis (independently).
Stepper in Graph view allows for the independent scaling of delta (Y axis, to x200).
USAGE TIPS:
Start with a low number of points to initially see how long your iOS device takes to perform the calculation.
Use that number to predict the time required for a larger number of points (older devices take many minutes for upper limits).
Graph shows values of pi or delta after the sampling interval. If Log10 points = 2, pi or delta are calculated after every point. If Log10 points = 3, pi or delta are calculated every 10 points. If Log10 points = 4, it calculates values every 100 points, etc.
If you dislike your graph adjustments, toggling the Back/Graph button resets the graph to original values, without re-calculating pi.
更新履歴
Fixed a bug in graphics routine.
ブログパーツ第二弾を公開しました!ホームページでアプリの順位・価格・周辺ランキングをご紹介頂けます。
ブログパーツ第2弾!
アプリの周辺ランキングを表示するブログパーツです。価格・順位共に自動で最新情報に更新されるのでアプリの状態チェックにも最適です。
ランキング圏外の場合でも周辺ランキングの代わりに説明文を表示にするので安心です。
サンプルが気に入りましたら、下に表示されたHTMLタグをそのままページに貼り付けることでご利用頂けます。ただし、一般公開されているページでご使用頂かないと表示されませんのでご注意ください。
幅200px版
幅320px版
Now Loading...
「iPhone & iPad アプリランキング」は、最新かつ詳細なアプリ情報をご紹介しているサイトです。
お探しのアプリに出会えるように様々な切り口でページをご用意しております。
「メニュー」よりぜひアプリ探しにお役立て下さい。
Presents by $$308413110 スマホからのアクセスにはQRコードをご活用ください。 →
Now loading...