Bruno Ruviaro edited Pwhite.tex  almost 10 years ago

Commit id: ae0b577617df0a90ce6e595a1b7118f02af92b0d

deletions | additions      

       

\bigskip    \begin{quote}  TIP: A \texttt{Pwhite} with two integer numbers will generate only integers. For example, \texttt{Pwhite(100, 500)} will output numbers like 145, 568, 700, but not 145.6, 450.32, etc. If you want floating point numbers in your output, write \texttt{Pwhite(100, 500.0)}. This is very useful for, say, amplitudes: if you write \texttt{Pwhite(0, 1)} you are only getting 0 or 1, but write \texttt{Pwhite(0, 1.0)} and you will get everything in between.  \end{quote}  Try the following questions to test your new knowledge: