Solving a problem within VBA without using solver

xodus8

New Member
Joined
Mar 22, 2011
Messages
4
Is there any way to solve a problem within VBA without actually calling the excel solver function ? For example

f (a,b,c,d) = a^(1/2) + b^(1/3)+c^(1/4)+d(1^5)-5

f(a,b,c,d) should be 0 by changing the parameters a,b,c,d.

I know this can be done using solver, but I can not figure out the logic within VBA.

Thanks
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
It has an infinite number of solutions ...
 
Upvote 0
You have to start with any three of a, b, c, d as numerical values if you want to use Excel.

Say a=5, b=10, c=11 and then you can easily obtain a value (there may be more than one) for d.

These numbers must come from somewhere (where?) unless you're concerned only with the purely algebraic question of reducing a relation between 4 variables to a relationship between 3 variables. And Excel wouldn't usually be seen as the best, or even an adequate, way to do this.
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top