average of functions out of range

J shared this question 1 month ago
Answered

Say I want to average these two functions; they have out-of-range for values undefined....

S(x,y)=-cos^(-1)((π)/(2)-(cos(x)+cos(y)))

R(x,y)=cos^(-1)((π)/(2)+cos(x)+cos(y))

Comments (3)

photo
1

Have you tried using If() to set them to zero instead of undefined?

photo
1

Try

If(R(x, y) ≠ R(x, y), 0, R(x, y))
If(S(x, y) ≠ S(x, y), 0, S(x, y))

photo
1

https://www.geogebra.org/3d...

if makes the system very slow...

© 2020 International GeoGebra Institute