[R] How to calculate a double integral ...?
cjlu
cjlu at mail.ncku.edu.tw
Thu Oct 21 04:10:10 CEST 2004
Dear R-Friends,
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.
Best regards,
C. Joseph Lu
Department of Statistics
National Cheng-Kung University
Voice: (886)-6-275-7575 Ext. 53638
Fax: (886)-6-234-2469
More information about the R-help
mailing list