trigonometry.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:joysix 作者: niberger 项目源码 文件源码
def specialFun3(x):     
    '''(-2.*x + 3.*sin(x) - x*cos(x))/(x*x*x*x*x)'''
    if (abs(x) > 1e-2):         
        return (-2.*x + 3.*math.sin(x) - x*math.cos(x)) / (x*x*x*x*x)           
    else:           
        return - 1./60. + x*x / 1260. - x*x*x*x / 60480.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号