Ask Your Question

OrbitalMechanic's profile - activity

2019-07-25 07:55:24 +0200 received badge  Autobiographer
2019-07-25 07:45:25 +0200 asked a question Is there a binary version of SageMath .app.dmg compatible with Mac OS X ver. 10.14.6

I'm attempting to update SageMath-8.7.app on an iMacPro running Mac OS X ver. 10.14.6 tp SageMath-8.8.app. The problem for the moment occurs when I decompress sage-8.8-OSX_10.14.5-x86_64.app.dmg, the operation crashes my iMacPro with the message captured in the attached file.

Any suggestions?

Sam Dupree.

dump_from_SageMath-8.8.app.dmg.txt

2017-06-15 17:11:40 +0200 received badge  Popular Question (source)
2017-06-15 17:11:40 +0200 received badge  Notable Question (source)
2016-10-07 13:51:28 +0200 asked a question Can't get Sage 7.3 to start up in Mac OS X ver. 10.12 (Sierra)

Attempting to run Sage on a MacBook Pro running Mac OS X ver. 10.12 (Sierra). When I start up Sage I get the following messages in my terminal window:

Last login: Fri Oct 7 00:13:52 on ttys000 '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' --notebook=sagenb -bash: /Applications/mesasdk/bin/mesasdk_init.sh: No such file or directory users-MacBook-Pro:~ user$ '/Applications/SageMath-7.3.app/Contents/Resources/sage/sage' --notebook=sagenb sys:1: RuntimeWarning: not adding directory '' to sys.path since it's writable by an untrusted group. Untrusted users could put files in this directory which might then be imported by your Python code. As a general precaution from similar exploits, you should not execute Python code from this directory ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 7.3, Release Date: 2016-08-04 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Please wait while the old SageNB Notebook server starts... Setting permissions of DOT_SAGE directory so only you can read and write it. Traceback (most recent call last): File "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", line 225, in <module> launcher(unknown) File "/Applications/SageMath-7.3.app/Contents/Resources/sage/src/bin/sage-notebook", line 69, in __init__ from sagenb.notebook.notebook_object import notebook File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook_object.py", line 17, in <module> import notebook as _notebook File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/notebook/notebook.py", line 35, in <module> from sagenb.misc.misc import (pad_zeros, cputime, tmp_dir, load, save, File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sagenb/misc/misc.py", line 196, in <module> import sage.all File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/all.py", line 92, in <module> from sage.misc.all import * # takes a while File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/all.py", line 5, in <module> from .misc import (alarm, cancel_alarm, File "/Applications/SageMath-7.3.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/misc.py", line 143, in <module> os.chmod(DOT_SAGE, _desired_mode) OSError: [Errno 1] Operation not permitted: '/Users/user/.sage/' users-MacBook-Pro:~ user$

Any suggestions?

2016-03-25 15:31:47 +0200 received badge  Famous Question (source)
2015-07-22 23:12:50 +0200 received badge  Notable Question (source)
2015-07-22 23:12:50 +0200 received badge  Popular Question (source)
2013-11-20 21:17:52 +0200 received badge  Editor (source)
2013-11-20 21:16:31 +0200 answered a question define symbolic constant

Permit me to ask this another way. I want to compute the symbolic gradient of the following:

-mu * x / r^3, where mu is a constant and r = sqrt( x^2 + y^2 + z^2 )

In my sage worksheet I have:

variables = var( 'x, y, z, r, f' )

constants = var( 'm' )

r = sqrt( x^2 + y^2 + z^2 )

f = -m * x / r^3

show(f.gradient([x,y,z]))

Sage does not give me the correct answer. My question is how do I get Sage to treat or declare m as a constant in the calculus sense?

2013-11-20 01:40:12 +0200 asked a question define symbolic constant

I need to define some symbolic constants in some expressions, so that the symbolic constant survives differentiation. How can they be defined?