This will probably be a very simple answer. I am trying to find a way to pull the last output from a line and define it as a separate variable so it can be used in a later function. Specifically in the code below:

    In[5]:= NSolve[90 - 3*p == (4*p) - 20, p]

    Out[5]= {{p -> 15.7143}}

Thanks in advance!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.