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
Hi all,
I am trying to generate a plot of a function P(y), where the variable y is itself a previously defined function, y(L).
I have defined L:=200,201..400 and the two functions, y(L) and P(y) but when I attempt to plot P(y), I get an error about the value not being a scalar or a vector.
Is there a trick to working with functions dependent upon other functions?
Thanks
Hi
Please attach your worksheet to clarify your problem.
You may have to zip it first. A serious bug in this forum often prevents from attaching a mathcad file. In Windows Explorer click with the right-mouse button on the mathcad file and select 'Send to' -> 'Compressed (zipped) folder'. The resulting .zip file can be attached.
You have defined L as a range variable not a scalar or matrix. Send the file and we can tell what is going on.
Probably you should use P(y(L)), not just P(y)