简体   繁体   English

如何在 Excel Solver 上求解这个指数方程?

[英]How do I solve this exponential equation on Excel Solver?

100e^0.25*y = 97.5 100e^0.25*y = 97.5

Solving for y求解 y

Using Excel Solver使用 Excel 求解器

I tried using empty column entry for y in 'By changing cells' and Set objective function as LHS of above equation (empty column entry in equation included) equal to value of 97.5 in solver.我尝试在“通过更改单元格”中为 y 使用空列条目,并将目标函数设置为上述方程的 LHS(包括方程中的空列条目)等于求解器中的值 97.5。

It gives no solution它没有给出解决方案

How do I do this?我该怎么做呢?

You don't really need the solver.你真的不需要求解器。 Just re-arrange your formula to solve for Y. Since y = b^x is the same as log(b)Y = x (log of Y , with base b )只需重新排列您的公式即可求解 Y。因为y = b^xlog(b)Y = xY ,以b为基数)相同

Your formula above is the same as:你上面的公式是一样的:

Y = (log(100e)97.5))/.25 Y = (log(100e)97.5))/.25

(Read aloud, that's log of 97.5, with base 100e, divided by .25 (大声朗读,这是 97.5 的对数,以 100e 为底,除以 0.25

So, Y = 3.268305672所以,Y = 3.268305672

(Bonus points for someone who can tell me how to format this so the Log looks correct) (可以告诉我如何格式化以使Log看起来正确的人的奖励积分)

It's a bit ambiguous what you're asking...你问的有点模棱两可...

  • Literal math interpretation: 100*(e^0.25)*y = 97.5字面数学解释:100*(e^0.25)*y = 97.5

    Then y = 97.5 / ( 100 * exp(.25)) = .759然后 y = 97.5 / ( 100 * exp(.25)) = .759

  • My guess of what you want: 100*e^(0.25*y) = 97.5我猜你想要什么:100*e^(0.25*y) = 97.5

    Then y = ln(97.5/100) / .25 = -.101然后 y = ln(97.5/100) / .25 = -.101

  • Another possibility: (100 * e)^(0.25 * y) = 97.5另一种可能性:(100 * e)^(0.25 * y) = 97.5

    Then y = (ln(97.5) / ln(100*e)) / .25 = 3.268然后 y = (ln(97.5) / ln(100*e)) / .25 = 3.268

Whatever it is, this doesn't need solver!不管是什么,这都不需要求解器!

The question is "How do I solve this exponential equation on Excel Solver?"问题是“我如何在 Excel Solver 上求解这个指数方程?” which is a fair enough question, as it points to trying to understand how to set up solver.这是一个足够公平的问题,因为它指向试图了解如何设置求解器。

My interpretation of the equation provided is given in this screenshot ...我对提供的方程的解释在这个截图中给出......

在此处输入图片说明

The solver dialog box is then setup as follows ...然后求解器对话框设置如下...

在此处输入图片说明

Of note:值得注意的是:

  • This is a non-linear equation and needs GRG Nonlinear.这是一个非线性方程,需要 GRG Nonlinear。 If you choose LP Simplex, it will not pass the linearity test.如果您选择 LP Simplex,它将无法通过线性测试。
  • Ensure "Make Unconstrained Variables Non-Negative" is not checked.确保未选中“使不受约束的变量为非负”。

It provided this result for me ...它为我提供了这个结果......

在此处输入图片说明

A more precise answer can be obtained by decreasing the "Convergence" value on the GRG Non-Linear Options dialog.通过降低 GRG 非线性选项对话框中的“收敛”值可以获得更精确的答案。


A problem this simple can also be solved using Goal Seek.使用 Goal Seek 也可以解决如此简单的问题。

在此处输入图片说明

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM