Update implicit_differentiation.qmd

sorry, I made a mistake yesterday and delete a -3 at wrong place. Now I fixed it.
This commit is contained in:
Fang Liu 2023-05-08 17:05:53 +08:00 committed by GitHub
parent 26d79e49e5
commit 921998e173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -440,7 +440,7 @@ To visualize, we plot implicitly and notice that:
```{julia}
K(x,y) = x^3 - y^3
K(x,y) = x^3 - y^3 - 3
implicit_plot(K, xlims=(-3, 3), ylims=(-3, 3))
```
@ -451,7 +451,7 @@ The same problem can be done symbolically. The steps are similar, though the las
#| hold: true
@syms x y u()
eqn = K(x,y) - 3
eqn = K(x,y)
eqn1 = eqn(y => u(x))
dydx = solve(diff(eqn1,x), diff(u(x), x))[1] # 1 solution
d2ydx2 = solve(diff(eqn1, x, 2), diff(u(x),x, 2))[1] # 1 solution