Calculate Integrals in Python - SciPy Tutorial

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

Комментарии • 9

  • @valevan14
    @valevan14 8 месяцев назад

    hey, do you have algorithm to calculate integral on adaptive grid?

    • @TMQuest
      @TMQuest  8 месяцев назад

      No, unfortunately not :(

  • @trdave7072
    @trdave7072 3 года назад +1

    Thank you for the tutorial but i trying for more complex intergral for example (t) integrate between
    Emax
    Emin
    dEφ(E)σt
    D(E), and i m getting errors i am not getting what to do next. Can you help please.

    • @TMQuest
      @TMQuest  3 года назад +1

      Hi. Unfortunately, I do not know. Maybe there is some help in the documentation for SciPy that is useful: docs.scipy.org/doc/scipy/reference/tutorial/integrate.html

  • @ai.simplified..
    @ai.simplified.. 3 года назад +1

    What about math library?

    • @TMQuest
      @TMQuest  3 года назад

      Hi. The built-in math library in Python does not have any integration features. It only supplies a few utility functions for basic mathematics.

    • @ai.simplified..
      @ai.simplified.. 3 года назад +1

      @@TMQuest so we couldn,t do integrals 👍

  • @mohammadwajdanismail7971
    @mohammadwajdanismail7971 2 года назад

    what if the equation is coming from user input??? In that case I'm getting errors please help

    • @TMQuest
      @TMQuest  2 года назад

      That depends on the situation at hand. If, say, the user specifies the coefficients of a polynomial, then that should work fine. It would be rather hard to get the user to enter an arbitrary function.