NSF Logo Exploring Multivariable Calculus

Dynamic Visualization Tools for Multivariable Calculus (Developed with support from the NSF: DUE-IUSE #1524968 and DUE-CCLI #0736968)

Home

CalcPlot3D JavaScript App

CalcPlot3D Java Applet

CalcPlot3D WordPress Blog

Professor Seeburger's Faculty Webpage

Dynamic Calculus - Additional Calculus Visualizations

Workshop/Faculty Link

Install Latest Java Plugin

Other Resources

License (Creative Commons BY-NC-SA)

Terms of Use


Discussion

Recent Discussion

Create New Topic


Membership

Join Now

Login

Is "max(a,b)" a valid function?

Previous topic: Next topic:
Author
Topic: inactiveTopic Is "max(a,b)" a valid function? Last updated: 8/21/2014; 11:17:54 PM

userMartin

Message Info
Reads: 12176
Responses: 1

Posted: 5/27/2014; 4:57:05 PM blueArrow

Hello, I am trying to plot the modified Coulomb failure surface for consolidated bulk solids:

max(((x-y)/2)-2*cos(25)-((x+y)/2)*sin(25),((y-z)/2)-2*cos(25)-((y+z)/2)*sin(25),((x-z)/2)-2*cos(25)-((z+x)/2)*sin(25),z-y,y-x,x-5,(x+y+z)-12*sqrt(3))=0

The standard Java library fuction "max" seems to accept only two arguments, so I tried nesting as in:

MAX(((x-y)/2)-2*COS(25)-((x+y)/2)*SIN(25),MAX(((y-z)/2)-2*COS(25)-((y+z)/2)*SIN(25),MAX(((x-z)/2)-2*COS(25)-((z+x)/2)*SIN(25),MAX(z-y,MAX(y-x,MAX(x-5,(x+y+z)-12*SQRT(3)))))))=0

However, no matter what I do, the error message "Syntax Error! ma is not recognized! . . ."

Am I doing anything wrong?

I would appreciate anyone's help.

Thank you.

Martin


userPaul Seeburger

Message Info
Reads: 13230
Responses: 0

Posted: 8/21/2014; 11:17:54 PM blueArrow

As I told you in my email, Martin, the max(a, b) and min(a, b) functions are not yet available, but I do have them on my to-do list and hope to implement it someday soon, maybe even this fall.

Since the hope is to allow functions in each part, this makes implementing them more complicated, especially considering that partial derivatives are often used in graphing.

Thanks for posting to this discussion!

Paul


This page was last updated: Dec. 21, 2016

Copyright 2017 Exploring Multivariable Calculus

Creative Commons License
Exploring Multivariable Calculus by Paul Seeburger is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
Clarified rights and restrictions of the license for this project can be found at http://web.monroecc.edu/calcNSF/LicenseTerms.

"Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation (NSF)."

nsfLogo2:  

 

Create your own Manila site in minutes. Everyone's doing it!

This site is using the Default theme.