Excel GoalSeek算法 [英] Excel GoalSeek algorithm

查看:283
本文介绍了Excel GoalSeek算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有这个算法的代码?任何基于C的编程语言都可以,但我更喜欢C#。



我可以尝试实现它,但我确定我不是第一个...



编辑:这不是功课,它是一个gimme teh codez的问题:DI只是不想重塑轮子

解决方案

GoalSeek最有可能使用二分法



我在这里找到了一个C#实现: C#中的基于二维的XIRR实现


Does anyone have the code for this algorithm ? Any C-based programming language would be OK but I prefer C#.

I could try to implement it but I'm sure I'm not the first one...

edit: It's not homework, it's a "gimme teh codez" question :D I just don't want to reinvent the wheel

解决方案

GoalSeek most likely uses the Bisection method

I found a C# implementation here : Bisection-based XIRR implementation in C#

这篇关于Excel GoalSeek算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆