Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Can one use Excel (or write a macro) to solve differential equatio

Hello

May I please ask for your help?

I am wondering whether one can use Excel to solve a differential equation
via numerical methods.

The equation that I need to solve is

dH/dD = (1/(1+delta))*[(1-H)/(1-D)]^(gamma/(1-gamma))

gamma is in [0,1]
delta is in [0,1]
H is in [0,1]
D is in [0,1)

I would greatly appreciate all suggestions.

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Can one use Excel (or write a macro) to solve differential equatio

Sam

There are many sites that show computer methods for solving differential
equations.

Try:

http://oregonstate.edu/instruct/ch49...s/lesson14.htm


or

http://www.math.ncsu.edu/MA132/



--
HTHs Martin


"Sam" wrote:

Hello

May I please ask for your help?

I am wondering whether one can use Excel to solve a differential equation
via numerical methods.

The equation that I need to solve is

dH/dD = (1/(1+delta))*[(1-H)/(1-D)]^(gamma/(1-gamma))

gamma is in [0,1]
delta is in [0,1]
H is in [0,1]
D is in [0,1)

I would greatly appreciate all suggestions.

Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Can one use Excel (or write a macro) to solve differential equatio

Martin has provided an excellent illustrative reference, but it may not
be sufficient.

You need to also be aware that your function may be undefined when D=1,
and for values of D 1. If when D is greater than 1, H is less than
one, youll be asking Excel to compute the value of a negative number
raised to some power. The result is likely a real plus imaginary
number. Excel only deals with real numbers unless one builds special
formulations.

Furthermore, just because the function is defined on a given range for D
does not mean that the numerical solution will be well behaved and not
oscillatory. You may find that you need to confirm that making the
increment smaller does not produce a different answer.

Computer speed has increased dramatically since I first sought to solve
differential equations numerically some 35 years ago, but the pitfalls
are still there.


Sam wrote:
Hello

May I please ask for your help?

I am wondering whether one can use Excel to solve a differential equation
via numerical methods.

The equation that I need to solve is

dH/dD = (1/(1+delta))*[(1-H)/(1-D)]^(gamma/(1-gamma))

gamma is in [0,1]
delta is in [0,1]
H is in [0,1]
D is in [0,1)

I would greatly appreciate all suggestions.

Thank you!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Differential Error??? The Merg Excel Worksheet Functions 4 September 27th 06 10:58 PM
How to write VBA code to solve this problem jaccker Excel Programming 4 April 4th 06 04:30 AM
want to find two matching answers governed by two separate equatio gallie Excel Discussion (Misc queries) 2 November 16th 05 11:26 PM
Need help writing Excel macro to solve a cell in each row of a spreadsheet Chris Excel Programming 5 September 10th 05 01:39 AM
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? Daniel Excel Worksheet Functions 1 June 23rd 05 11:38 PM


All times are GMT +1. The time now is 08:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"