|
|
Subject:
Software or Excel sheet to solve my Calculus equation
Category: Science > Math Asked by: questionman26-ga List Price: $25.00 |
Posted:
05 Dec 2004 16:23 PST
Expires: 07 Dec 2004 19:12 PST Question ID: 438542 |
Considering the equation below I need a software or Excel sheet that will answer the following question: What value of Y will maximize the value of Z given the 4 known values. In other words, I want a simple and fast way to find the Y that maximizes Z if I give the 4 ?known values,? and I believe this can be done using calculus to find the first derivative. An excel sheet (or other software) where I enter these 4 knowns and get Y and Z(maximized) would be ideal. I'd also like (but not required to answer the question) to simultaneously run numerous sets of different ?known values? and to be able to see the Y and Z(maximized) for each set of ?knowns.? I don?t just want to be pointed toward a software, I must be shown how to set this up in an excel sheet step-by-step (or be given an excel sheet already setup) or be given step-by-step instructions on how to set up another software program to answer my equation. Equation: ((known value 1)*((Y)*((known value 2)/(known value 3 +Y)))) -((Y*(1-((known value 2)/(known value 3 +Y))))*(known value 4))=Z[amount to maximize] Given Values: known value 1 known value 2 known value 3 known value 4 Find: Y Where Z is maximized | |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: Software or Excel sheet to solve my Calculus equation
From: ticbol-ga on 07 Dec 2004 01:49 PST |
The hardest part here is to get past your parentheses-rich equation. It is Excel, allright. Let a = known value 1 b = known value 2 c = known value 3 d = known value 4 and x = b/(y+c) and a,b,c,d are all positive numbers. If I passed your equation, then, z = a*y*x -y(1-x)*d Simplifying that, z = b(a+d)*[y/(y+c)] -d*y ----(i) If z is to be maximized, and since z is a function of y, then we find y when dz/dy = z' = 0. Differentiating (i) with respect to y, z' = bc(a+d)/[(y+c)^2] -d Setting that to zero, y = +,-sqrt[bc(a+d)/d] -c ----(ii) ------------- To check if z'=0 would yield a maximum, we check z'' for the concavity of the graph of z at y when z'=0. z'' comes out as -2bc(a+d)/[(y+c)^3], which is always negative. Meaning, z'=0 will always give a maximum z. ---------------- So there you are, if z is maximized, y is given by (ii). I assume you are not interested on a negative y. Then, for your purpose, y = sqrt[bc(a+d)/d] -c Or, y = -c +sqrt[bc(a+d)/d] -----(iii) This (iii) might still give a negative y, if c is greater than the sqrt[b*c*(a+d)/d]. Since you are not interested on a negative y, just reject it. Play with other combinations of a,b,c,d to get a positive y. You should be able to do (iii) in Excel. It will be just a 5-column Excel sheet. Just be careful with those parentheses. |
Subject:
Re: Software or Excel sheet to solve my Calculus equation
From: questionman26-ga on 07 Dec 2004 19:12 PST |
Thanks ticbol, I'm very impressed and appreciative! This is the correct answer I was looking for. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |