It appears you have not yet registered with our community. To register for free click here
Rebreather World
       
Go Back Rebreather World Rebreather Diving Rebreather Training Decompression & Gas Choices

VPM's "Radius Root Finder"



Reply
 
LinkBack Thread Tools Display Modes
Old 25th June 2006, 00:49   #1 (permalink)
Pacific Northwest

 
UWSojourner's Avatar

Current Rebreather/s:
Megalodon

Other Rebreather/s:
 
Join Date: Feb 2005
Location: Portland Oregon
Posts: 556
UWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant future
VPM's "Radius Root Finder"

In Baker's code he uses a search technique"RadiusRootFinder" to solve for the root of a cubic equation with coefficients A, B, C.

Is there a reason not to just solve it analytically? Are there conditions that cause the analytic solution to fail? Kinda new to VPM and was just wondering.
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 25th June 2006, 12:17   #2 (permalink)
Michael Prange
 
Michael Prange's Avatar

Current Rebreather/s:
Inspiration Vision

Other Rebreather/s:
 
Join Date: Mar 2005
Location: Somerville, MA, USA
Posts: 10
Michael Prange is an unknown quantity at this point
Re: VPM's "Radius Root Finder"

Quote: (Originally Posted by UWSojourner)
Is there a reason not to just solve it analytically? Are there conditions that cause the analytic solution to fail?
I'm not familiar with Baker's code, but I am familiar with numerics issues. Often a root finder is used in lieu of an analytical solution because it is faster (involves fewer floating-point operations). A disadvantage of a root finder is that if you don't choose a good starting guess, you may find the wrong root. I suspect that either Baker's algorithm provides a good starting guess, or two of the roots are always complex, so that a root finder which works only with real numbers has only one root to find.
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Old 25th June 2006, 19:24   #3 (permalink)
Pacific Northwest

 
UWSojourner's Avatar

Current Rebreather/s:
Megalodon

Other Rebreather/s:
 
Join Date: Feb 2005
Location: Portland Oregon
Posts: 556
UWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant futureUWSojourner has a brilliant future
Re: VPM's "Radius Root Finder"

Quote: (Originally Posted by Michael Prange)
Often a root finder is used in lieu of an analytical solution because it is faster (involves fewer floating-point operations).
That very well may be right. I haven't tested the speed difference, but the limited testing I've done his numeric solution converges in about 3 iterations which is pretty fast.
(Offline)
 
Digg this Post!Add Post to del.icio.us
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



RebreatherWorld.Com ©2005 - 2008
Rebreather World, Rebreather World and the Rebreather World Logo are Trademarks
All rights reserved, no republishing of content without written permission.
By using this website you have agreed to our Terms & Conditions of Use

Search Engine Optimization by vBSEO 3.1.0