Free
Black friday sale icon
Ready for Black Friday?
Click to generate a QR code for easy access to the app on the App Store

About PiSwift

  • Released
  • Updated
  • iOS Version
  • Age Rating
  • Size
  • Devices
  • Languages

Features

Developer of PiSwift

PiSwift screenshot #1 for iPhone
PiSwift screenshot #2 for iPhone
PiSwift screenshot #3 for iPhone
PiSwift screenshot #4 for iPhone
iphone
ipad
🗣❌ unsupported
Your locale
🖼️Download
Icons↘︎
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.
Show less

What's New in PiSwift

1.2

March 20, 2021

Fixed a bug in graphics routine.

Reviews of PiSwift

Works well & can use large # of points

Good app. Took my 5s phone about a half second to generate a million points and calculate pi. Pretty neat. Delta plot very useful for large numbers of points. Support url has some interesting pi statistics for Monte Carlo method.

Alternatives to PiSwift

More Applications by Richard Loda

PiSwift FAQ

Is there an iPad version available for PiSwift?

Yes, PiSwift can be used on iPad devices.

Who launched the app?

The PiSwift app was built by Richard Loda.

What iOS version is needed to run the PiSwift app?

The minimum iOS requirement for the app is 12.0 or higher.

What is the current app rating?

The current user rating of the PiSwift app is 5.

What category of app is PiSwift?

The Piswift App Relates To The Education Genre.

Which is the latest version of PiSwift?

1.2 is the current version of PiSwift.

When was the most recent PiSwift update made available?

December 2, 2024 is the exact date of the latest PiSwift update.

Do you know when PiSwift was first made available?

The PiSwift app became available to the public on February 5, 2023.

What age is PiSwift suitable for?

Richard Loda: The PiSwift app is child-friendly.

What are the languages offered by the PiSwift app?

PiSwift can be used in English.

Can I enjoy PiSwift by subscribing to Apple Arcade?

Sorry, PiSwift is not on Apple Arcade.

Can I find in-app purchases in PiSwift?

Sorry, in-app purchases are not available for users of PiSwift.

Is PiSwift specifically engineered for Apple Vision Pro compatibility?

Sorry, PiSwift is not specifically engineered for compatibility with Apple Vision Pro.

Does PiSwift include ads as part of its experience?

No, PiSwift does not include ads as part of its experience.