Project

Minimization

import math
import matplotlib.pyplot as plt

x=5/3
y=1/3

f = 5-pow((x-2),2)-(2*(pow((y-1),2)))

print(\'minimum value of the function = \',f)

Given non-linear function is minimized with the given contraint.

The minimum value of the function with the given contraint is found to be 4.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.