New in Wolfram
Mathematica
8: Probability and Statistics Solvers and Properties
◄
previous

next
►
Core Algorithms
Compute a Complex Probability
Compute the probability of an event that is represented by a region in the complex plane.
In[1]:=
X
prob = Probability[ 2 x < Abs[x^2 + I y] < 5, {x, y} \[Distributed] ProductDistribution[{UniformDistribution[{3, 7}], 2}]] ;
In[2]:=
X
Labeled[RegionPlot[ 2 x < Abs[x^2 + I y] < 5, {x, 2.5, 2.5}, {y, 5, 5}, Mesh > 10, PlotStyle > Hue[.6, .3, .9], ImageSize > 350], Style[Row[{TraditionalForm[Pr[2 x < Abs[x^2 + I y] < 5]], TraditionalForm[prob]}, "="], FontFamily > "Verdana"]]
Out[2]=