Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I want to see the values of f(n) by using the find command.
But i am getting the error as variable is undefined.
Please help me.
Thanks in advance
Solved! Go to Solution.
You need to make sure you have an initial guess for n, and make the solve block a function of vk - see attached.
However, as Fred points out, it is easy to solve explicitly for n here.
Alan
Not sure why the solve block won't work. (Doesn't like v_k as a range variable but it wouldn't work for a single value either.)
But you can use the symbolic engine to get n as a function of E_k and v_k, see attached.
By the way, what's g_k for,decoration?
You need to make sure you have an initial guess for n, and make the solve block a function of vk - see attached.
However, as Fred points out, it is easy to solve explicitly for n here.
Alan
