A community for students.

    Here's the question you clicked on:

    55 members online
    • 0 replying
    • 0 viewing


    • one year ago

    How can I compute a derivative of a function in python?

    • This Question is Open
    1. L.T.
      • one year ago
      Best Response
      You've already chosen the best response.
      Medals 0

      You should write a function that takes two arguments: a very small value (h in the definition of the derivative) and another function which will build the mathematical function for which you want the derivative.

    2. P0sitr0n
      • one year ago
      Best Response
      You've already chosen the best response.
      Medals 0

      depends if youre reading the input or youre given a function. To read an input, its more complicated and youll have to build a structure of the mathematical language to parse. If youre given a function, you can always introduce some basic methods that do some parts of the derivation (like power rule or chain rule). Your function will get modified and passed as an argument to other methods.

    3. Not the answer you are looking for?
      Search for more explanations.

      • Attachments:

    Ask your own question

    Sign Up
    Find more explanations on OpenStudy
    Privacy Policy

    Your question is ready. Sign up for free to start getting answers.

    spraguer (Moderator)
    5 → View Detailed Profile

    is replying to Can someone tell me what button the professor is hitting...


    • Teamwork 19 Teammate
    • Problem Solving 19 Hero
    • You have blocked this person.
    • ✔ You're a fan Checking fan status...

    Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

    This is the testimonial you wrote.
    You haven't written a testimonial for Owlfred.