Question: 3.1 [2 pt] Use Sympy to make two functions y = x - x grader-output + 5. You will have to use different variables
![3.1 [2 pt] Use Sympy to make two functions y = x](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/02/65cbb47ad5dc3_82665cbb47ab11bf.jpg)
3.1 [2 pt] Use Sympy to make two functions y = x - x grader-output + 5. You will have to use different variables for Vy the output y (in the first function) and the input y (in the second function); please use _y and y, respectively. Set the variables dy_dx and dz_dy equal to the derivative of y with respect to x and the derivative of z with respect to y, respectively. Next, use those two variables and the chain rule to define the variable dz_dx_no_sub, which is the derivative of z with respect to x. It should contain that variables x and y. To connect the notation here to the notation in the slides, _y = g(x) and z = f(y). Finally, substitute the variable_y in for the variable y in the function dz_dx_no_sub in order to define dz_dx_with_sub. It should only contain the variable x.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
