TypeError: 'sage.rings.integer.Integer' object is not callable [closed]

asked 2017-01-09 08:27:29 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hi there.

I am new to SAGE and I am getting this error when doing an integration. I am not sure if I am doing correctly the power 2 of the sech function.

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_6.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -- coding: utf-8 --\n" + _support_.preparse_worksheet_cell(base64.b64decode("dmFyKCdjLEgsayxkLHgsdCcpCmY9KGMqSCooc2VjaF4yKGsvZCooeC1jKnQpKSkpLyhkK0gqKHNlY2heMihrL2QqKHgtYyp0KSkpKQpmLmludGVncmFsKHQp"),globals())+"\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in <module>

File "/tmp/tmpC99A8h/___code___.py", line 4, in <module> f=(cH(sech_sage_const_2 (k/d(x-ct))))/(d+H(sech_sage_const_2 (k/d(x-c*t)))) TypeError: 'sage.rings.integer.Integer' object is not callable

Any corrections and/or suggestions will be welcome. Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by kcrisman
close date 2017-01-09 09:50:47.151065