| Author |
Comment/Response |
Student0002012
|
12/20/12 5:43pm
Hello,
here is the function:
Pension = 1000000; Risky = 0.6; Riskless = 0.4; riskfree = 0.04; mu = \
0.12; sigma = 0.3; draw = 150000;
Data10 = Data9*(Risky*
Exp[mu + sigma*RandomReal[NormalDistribution[0, 1]]] +
Riskless*Exp[riskfree]) - draw
I want that mathematica does this function 100 times!
Do[Print[Data10], {100}] <-- Doesn't work because mathematice prints the same solution 100 times, but i want to have 100 different solutions... but it always uses the same randomnumber
Attachment: basic.nb, URL: , |
|