Platforms to show: All Mac Windows Linux Cross-Platform

RandomExponentialDistributionMBS(lambda as Double) as double

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Math MBS Util Plugin 24.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Generates a random number using exponential distribution.
Example
// simulate waiting times between arrivals with 2 customers per minute on average
Var lines() As String
For i As Integer = 1 To 5
lines.Add Format(RandomExponentialDistributionMBS(2) * 60, "0") + " seconds"
Next
MessageBox String.FromArray(lines, EndOfLine)

Produces random non-negative floating-point values, distributed according to probability density function.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...