推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Hlianbobo
V2EX  ›  Python

sage 添加积分上下限以后为什么无法得出数值解?

  •  
  •   Hlianbobo · Sep 20, 2020 · 1762 views
    This topic created in 2202 days ago, the information mentioned may be changed or developed.
    n,x=var('n x')
    latex(integral(((x^2)/4)*cos(n*x),x,-pi,pi))

    请看上述代码。求解出来的积分还是带着 pi 的,而且没有代入上限值 去减下限。就是把 pi 代入表达式而已。

    为什么不直接给出数值解?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2547 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 14:22 · PVG 22:22 · LAX 07:22 · JFK 10:22
    ♥ Do have faith in what you're doing.