Hellov Posted December 23, 2018 Posted December 23, 2018 Let f(w) = 2w^3 - 5. What is f(4)? Let f(w) = 2w^3 - 5. Let z = 2. What is f(z)? Let g(x) = cos(x/2) - 3x. Let f(x) = 2x + 5. What is g(f(x))? Let f(x) = tan(x) - 2/x. Let g(x) = x^2 + 8. What is f(x)*g(y)? What is the derivative of x^2 - x + 3 at the point x = 5? What is the value of x where x^2 - x + 3 is a minimum? In Python, what is returned when evaluating [n for n in range(10) if n % 2]? In Python, what kind of error is returned by the following code? (e.g. NameError, ValueError, IOError, etc.) def my_func(n1, n2): return n1 + n2 my_func(1, 2, 3) What is returned by datetime(1970, 1, 1).strftime('%Y-%d-%B') in Python?
Castillo23 Posted December 23, 2018 Posted December 23, 2018 You just literally have to make the following substitutions, for instance, f(w) = 2w^3-5 implies that f(4) = 2(4)^3-5, expanding the corresponding operation yields the result. Therefore, where you see a "w" in the function, substitute for the indicated value. The same goes in the fourth question, just substitute the whole "inner" function into the variable of the "outter" function. For the Python excersices, you can "cheat" a little bit, program what is asked and see what happens. Pay special attention to how you're defining your functions and, if you will, change the codes a little bit to see what happens. Experimentation teaches very well. Greetings!
studiot Posted December 23, 2018 Posted December 23, 2018 Quote Can you please answer following questions for me? To both new members here
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now