## The (x1,x3) contour plot of RP33 is wrong.

According to:

https://rprepo.readthedocs.io/en/latest/reliability_problems.html#sec-rp-33

the contour plot of the g function is:

Let us focus on the (x1,x3) projection:

Below is my attempt to reproduce this with OpenTURNS:

The difference is that the function seems to depend only on x3 in the center of the domain in my graphics, while the reference graphics shows that the function depends only on x1 in the center of the domain.

In order to get a third version, I used Mathematica with x2=0:

https://www.wolframalpha.com/input/?i=min%28-x1-x3%2B3*sqrt%283%29%2C-x3%2B3%29

I claim that Mathematica is correct and here is why. Setting x2=0, we get:

g = min(-x1 - x3 + 3 * sqrt(3), -x3 + 3)

that is:

g = -x3 + 3 if x1 < 3 * sqrt(3) - 3 = 2.96

and

g = -x1 - x3 + 3 * sqrt(3) otherwise.

Hence, in the center of the domain, the function only depends on x3.