9/14/2023 0 Comments Differential calculus quiz![]() If you want log(x) you have to write log(x, 10). It looks like it’s due to the fact that the Python function log(x) is not actually log(x) but ln(x). Thanks in advance for any help you can provide.ĮDIT: Okay, I think I figured out my second question. ![]() But now I am totally confused, because the answers do match up. If the answer didn’t match up with the Python answer I would have assumed this was a typo. What I don’t understand is that the above answer is saying that the derivative of log(x) is (1/x), but that is not the derivative of log(x). Verify calculation by evaluating the derivative of f3 mathematically. ![]() You should have the following output in your terminal: The function f3 has a parameter x so how can we not provide an argument in f3? I thought if you define a function with a parameter you have to put in an argument where the parameter is defined…? What I don’t understand is how we can put f3 directly as the first argument without its own argument. The answer to h=2 above is print(limit_derivative(f3, 1, 2)). What number does the limit derivative appear to be approaching? Using the limit_derivative() function, calculate the derivative of f3 at x=1 using the following values of h: In script.py, there are three functions predefined for you: I am in the Fundamental Math for Data Science course, Differential Calculus section, in the quiz section (Limit Definition of the Derivative Exploration), questions 2 and 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |