3
$\begingroup$

I tried running a piece of code in the examples listed in Scope in https://reference.wolfram.com/language/ref/ParametricRegion.html and it gives an error.

I tried running the below code to get a conical surface:

DiscretizeRegion[
ParametricRegion[
{h Cos[\[Theta]], h Sin[\[Theta]],h},
{{\[Theta], 0, 2 \[Pi]}, {h, 0, 3}}
]]

and I get the below error:

DiscretizeRegion::drf: "DiscretizeRegion was unable to discretize the region ParametricRegion[<<2>>]

I am running Mathematica 10.4.1.0 on Windows (64-bit)

Could you please help me diagnose the issue here?

$\endgroup$
5
  • 1
    $\begingroup$ It is working for me See this $\endgroup$ Commented Apr 6, 2017 at 17:27
  • 5
    $\begingroup$ It looks like this didn't work in 10.4.1, but it works in 11.1. You're using 11.1 documentation (most recent) if you're looking online. This example was NOT documented in 10.4.1, so it can't necessarily be expected to work there. I'm not sure where the update was, but you should upgrade your version of Mathematica. $\endgroup$ Commented Apr 6, 2017 at 17:34
  • 1
    $\begingroup$ It did not work for me in 11.0.1. $\endgroup$ Commented Apr 6, 2017 at 18:24
  • 1
    $\begingroup$ Thanks @user6014. It works for me on 11.1. I had put off upgrade, but this version really does much more $\endgroup$ Commented Apr 6, 2017 at 19:33
  • $\begingroup$ @Shivanand glad to hear! $\endgroup$ Commented Apr 6, 2017 at 19:34

1 Answer 1

0
$\begingroup$

As @user6014 and @LouisB pointed out, Mathematica 11.1 is able to run it (I have a student license), but Mathematica 11.0 cannot (I have that installed on my lab computer). The documentation indeed seems to have been made for version 11.1 of Mathematica.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.