ivaneeo's blog

          自由的力量,自由的生活。

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            669 Posts :: 0 Stories :: 64 Comments :: 0 Trackbacks
          The sine of an angle (specified in radians) can be computed by making use of the approximation sinxbook-Z-G-D-20.gifx if x is sufficiently small, and the trigonometric identity
          ??? ch1-Z-G-19.gif

          to reduce the size of the argument of sin. (For purposes of this exercise an angle is considered ``sufficiently small'' if its magnitude is not greater than 0.1 radians.) These ideas are incorporated in the following procedures:
          ??? (define?(cube?x)?(*?x?x?x))
          ??? (define?(p?x)?(-?(*?3?x)?(*?4?(cube?x))))
          ??? (define?(sine?angle)
          ?? ??? (if?(not?(>?(abs?angle)?0.1))
          ?????? ??? angle
          ?????? ??? (p?(sine?(/?angle?3.0)))))

          posted on 2006-07-31 15:02 ivaneeo 閱讀(665) 評論(0)  編輯  收藏 所屬分類: scheme-語言之母
          主站蜘蛛池模板: 陆良县| 航空| 嘉禾县| 巴马| 怀柔区| 阿坝| 大宁县| 镶黄旗| 肥西县| 榕江县| 盘山县| 随州市| 大荔县| 夏河县| 曲阳县| 黑山县| 南丰县| 石首市| 光山县| 龙南县| 荥阳市| 鄂托克前旗| 钟山县| 武义县| 靖远县| 稻城县| 延津县| 翁牛特旗| 革吉县| 绍兴市| 彰化县| 罗山县| 比如县| 西华县| 边坝县| 南皮县| 广德县| 郁南县| 华池县| 闸北区| 炎陵县|