Ask Your Question

ktkohl96's profile - activity

2023-07-13 19:52:07 +0200 received badge  Famous Question (source)
2020-04-15 13:41:43 +0200 received badge  Popular Question (source)
2019-05-22 11:08:08 +0200 received badge  Notable Question (source)
2016-01-28 20:21:56 +0200 received badge  Popular Question (source)
2013-10-14 22:05:37 +0200 asked a question notebook and init.sage

I recently upgraded from 5.9 to 5.12.

My init.sage file loads/attaches a .sage file that I often use. In 5.9, that file was still attached when I started up a worksheet in the notebook. In 5.12, it is attached in the terminal, but when I then start open a worksheet in the notebook, it seems to be no longer attached since none of my functions are known any more and give a NameError when tried.

What can I do to fix this?

2013-05-31 11:12:32 +0200 commented question Running SAGE notebook files across multiple platforms via Dropbox

Any solution to this? I have it working on 2 of 3 machines. But on the 3rd, I also get the "Directory not empty" error. I can't recall how I got it going on the 2nd one a while back.

2012-09-06 13:33:48 +0200 received badge  Student (source)
2012-09-06 13:12:00 +0200 asked a question 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!