All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Side constraint for maximizing area (Posted on 2023-09-04) Difficulty: 3 of 5
Let ABC be a triangle with side lengths a, b, c and a=2, b+2c=4. Find the value of c which maximizes the area of the triangle.

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer approximation | Comment 1 of 7
clc
a=2; prev=0;
for b= 1.82970846:.000000002:  1.82970849
  c=(4-b)/2;
  s=(a+b+c)/2;
  A=sqrt(s*(s-a)*(s-b)*(s-c));
  if A==real(A)
    disp([b c A A-prev])
  end
  prev=A;
end


is the final stage of the program after narrowing down the range, and finds the maximal area as:

      b              c                Area
      
1.829708486     1.085145757     0.98402327954184


  Posted by Charlie on 2023-09-04 12:27:26
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information