Saturday, October 21, 2006

Sqrt(37) =??




MITBBS.com 首页 分类讨论区 精华区 博客 移民专栏 影视专栏 美食专栏 新闻中心 分类广告 ◇在线[1846]
查寻网友:
版面搜索:
首页 - 分类讨论区 - - 金融工程版 - 同主题阅读文章 首页 同主题阅读:another interview question [版面:金融工程] [首篇作者:zhuzhu111] , 2006年10月12日13:42:19 [首页] [上页] [下页] [末页] [分页: 1 2 ] zhuzhu111
身份:用户 上站次数:5 发表文章:4 篇 经验值:47 表现值:9 生命力:112 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 1 ] document.write('发信人: zhuzhu111 (猪猪), 信区: Quant
'); document.write('标 题: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 13:42:19 2006)
'); document.write('
'); document.write('how to get the numerical answer of sqrt(37)=6.08276....
'); document.write('(怎么用代数方法解37开平方)
'); document.write('thanks.
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 160.39.]
'); 发信人: zhuzhu111 (猪猪), 信区: Quant
标 题: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 13:42:19 2006)

how to get the numerical answer of sqrt(37)=6.08276....
(怎么用代数方法解37开平方)
thanks.
--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 160.39.]

美国嘉盛FOREX.COM 为您提供精准汇市分析, 模拟账户免费注册 emacs
身份:用户 上站次数:66 发表文章:14 篇 经验值:175 表现值:14 生命力:117 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 2 ] document.write('发信人: emacs (VC), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 17:00:52 2006)
'); document.write('
'); document.write('I guess the general method should be Newton-Raphson.
'); document.write('sqrt is a common question being asked in interview, think about sqrt(2) and
'); document.write('sqrt(3).
'); document.write('Another direct method is trial & error, similar to bisection method....
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.77.]
'); 发信人: emacs (VC), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 17:00:52 2006)

I guess the general method should be Newton-Raphson.
sqrt is a common question being asked in interview, think about sqrt(2) and
sqrt(3).
Another direct method is trial & error, similar to bisection method....
--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.77.]
matII
身份:用户 上站次数:498 发表文章:136 篇 经验值:2444 表现值:5 生命力:658 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 3 ] document.write('发信人: matII (当归), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 16:30:32 2006)
'); document.write('
'); document.write('I thought this is the official method...
'); document.write('Asymptotic analysis, it\'s a systematic method to do
'); document.write('approximating calculations with paper and pen.
'); document.write('
'); document.write('For this particular case, the procedure is actually identical as
'); document.write('Newton-Raphson.
'); document.write('
'); document.write('【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
'); document.write(': I mean just repeating the procedure mentioned by Matll, hehe, not an
'); document.write('officical method.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('In this turbulent world,
'); document.write(' you are my dependable attractor.
'); document.write('
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 128.54.]
'); 发信人: matII (当归), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 16:30:32 2006)

I thought this is the official method...
Asymptotic analysis, it's a systematic method to do
approximating calculations with paper and pen.

For this particular case, the procedure is actually identical as
Newton-Raphson.

【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
: I mean just repeating the procedure mentioned by Matll, hehe, not an
officical method.



--
In this turbulent world,
you are my dependable attractor.


※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 128.54.]
bushel
身份:用户 上站次数:2033 发表文章:2463 篇 经验值:7635 表现值:21 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 4 ] document.write('发信人: bushel (失乐园), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 16:12:25 2006), 转信
'); document.write('
'); document.write('楼主那个题目,真的是用代数方法么?
'); document.write('还是让楼主说详细点吧。
'); document.write('
'); document.write('或者用拟牛顿法也可以阿。加减乘除很快的
'); document.write('
'); document.write('【 在 ThatYear (那年) 的大作中提到: 】
'); document.write(': 标 题: Re: another interview question
'); document.write(': 发信站: BBS 未名空间站 (Thu Oct 12 16:10:46 2006), 转信
'); document.write(':
'); document.write(': 我抬杠, 牛顿发要用到导数. 不算代数方法
'); document.write(':
'); document.write(': 【 在 bushel (失乐园) 的大作中提到: 】
'); document.write(': : 阿?
'); document.write(': : 还有更直接的?我觉得牛顿法就够直接了
'); document.write(': : 取x0=6
'); document.write(': : x1=6-(-1)/12,跟那谁的一样
'); document.write(': : x2继续叠带,很快就能收敛到interviewers的那个数值了
'); document.write(':
'); document.write(':
'); document.write(': --
'); document.write(':
'); document.write(': 如果我死了, 请不要来我的葬礼.
'); document.write(':
'); document.write(':
'); document.write(':
'); document.write(': ※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 134.74.]
'); 发信人: bushel (失乐园), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 16:12:25 2006), 转信

楼主那个题目,真的是用代数方法么?
还是让楼主说详细点吧。

或者用拟牛顿法也可以阿。加减乘除很快的

【 在 ThatYear (那年) 的大作中提到: 】
: 标 题: Re: another interview question
: 发信站: BBS 未名空间站 (Thu Oct 12 16:10:46 2006), 转信
:
: 我抬杠, 牛顿发要用到导数. 不算代数方法
:
: 【 在 bushel (失乐园) 的大作中提到: 】
: : 阿?
: : 还有更直接的?我觉得牛顿法就够直接了
: : 取x0=6
: : x1=6-(-1)/12,跟那谁的一样
: : x2继续叠带,很快就能收敛到interviewers的那个数值了
:
:
: --
:
: 如果我死了, 请不要来我的葬礼.
:
:
:
: ※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 134.74.]
zhuzhu111
身份:用户 上站次数:5 发表文章:4 篇 经验值:47 表现值:9 生命力:112 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 5 ] document.write('发信人: zhuzhu111 (猪猪), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:43:17 2006)
'); document.write('
'); document.write('oh...got it..but could u explain more about how to get higher precision?
'); document.write('Thanks:)
'); document.write('【 在 matII (当归) 的大作中提到: 】
'); document.write(': asymptotic analysis吧。
'); document.write(': 假设(6+x)^2=37, x很小。
'); document.write(': 得到x^2+12x-1=0
'); document.write(': 由于x很小,x^2项可以扔掉。
'); document.write(': 所以x=1/12.
'); document.write(': 这个给出6.083的结果,not bad。
'); document.write(': 想要更高阶的精度,就用这个x做同样的但是更高阶的分析就可以。
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 160.39.]
'); 发信人: zhuzhu111 (猪猪), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:43:17 2006)

oh...got it..but could u explain more about how to get higher precision?
Thanks:)
【 在 matII (当归) 的大作中提到: 】
: asymptotic analysis吧。
: 假设(6+x)^2=37, x很小。
: 得到x^2+12x-1=0
: 由于x很小,x^2项可以扔掉。
: 所以x=1/12.
: 这个给出6.083的结果,not bad。
: 想要更高阶的精度,就用这个x做同样的但是更高阶的分析就可以。



--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 160.39.]
StarVenus 身份:版主 上站次数:8573 发表文章:12015 篇 经验值:16856 表现值:51 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 6 ] document.write('发信人: StarVenus (参商*美洲河岸治安联防), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:44:25 2006)
'); document.write('
'); document.write('you didn\'t learn it in middle school?
'); document.write('the idea is (a+b)^2=a^2+2ab+ ...
'); document.write('
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': how to get the numerical answer of sqrt(37)=6.08276....
'); document.write(': (怎么用代数方法解37开平方)
'); document.write(': thanks.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 171.159.]
'); 发信人: StarVenus (参商*美洲河岸治安联防), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:44:25 2006)

you didn't learn it in middle school?
the idea is (a+b)^2=a^2+2ab+ ...

【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: how to get the numerical answer of sqrt(37)=6.08276....
: (怎么用代数方法解37开平方)
: thanks.



--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 171.159.]
halo
身份:用户 上站次数:2159 发表文章:2115 篇 经验值:3871 表现值:35 生命力:365 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 7 ] document.write('发信人: halo (凭栏谁忆旧江东), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:52:23 2006)
'); document.write('
'); document.write('(6+1/12+y)^2=37?
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': oh...got it..but could u explain more about how to get higher precision?
'); document.write(': Thanks:)
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 修改:·halo 於 Oct 12 15:53:02 2006 修改本文·[FROM: 129.137.]
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
'); 发信人: halo (凭栏谁忆旧江东), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:52:23 2006)

(6+1/12+y)^2=37?
【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: oh...got it..but could u explain more about how to get higher precision?
: Thanks:)



--

※ 修改:·halo 於 Oct 12 15:53:02 2006 修改本文·[FROM: 129.137.]
※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
bushel
身份:用户 上站次数:2033 发表文章:2463 篇 经验值:7635 表现值:21 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 8 ] document.write('发信人: bushel (失乐园), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:56:16 2006), 转信
'); document.write('
'); document.write('那不是要开另外一个更复杂的平方么?
'); document.write('
'); document.write('【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
'); document.write(': (6+1/12+y)^2=37?
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
'); 发信人: bushel (失乐园), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:56:16 2006), 转信

那不是要开另外一个更复杂的平方么?

【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
: (6+1/12+y)^2=37?



--

※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
halo
身份:用户 上站次数:2159 发表文章:2115 篇 经验值:3871 表现值:35 生命力:365 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 9 ] document.write('发信人: halo (凭栏谁忆旧江东), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:52:23 2006)
'); document.write('
'); document.write('(6+1/12+y)^2=37?
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': oh...got it..but could u explain more about how to get higher precision?
'); document.write(': Thanks:)
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 修改:·halo 於 Oct 12 15:53:02 2006 修改本文·[FROM: 129.137.]
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
'); 发信人: halo (凭栏谁忆旧江东), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:52:23 2006)

(6+1/12+y)^2=37?
【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: oh...got it..but could u explain more about how to get higher precision?
: Thanks:)



--

※ 修改:·halo 於 Oct 12 15:53:02 2006 修改本文·[FROM: 129.137.]
※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
bushel
身份:用户 上站次数:2033 发表文章:2463 篇 经验值:7635 表现值:21 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 10 ] document.write('发信人: bushel (失乐园), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 16:08:21 2006), 转信
'); document.write('
'); document.write('阿?
'); document.write('还有更直接的?我觉得牛顿法就够直接了
'); document.write('取x0=6
'); document.write('x1=6-(-1)/12,跟那谁的一样
'); document.write('x2继续叠带,很快就能收敛到interviewers的那个数值了
'); document.write('
'); document.write('【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
'); document.write(': Interviewers may like some direct thought.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
'); 发信人: bushel (失乐园), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 16:08:21 2006), 转信

阿?
还有更直接的?我觉得牛顿法就够直接了
取x0=6
x1=6-(-1)/12,跟那谁的一样
x2继续叠带,很快就能收敛到interviewers的那个数值了

【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
: Interviewers may like some direct thought.



--

※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
halo
身份:用户 上站次数:2159 发表文章:2115 篇 经验值:3871 表现值:35 生命力:365 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 11 ] document.write('发信人: halo (凭栏谁忆旧江东), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:52:23 2006)
'); document.write('
'); document.write('(6+1/12+y)^2=37?
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': oh...got it..but could u explain more about how to get higher precision?
'); document.write(': Thanks:)
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 修改:·halo 於 Oct 12 15:53:02 2006 修改本文·[FROM: 129.137.]
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
'); 发信人: halo (凭栏谁忆旧江东), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:52:23 2006)

(6+1/12+y)^2=37?
【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: oh...got it..but could u explain more about how to get higher precision?
: Thanks:)



--

※ 修改:·halo 於 Oct 12 15:53:02 2006 修改本文·[FROM: 129.137.]
※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
bushel
身份:用户 上站次数:2033 发表文章:2463 篇 经验值:7635 表现值:21 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 12 ] document.write('发信人: bushel (失乐园), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 15:17:50 2006), 转信
'); document.write('
'); document.write('到底是数值方法还是代数方法?
'); document.write('
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': how to get the numerical answer of sqrt(37)=6.08276....
'); document.write(': (怎么用代数方法解37开平方)
'); document.write(': thanks.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
'); 发信人: bushel (失乐园), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 15:17:50 2006), 转信

到底是数值方法还是代数方法?

【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: how to get the numerical answer of sqrt(37)=6.08276....
: (怎么用代数方法解37开平方)
: thanks.



--

※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
bushel
身份:用户 上站次数:2033 发表文章:2463 篇 经验值:7635 表现值:21 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 13 ] document.write('发信人: bushel (失乐园), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 16:02:34 2006), 转信
'); document.write('
'); document.write('直接用牛顿法不是很好?呵呵
'); document.write('
'); document.write('【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
'); document.write(': 标 题: Re: another interview question
'); document.write(': 发信站: BBS 未名空间站 (Thu Oct 12 15:59:27 2006)
'); document.write(':
'); document.write(': I mean just repeating the procedure mentioned by Matll, hehe, not an
'); document.write('officical method.
'); document.write(': 【 在 bushel (失乐园) 的大作中提到: 】
'); document.write(': : 那不是要开另外一个更复杂的平方么?
'); document.write(':
'); document.write(':
'); document.write(':
'); document.write(': --
'); document.write(':
'); document.write(': ※ 修改:·halo 於 Oct 12 16:00:00 2006 修改本文·[FROM: 129.137.]
'); document.write(': ※ 修改:·halo 於 Oct 12 16:01:15 2006 修改本文·[FROM: 129.137.]
'); document.write(': ※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
'); 发信人: bushel (失乐园), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 16:02:34 2006), 转信

直接用牛顿法不是很好?呵呵

【 在 halo (凭栏谁忆旧江东) 的大作中提到: 】
: 标 题: Re: another interview question
: 发信站: BBS 未名空间站 (Thu Oct 12 15:59:27 2006)
:
: I mean just repeating the procedure mentioned by Matll, hehe, not an
officical method.
: 【 在 bushel (失乐园) 的大作中提到: 】
: : 那不是要开另外一个更复杂的平方么?
:
:
:
: --
:
: ※ 修改:·halo 於 Oct 12 16:00:00 2006 修改本文·[FROM: 129.137.]
: ※ 修改:·halo 於 Oct 12 16:01:15 2006 修改本文·[FROM: 129.137.]
: ※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.137.]
matII
身份:用户 上站次数:498 发表文章:136 篇 经验值:2444 表现值:5 生命力:658 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 14 ] document.write('发信人: matII (当归), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 14:12:15 2006)
'); document.write('
'); document.write('asymptotic analysis吧。
'); document.write('假设(6+x)^2=37, x很小。
'); document.write('得到x^2+12x-1=0
'); document.write('由于x很小,x^2项可以扔掉。
'); document.write('所以x=1/12.
'); document.write('这个给出6.083的结果,not bad。
'); document.write('想要更高阶的精度,就用这个x做同样的但是更高阶的分析就可以。
'); document.write('
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': how to get the numerical answer of sqrt(37)=6.08276....
'); document.write(': (怎么用代数方法解37开平方)
'); document.write(': thanks.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('In this turbulent world,
'); document.write(' you are my dependable attractor.
'); document.write('
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 128.54.]
'); 发信人: matII (当归), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 14:12:15 2006)

asymptotic analysis吧。
假设(6+x)^2=37, x很小。
得到x^2+12x-1=0
由于x很小,x^2项可以扔掉。
所以x=1/12.
这个给出6.083的结果,not bad。
想要更高阶的精度,就用这个x做同样的但是更高阶的分析就可以。

【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: how to get the numerical answer of sqrt(37)=6.08276....
: (怎么用代数方法解37开平方)
: thanks.



--
In this turbulent world,
you are my dependable attractor.


※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 128.54.]
foxtan
身份:用户 上站次数:9 发表文章:9 篇 经验值:296 表现值:10 生命力:112 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 15 ] document.write('发信人: foxtan (随便拉), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 16:36:25 2006)
'); document.write('
'); document.write('如果除法允许的话,也可以用Taylor Series 因为 sqrt(36)=6.
'); document.write('
'); document.write('sqrt(37)=sqrt(36) + (1/2)*(sqrt(36))^(-1)+(1/2)*(-1/4)*(sqrt(36))^(-3)+...
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 128.211.]
'); 发信人: foxtan (随便拉), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 16:36:25 2006)

如果除法允许的话,也可以用Taylor Series 因为 sqrt(36)=6.

sqrt(37)=sqrt(36) + (1/2)*(sqrt(36))^(-1)+(1/2)*(-1/4)*(sqrt(36))^(-3)+...
--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 128.211.]
emacs
身份:用户 上站次数:66 发表文章:14 篇 经验值:175 表现值:14 生命力:117 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 16 ] document.write('发信人: emacs (VC), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 14:07:08 2006)
'); document.write('
'); document.write('Newton-Raphson Method: X^2-37=0
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.77.]
'); 发信人: emacs (VC), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 14:07:08 2006)

Newton-Raphson Method: X^2-37=0

--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 129.77.]
bushel
身份:用户 上站次数:2033 发表文章:2463 篇 经验值:7635 表现值:21 生命力:666 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 17 ] document.write('发信人: bushel (失乐园), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 17:40:47 2006), 转信
'); document.write('
'); document.write('这个方法也不错
'); document.write('嗯
'); document.write('【 在 foxtan (随便拉) 的大作中提到: 】
'); document.write(': 如果除法允许的话,也可以用Taylor Series 因为 sqrt(36)=6.
'); document.write(': sqrt(37)=sqrt(36) + (1/2)*(sqrt(36))^(-1)+(1/2)*(-1/4)*(sqrt(36))^(-3)+...
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
'); 发信人: bushel (失乐园), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 17:40:47 2006), 转信

这个方法也不错

【 在 foxtan (随便拉) 的大作中提到: 】
: 如果除法允许的话,也可以用Taylor Series 因为 sqrt(36)=6.
: sqrt(37)=sqrt(36) + (1/2)*(sqrt(36))^(-1)+(1/2)*(-1/4)*(sqrt(36))^(-3)+...



--

※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 71.58.]
aos
身份:用户 上站次数:397 发表文章:61 篇 经验值:421 表现值:17 生命力:120 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 18 ] document.write('发信人: aos (aos), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 22:32:14 2006), 转信
'); document.write('
'); document.write('呵呵,发觉是一道数分题...
'); document.write('taylor展开...
'); document.write('
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': how to get the numerical answer of sqrt(37)=6.08276....
'); document.write(': (怎么用代数方法解37开平方)
'); document.write(': thanks.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 24.195.]
'); 发信人: aos (aos), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 22:32:14 2006), 转信

呵呵,发觉是一道数分题...
taylor展开...

【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: how to get the numerical answer of sqrt(37)=6.08276....
: (怎么用代数方法解37开平方)
: thanks.



--

※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 24.195.]
txdqpal
身份:用户 上站次数:806 发表文章:534 篇 经验值:2987 表现值:10 生命力:665 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 19 ] document.write('发信人: txdqpal (txdq), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Fri Oct 13 16:16:08 2006)
'); document.write('
'); document.write('用初中那个竖式开平方没有必要吧, 我觉得泰勒展开就是代数方法, 他们考察的就是
'); document.write('能不能快速算出来吧, 那些比较炫的方法没有必要
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 206.196.]
'); 发信人: txdqpal (txdq), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Fri Oct 13 16:16:08 2006)

用初中那个竖式开平方没有必要吧, 我觉得泰勒展开就是代数方法, 他们考察的就是
能不能快速算出来吧, 那些比较炫的方法没有必要
--

※ 来源:·BBS 未名空间站 http://mitbbs.com·[FROM: 206.196.]
skydive 身份:用户 上站次数:2610 发表文章:28966 篇 经验值:42513 表现值:126 生命力:365 我的博客 [回复文章] [回信给作者] [本篇全文] [进入讨论区] [返回顶部] [删除文章] [转寄] [转贴] [ 20 ] document.write('发信人: skydive (跳跳~~备战备荒为人民), 信区: Quant
'); document.write('标 题: Re: another interview question
'); document.write('发信站: BBS 未名空间站 (Thu Oct 12 22:46:45 2006), 转信
'); document.write('
'); document.write('taylor expansion...
'); document.write('
'); document.write('【 在 zhuzhu111 (猪猪) 的大作中提到: 】
'); document.write(': how to get the numerical answer of sqrt(37)=6.08276....
'); document.write(': (怎么用代数方法解37开平方)
'); document.write(': thanks.
'); document.write('
'); document.write('
'); document.write('
'); document.write('--
'); document.write('
'); document.write('※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 69.118.]
'); 发信人: skydive (跳跳~~备战备荒为人民), 信区: Quant
标 题: Re: another interview question
发信站: BBS 未名空间站 (Thu Oct 12 22:46:45 2006), 转信

taylor expansion...

【 在 zhuzhu111 (猪猪) 的大作中提到: 】
: how to get the numerical answer of sqrt(37)=6.08276....
: (怎么用代数方法解37开平方)
: thanks.



--

※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 69.118.]
[首页] [上页] [下页] [末页] [分页: 1 2 ] [快速返回] [进入金融工程讨论区] [返回顶部] 回复文章 帐号: 密码: 标题: 内 容: 赞助链接



将您的链接放在这儿 版权所有,未名空间(mitbbs.com),since 1996

Contact Us - Terms and Conditions - Privacy Policy

No comments: