Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.1K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

[?] Use implicit region definition?

Posted 6 years ago
POSTED BY: Mike Luntz
2 Replies
Posted 6 years ago
Attachments:
POSTED BY: Mike Luntz

Hi,

Have you tried using Ball instead of Sphere?

r0 = Ball[{0, 0, 0}, 1.0]
r1 = ImplicitRegion[x^2 + y^2 + z^2 <= 1., {x, y, z}]
NIntegrate[(x + y + z)^2, {x, y, z} \[Element] r0]
NIntegrate[(x + y + z)^2, {x, y, z} \[Element] r1]

gives the same result (2.51327).

Cheers,

Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard