Recent content by hbz88
-
Mathematica For looping problem not getting answer
I want to find the final value of I1 and I2 using the for loop (from x=0 up to x=Q - dx). fx and fxplus dx is a PDF of normal distribution. When I run, I get final value I1, and I2 equal to 0.There's no changes from the initial value.- hbz88
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Mathematica For looping problem not getting answer
Hi, I need some helps. I try to run the code below but its keep give me the value of intial value. Q = 1415; \[Mu] = 1000; \[Sigma] = 500; double dx; double x; double fx; double fxplusdx; double I1; double I2; I1 = 0; I2 = 0; For[x = 0, x <= Q - dx, dx += 0.01, fx = PDF[NormalDistribution[0...- hbz88
- Thread
- For loops Mathematica
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX