Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to write a short code in Mathematica that can generate random real numbers in - say 5 secs, and then plot this against any specified range I want. An additional complexity is that the function I'm generating the random numbers for is embedded in an integral. Here's an example of the algorithm:

From time t = 1 to 5;

Generate random real numbers for f = Integrate[sigma[x]^2,x]

Store f in another variable (say z)

Plot all values in z against a specified range

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# To generate and plot random real numbers in Mathematica within a specified time range

**Physics Forums | Science Articles, Homework Help, Discussion**