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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Can I plot a function containing unknown constants in mathcad?

osamy
1-Newbie

Can I plot a function containing unknown constants in mathcad?

example f(x)=ax ,

I want to plot for any variable of a

5 REPLIES 5

You need to make the function depend on 'a' as well as 'x'. The attached shows how to do it using a slider to vary the value of 'a' (though you can set 'a' any way you want).

slider.PNG

Alan

Or so

Set-of.png

osamy
1-Newbie
(To:osamy)

Thanks , very much . this was helpful

but , Is there another way (other than the slider method) I can plot the function without specifying any values of a

OR just specifying an interval like a=[0, infinity]

You can't really expect Mathcad to plot without knowing one or more values of 'a'!

However, you could plot a surface using a 3d plot for a specified range of values of 'a' and 'x'.

For example:

g0.PNG

Alan

A solution of the z(x, x) without an an an an an imation is not solution:

Video Link : 5329

Top Tags