广告合作
  • 今日头条

    今日头条

  • 百度一下

    百度一下,你就知道

  • 新浪网

    新浪网 - 提供新闻线索,重大新闻爆料

  • 搜狐

    搜狐

  • 豆瓣

    豆瓣

  • 百度贴吧

    百度贴吧——全球领先的中文社区

  • 首页 尚未审核订阅工具 订阅

    Maple计算微积分问题

    来源:网络收集  点击:  时间:2024-04-07
    【导读】:
    在前面,我已经介绍了用Maple计算函数的导数问题。本文,进一步学习Maple处理微积分的问题。不定积分的计算1/4分步阅读

    计算sin(x)的原函数。

    f:=x-sin(x);

    Integrate(f(x),x)=integrate(f(x),x);

    Maple也把后面的常数项C忽略了。

    2/4

    加上常数项:

    f:=x-sin(x);

    Integrate(f(x),x)=integrate(f(x),x)+C;

    对比一下。

    3/4

    有些函数是求不出原函数的:

    f:=x-1/sin(x^2);

    Integrate(f(x),x)=integrate(f(x),x)+C;

    4/4

    还有些函数的原函数很复杂,不能表示为初等函数:

    g:=x-sin(x^2);

    Integrate(g(x),x)=integrate(g(x),x)+C;

    g:=x-sin(x^3);

    Integrate(g(x),x)=integrate(g(x),x)+C:

    simplify(%);

    定积分的计算1/8

    计算sin(x)在a到b之间的定积分:

    f := x- sin(x) ;

    Integrate(f(x), x = a .. b) = integrate(f(x), x = a .. b)

    a..b,就是a到b的意思。

    2/8

    给a和b赋上具体的数值:

    f := x- sin(x) ;

    a:=0:b:=pi:

    Integrate(f(x), x = a .. b) = integrate(f(x), x = a .. b)

    3/8

    一般都有定积分:

    f := x- sin(x^2) ;

    a:=0:b:=pi:

    Integrate(f(x), x = a .. b) = integrate(f(x), x = a .. b)

    4/8

    除非函数值出界:

    f := x- 1/sin(x) ;

    a:=0:b:=pi:

    Integrate(f(x), x = a .. b) = integrate(f(x), x = a .. b)

    5/8

    调整一下求积区间:

    f := x- 1/(1+sin(x+1)) ;

    a:=1:b:=2:

    Integrate(f(x), x = a .. b) = integrate(f(x), x = a .. b)

    6/8

    给出数值解:

    f := x- 1/(1+sin(x+1)) ;

    a:=1:b:=2.:

    Integrate(f(x), x = a .. b) = integrate(f(x), x = a .. b)

    大家看看上下文的代码有什么区别吗?

    7/8

    计算广义积分:

    f:=x-1/(c^2+x^2):

    a:=-infinity:b:=infinity:

    Integrate(f(x),x=a..b)=integrate(f(x),x=a..b);

    答案是:π/abs(c)。

    8/8

    integrate(1/(1-x^2),x=a..b);

    出界了。

    解简单的一阶微分方程1/2

    求y(x)= 2*x*y(x)的通解:

    with(DEtools):

    de:=diff(y(x),x)=2*x*y(x);

    dsolve(de, y(x));

    通解是:y(x) = C1*e^(x^2)。

    2/2

    求y(x)=exp(a*x-y(x))满足y(0)=0的特解:

    with(DEtools):

    de:= diff(y(x),x)=exp(2*x-y(x));

    dsolve({de,y(0)=0}, y(x));

    注意事项

    Maple运行结果的可读性很好,但是代码就比较难读了。

    MAPLE微积分原函数微分方程
    本文关键词:

    版权声明:

    1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。

    2、本站仅提供信息发布平台,不承担相关法律责任。

    3、若侵犯您的版权或隐私,请联系本站管理员删除。

    4、文章链接:http://www.1haoku.cn/art_452003.html

    相关资讯

    ©2019-2020 http://www.1haoku.cn/ 国ICP备20009186号05-05 08:31:57  耗时:0.025
    0.0251s