Simplest way to calculate Pi with App Inventor

579 views
Skip to first unread message

Scott Ferguson

unread,
May 7, 2014, 7:41:08 AM5/7/14
to mitappinv...@googlegroups.com
After looking over several formulas to generate Pi that use arc-tangents (http://mathworld.wolfram.com/PiFormulas.html)
and arc-cotangents (http://mathworld.wolfram.com/MachinsFormula.html), I wrote the first formula using App Inventor's atan Math block.
When I solved for Pi, the answer was 180 degrees.
But 180 degrees is Pi radians.

So by using the convert block, 180 degrees can be converted to Pi:

---
Scott


Reply all
Reply to author
Forward
0 new messages