I found the error. The argument for the second asin call was being multiplied instead of being taken as the argument. I never would have caught that before.
Thanks again!
Martha
IRstuff,
Thanks for all of your help! I never got around to posting my program last week, so thank you for taking the time out to reproduce the whole thing. I will try to figure out where the typo is in my last equation. Thanks again!
Martha
Oops! I defined lambda as follows: lambda:= .700,.701,.. .900 . (I had previously defined it as 700, .. 900 and the step was 1.)
As for vectorizing the function...since lambda is a range variable, wouldn't that also mean that I would have to vectorize the function nfs(lambda)? That function...
IRstuff, I will look at that other forum. Thanks!
Greg, I fixed the missing square bracket, still get the same result. Don't know how I managed to define the function with the missing bracket!
jghrist, ?fs was created with ?.fs so no problem there.
Cory, ? is defined as ?:=.700, .. .900 ...
Hi all,
I'm a new Mathcad user and am encountering an illegal context error. I can't figure out the cause of the error. Lambda is a range variable that is defined.
I did a simple program, reducing this equation down to
b = 1
c = 1
g(x) = 1+x
f(x) = asin[g(x) * sin[b - asin[(1/g(x)) *...