Ask Your Question

ProfGra's profile - activity

2018-01-14 04:42:49 -0500 commented answer Bad surface for `max`

But as it was written I thought I had to somewhat circumvent using directly max. Thanks anyway.

For the completeness of the answer, could you just add:

Or directly plot3d(max, (-5, 5), (-5, 5))

2018-01-13 00:56:57 -0500 received badge  Scholar (source)
2018-01-13 00:56:33 -0500 commented answer Bad surface for `max`

Please note that plot3d(max, (-5, 5), (-5, 5)) works directly.

2018-01-12 07:42:59 -0500 received badge  Student (source)
2018-01-12 07:00:40 -0500 asked a question Bad surface for `max`

Hi,
With the code:

var('x,y')
plot3d(max(x,y), (x, -5, 5), (y, -5, 5))

Why don't I get something symetric by the x=y plane?

This code gives me want I thought I'd get:

var('x,y')
plot3d((x+y+abs(x-y))/2, (x, -5, 5), (y, -5, 5))