Ask Your Question

hwong557's profile - activity

2022-02-18 01:57:17 +0200 commented question Use different ipython profile

Arch linux. Installed via pacman.

2022-02-17 18:28:43 +0200 asked a question Use different ipython profile

Use different ipython profile Hello, My default ipython profile has some settings that conflict with Sage. Is there a w

2022-02-06 11:47:04 +0200 received badge  Popular Question (source)
2021-04-03 19:52:27 +0200 received badge  Notable Question (source)
2020-01-20 17:02:36 +0200 received badge  Scholar (source)
2020-01-19 17:21:21 +0200 received badge  Editor (source)
2020-01-19 17:20:47 +0200 asked a question Automatically attach file on starting shell?

Is there a way to run sage from command line and have sage automatically run a command (such as attaching a file)? I do not want to put the attach command in the init.sage file, because I want sage to only attach my code when I am working on my project, not for general use.

Perhaps another way of thinking about is how can I run a sage script, and have it exit into an interactive shell? Then I would be able to run sage mycode.sage, and have the desired behavior.

Thank you.

2019-03-11 19:11:19 +0200 received badge  Popular Question (source)
2016-09-04 00:32:52 +0200 received badge  Supporter (source)
2016-09-02 03:54:13 +0200 asked a question How to add braces to an axis on a plot

How can I add a curly brace under the x-axis of a plot? Here is an example of what I'm looking for:

Thank you.

2012-11-26 07:09:33 +0200 received badge  Student (source)
2012-11-26 00:19:07 +0200 asked a question Forcing Prime Notation

I want sage to implicitly differentiate a function for me, say

d/dx f(x)^2 = 2f(x)* f'(x).

I can do this by entering:

f=function('f', x)

This returns

2 f(x) D[0] (f) (x)

which is correct, but hard for me to read. Can I make sage return:

2 f(x) f'(x)