Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Zwelisha

  • 7 months ago

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

  • This Question is Open
  1. L.T.
    • 7 months 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. e.mccormick
    • 7 months ago
    Best Response
    You've already chosen the best response.
    Medals 0

    https://docs.google.com/document/d/1mTeXIWHRmWC3bi1maVz2ulyE6XWjg3bjwtlG6T6Bf6U/edit?hl=en&pli=1

  3. P0sitr0n
    • 6 months 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.

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

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

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...

23

  • 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.