Nonce error -: unimplemented I've not yet used u"v . I'd prefer effort in calculus algorithms. Perhaps I've written bad j? Or failed to specify 0 <: x ? Thanks, Dave. PS. How do we Punctuate sentences containing j?
"The region bound by y = e^(-x^2), y = 0, x = 0, and x = b (b>0) is revolved about the y axis. 1) Find the volume of the solid generated if b = 1. 2) Find b such that the volume of the generated solid is 4/3 cubic units." NB. The solutions will follow quickly after we find "volume(x)" f =: ^...@-@*: NB. the function NB. Giving two pieces, a cylinder with volume cyl =: o. @ (f * *:) NB. use: cyl b NB. and the rest of Gauss's UFO by disc method finv =: f^:_1 NB. f's inverse integrand =: o. @ *: @ finv ii =: integrand D. _1 NB. indefinite integral |nonce error | ii =: integrand D. _1 NB. indefinite integral ii =: integrand d. _1 NB. indefinite integral ii 0.1 |domain error: ii | ii 0.1 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
