[R] How to calculate a double integral ...?
cjlu at mail.ncku.edu.tw
Thu Oct 21 04:10:10 CEST 2004
How can I calculate a double integral like
\int_a^b \int_c^y g(x, y) dx dy
where a, b, c are constants, g(x, y), e.g.,
g(x, y) = tan(x + y).
I tried to nested integrate() and adapt(),
but none of them working, seemingly due to the
limits can not be specified constants.
C. Joseph Lu
Department of Statistics
National Cheng-Kung University
Voice: (886)-6-275-7575 Ext. 53638
More information about the R-help