Ask Your Question

ProfGra's profile - activity

2018-01-14 11:42:49 +0200 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 07:56:57 +0200 received badge  Scholar (source)
2018-01-13 07:56:33 +0200 commented answer Bad surface for `max`

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

2018-01-12 14:42:59 +0200 received badge  Student (source)
2018-01-12 14:00:40 +0200 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))