# 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!