Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
A quick need of minimizing a function. HELP!!

Subject: A quick need of minimizing a function. HELP!!

From: jack nickol

Date: 5 Jan, 2009 22:38:01

Message: 1 of 2

Hello. I am a total newbie about mathlab and needs to minimize a function for tomorrow. Function is this:

 (8*10^-3)*((3400*(d1^2) + 2000*(d2^2)) + ((1*10^-4)*
       hp^2)) + (1*10^-6)*1770^2

and these are the constrains

82 - hp + 0.07251719624/((d1)^5) + 0.1532557799/((d2)^5)=0
82 - hp + 0.07251719624/((d1)^5) + 0.1552/((d2)^5)=0

anybody has an idea. ? :(

Subject: A quick need of minimizing a function. HELP!!

From: Roger Stafford

Date: 5 Jan, 2009 23:31:01

Message: 2 of 2

"jack nickol" <fruktoz@gmail.com> wrote in message <gju249$1jh$1@fred.mathworks.com>...
> Hello. I am a total newbie about mathlab and needs to minimize a function for tomorrow. Function is this:
>
> (8*10^-3)*((3400*(d1^2) + 2000*(d2^2)) + ((1*10^-4)*
> hp^2)) + (1*10^-6)*1770^2
>
> and these are the constrains
>
> 82 - hp + 0.07251719624/((d1)^5) + 0.1532557799/((d2)^5)=0
> 82 - hp + 0.07251719624/((d1)^5) + 0.1552/((d2)^5)=0
>
> anybody has an idea. ? :(

  Jack, better take a closer look at your constraints. They are impossible for finite numbers to satisfy. Subtract the first constraint from the second one and obtain

 (0.1552-0.1532557799)/((d2)^5)=.0019442201/((d2)^5)=0

which would require d2 to be infinite.

Roger Stafford

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us