math calculation using matlab

so I have this equation :
980 = 3.1396 - 0.0235*x1 - 0.2759*x2 + 0.0008*x1*x2 + 0.0001*x1^2 + 0.007*x2^2
I want to find the value of x1 and x2, but they must in this boundaries:
80 < x1 < 100
14 < x2 < 16
how we use matlab to solve the calculation? thank you.

댓글 수: 3

Jan
Jan 2013년 7월 22일
Is this a homework question? What have you tried so far?
Rudi Martin
Rudi Martin 2013년 7월 22일
편집: Rudi Martin 2013년 7월 22일
yes its a homework, but actually the question is more than this. Its about GA. There's a "part" that I cannot understand, even this matlab central has gave me lot of answer, but I still don't understand. so I'm trying to take this "part" out from GA area, and solve it with a different way.
for my GA's problem, I'm using matlab optimization tool only and I don't know how to use other matlab feature. So asking this question is my first try.
dpb
dpb 2013년 7월 24일
Read the intro documentation on using the Optimization Toolbox; particularly the sections on Problem Setup and Choose a Solver to get an orientation into the tools and their usage.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

태그

질문:

2013년 7월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by