cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

2-Guest

## Is there a way to plot a figure (Z), when the variable (Y) is a function of another variable (x)

Trying to help an instructor solve a problem. He has requested that we go back to an older version of MathCad because Prime  can't do what he needs. Example provided below.

The MathCad prime cannot plot a figure (Z), when the variable (Y) is a function of another variable (x). Example:

-------

x = a, b, ... c

Z = f(Y)

Y= f(x)

Plot Z as a function of x.

-------

3 REPLIES 3
24-Ruby V
(To:jdonovanSNHU)

What you demand with the notation you provide can't be done in neither version of Mathcad or Prime the way yu wrote it.

Not sure what you mean exactly but what you wrote looked like it should be done that way:

f(x):= 5x^3-2x+2 [or any other definition dependent n variable x]

Y(x):=f(x)

Z(x):=f(Y(x))

But it would be easier to define

f(x):= 5x^3-2x+2 [or any other definition dependent n variable x]

BTW, you won't need to define x as a range beforehand. You may define x as range before the plot but you could also use the quickplot feature.

Z(x):=f(f(x))

21-Topaz I
(To:jdonovanSNHU)

Hi,

"He has requested that we go back to an older version of MathCad because Prime can't do what he needs."

A common theme on this community.  You should at least try a little harder in Prime as eventually that is all that will be available.

What is the function f(x)?  Over what range is it plotted?

Cheers

Terry

23-Emerald III
(To:jdonovanSNHU)

I see no difference in possibilities between Mathcad and Prime in this respect.

Compare for yourself, three possible ways to make the plot you want, Mathcad (11) left and Prime (4) right:

Success!
Luc

Announcements
Top Tags