English 中文(简体)
在具有数字价值的诗歌中确定符号
原标题:Defining symbols in SymPy which hold numerical values

我正试图在诗歌中确定一种与像皮、 e和i等常数相同的功能。 在提供准确答案时,它们仍然是其象征,而不是评价其价值。 例如,我跑了。

2*pi

它将归还2艘船。 如果我想作一个大致的答复,我可以发言。

N(2*pi)

which returns 6.28318530717959.

我想要的是确定一个不变的 t,在那里。

tau

页: 1

N(tau)

returns 6.28318530717959.

基本上,Im只是试图确定一个等于2⋅π的新象征。

最佳回答

页: 1 Pi . 关于<代码>的源代码 Pi , 并添加*2 应当足够。 了解这些物体是单吨级的,而不是例。

您也阅读了这份清单。

问题回答

暂无回答




相关问题
Get webpage contents with Python?

I m using Python 3.1, if that helps. Anyways, I m trying to get the contents of this webpage. I Googled for a little bit and tried different things, but they didn t work. I m guessing that this ...

What is internal representation of string in Python 3.x

In Python 3.x, a string consists of items of Unicode ordinal. (See the quotation from the language reference below.) What is the internal representation of Unicode string? Is it UTF-16? The items ...

What does Python s builtin __build_class__ do?

In Python 3.1, there is a new builtin function I don t know in the builtins module: __build_class__(...) __build_class__(func, name, *bases, metaclass=None, **kwds) -> class Internal ...

what functional tools remain in Python 3k?

I have have read several entries regarding dropping several functional functions from future python, including map and reduce. What is the official policy regarding functional extensions? is lambda ...

Building executables for Python 3 and PyQt

I built a rather simple application in Python 3.1 using PyQt4. Being done, I want the application to be distributed to computers without either of those installed. I almost exclusively care about ...

热门标签