请教,erlang 怎么开立方 等

4 views
Skip to first unread message

夏一平

unread,
Oct 11, 2009, 10:08:46 AM10/11/09
to erlang...@googlegroups.com
请教,erlang 怎么开立方 等
如:27^(1/3) = 3     ??
      4^(1/2)  = 2     math:sqrt(4) = 2
      3^(3)    = 27    ?? 传统可以 3*3*3 = 27

Jeff Xiong

unread,
Oct 11, 2009, 10:14:14 AM10/11/09
to erlang...@googlegroups.com
牛顿逼近法...简称牛逼法...解代数方程必杀技...

2009/10/11 夏一平 <drea...@gmail.com>:

--
Jeff Xiong
Software Journeyman - http://gigix.agilechina.net
Open Source Contributor - http://fluorida.googlecode.com/
Technical Evangelist - http://www.infoq.com/cn/

Frank Song

unread,
Oct 11, 2009, 11:44:25 PM10/11/09
to erlang...@googlegroups.com
很简单
math:pow(X,0.33333)

2009/10/11 夏一平 <drea...@gmail.com>
Reply all
Reply to author
Forward
0 new messages