Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Excel

Solving an equation

 
Jump to:  
 
dividby0
PostPosted: Tue Sep 02, 2008 4:29 am    Post subject: Solving an equation
       
Hi,

I'm working on a project in Financial Management.
I need to solve the following equation for the value of 'X' in MS
Excel

2X/(1+r1)^4 + 20/(1+r1)^6 + 30/(1+r1)^7 + 30/(1+r1)^8 + 10/(1+r1)^4 =
2X/(1+r2)^4 + 2X/(1+r2)^4
Where r1 = 21% and r2 = 17%

Help needed!

Regards

--
dividby0
 

 
Shane Devenshire
PostPosted: Tue Sep 02, 2008 5:04 am    Post subject: Re: Solving an equation
       
Hi,

Enter the following formula in cell B1

=2*A1/(1+A)^4+20/(1+A)^6+30/(1+A)^7+30/(1+A)^8+10/(1+A)^4-2*A1/(1+B)^4-2*A1/(1+B)^4

Then choose Tools, Add-in and put a check beside Solver and click OK.

Then choose Tools, Solver and set the target cell as B1 and the changing
cell as A1 and with a Value of 0.

Cheers,
Shane Devenshire
Microsoft Excel MVP

"dividby0" <mithhilarora@gmail.com> wrote in message
news:83969245-d671-48d6-a6a7-19064b3af444@t54g2000hsg.googlegroups.com...
Quote:
Hi,

I'm working on a project in Financial Management.
I need to solve the following equation for the value of 'X' in MS
Excel

2X/(1+r1)^4 + 20/(1+r1)^6 + 30/(1+r1)^7 + 30/(1+r1)^8 + 10/(1+r1)^4 =
2X/(1+r2)^4 + 2X/(1+r2)^4
Where r1 = 21% and r2 = 17%

Help needed!

Regards

--
dividby0
 

 
Dana DeLouis
PostPosted: Tue Sep 02, 2008 1:06 pm    Post subject: Re: Solving an equation
       
dividby0 wrote:
Quote:
Hi,

I'm working on a project in Financial Management.
I need to solve the following equation for the value of 'X' in MS
Excel

2X/(1+r1)^4 + 20/(1+r1)^6 + 30/(1+r1)^7 + 30/(1+r1)^8 + 10/(1+r1)^4 =
2X/(1+r2)^4 + 2X/(1+r2)^4
Where r1 = 21% and r2 = 17%

Help needed!

Regards

--
dividby0


One could use either Solver or Goal Seek.
For Goal Seek, enter your two equations. (I've used Range names)

=2*x/(1+_R1)^4+20/(1+_R1)^6+30/(1+_R1)^7+30/(1+_R1)^8+10/(1+_R1)^4
=2*x/(1+_R2)^4+2*x/(1+_R2)^4

In another cell, subtract these two values.
Use Goal Seek to set this new function to zero by adjusting your x value.

Another option would be to solve the equation directly...

r1=.21
r2=.17

?(10*(r1*(r1*(r1*(r1+4)+Cool+11)+9))/((r1+1)^8*(4/((r2+1)^4)-(2/(r1+1)^4)))
21.1940833919125

--
HTH :>)
Dana DeLouis
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Shazza moja miÅ‚ość - Big Cyc clarocode.biz stolarka aluminiowa Åódzkie opisy gg