Community Tip - You can change your system assigned username to something more personal in your community settings. 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