Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °
You are not logged in.
Post a reply
Topic review (newest first)
How does that relate to Computer math?
How about writing a CFD simulation or a chemistry one?
No, that is a PDF. The random variate command constructs an array of random numbers that obey that PDF.
Is that an array construct?
Anyway, i'll try..
I prefer it too but I am afraid that it will always be like a second language to me. When you begin with procedural you are poisoned for life. See you later, got to get off.
No problem, i'll explore more into the functional stuff..
Oh sorry, I did not understand. I thought you meant program size.
Okay, it's very lightweight when compared to other functional programming languages, so I'm fascinated!
samp=:1000000 f=:1+?samp$0 fx=:2*(1-%f^2) (+/%#)f*fx
Solve the equation
for x. You get 2 solutions:
I used the second one.
Well, since the PDF is 0 for x<0, the integral from 0 to x is exactly the CDF.