PowerShell offers a straightforward approach to generate random numbers using the Get-Random cmdlet.
Get-Random
You’ve got a few handy cmdlets and methods in PowerShell for rounding.
PowerShell doesn’t have built-in complex number support, so you either roll your own solution or use .NET’s System.Numerics.Complex.
System.Numerics.Complex