Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

limit value on functions

Status
Not open for further replies.

blckwtr

Mechanical
Joined
Oct 30, 2006
Messages
204
Location
NO
How do I do this in Mathcad?

Example.:

f(x)=x^3+3 for x<10
g(x)=x for x>=10

Then plot it to get one single value for one single parameter?

 
I am not very familiar with the condition notation in Mathcad...

Thanks, Greg...:-)
 
Does it work, that looks an awful lot like excel on second thoughts?

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
It works. It is just like the Excel function.

if(cond, x, y)
Returns x if logical condition cond is true (non-zero), y otherwise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top