Numerical integration by Monte Carlo method.
|
Parameters |
Description |
|
Fun |
Integrating function. |
|
lb |
Defines lower bound. |
|
ub |
Defines pper bound. |
|
FloatPrecision |
Defines the computational precision to be used by the routine. |
|
Constants |
Additional constants defining Fun function, usually nil/null. |
|
ObjConst |
Additional objects defining Fun function, usually nil/null. |
|
N |
Number of random points in [lb,ub] interval (see comments above). |
the numerical approximate on integral of function Fun between limits lb and ub.
Performs a numerical integration of function of single variable by using Monte Carlo method.
Evaluate fuction Sin(x) on interval [0,PI] by using Monte Carlo algorithm.
|
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|