Skip to content

Commit

Permalink
Add squares to demo_multiple_variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sblauth committed Jan 2, 2023
1 parent cd7a480 commit ef5d816
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
#
# $$
# \begin{align}
# &\min\; J((y,z), (u,v)) = \frac{1}{2} \int_\Omega \left( y - y_d \right) \text{ d}x + \frac{1}{2} \int_\Omega \left( z - z_d \right) \text{ d}x + \frac{\alpha}{2} \int_\Omega u^2 \text{ d}x + \frac{\beta}{2} \int_\Omega v^2 \text{ d}x \\
# &\min\; J((y,z), (u,v)) =
# \frac{1}{2} \int_\Omega \left( y - y_d \right)^2 \text{ d}x
# + \frac{1}{2} \int_\Omega \left( z - z_d \right)^2 \text{ d}x
# + \frac{\alpha}{2} \int_\Omega u^2 \text{ d}x
# + \frac{\beta}{2} \int_\Omega v^2 \text{ d}x \\
# &\text{ subject to } \qquad
# \begin{alignedat}[t]{2}
# -\Delta y &= u \quad &&\text{ in } \Omega, \\
Expand Down

0 comments on commit ef5d816

Please sign in to comment.