ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 06 Sep 2012 13:12:00 +0200Limits with dictionarieshttps://ask.sagemath.org/question/9301/limits-with-dictionaries/Suppose I have a dictionary that is the result of a `solve` command, for example, `D={n1:2}`
I also have an expression stored, for example, `expr1 = 3*n1^2`
In this example, I want to find the limit of `expr1` as `n1 -> 2`.
How can I do this given some expression and some dictionary in general?
I haven't figured it out with `sage_eval` yet.
(I know that if it were just substitution, I could use `expr1.subs_expr(D)` but I have cases where I believe I need to use limits instead of substitution.)
Thanks!ktkohl96Thu, 06 Sep 2012 13:12:00 +0200https://ask.sagemath.org/question/9301/