matlab第三章上机总结,matlab上机作业第三章

上机实验报告

班级:机械工程及自动化02

姓名:鄢文光

学号:40902010221

日期:2012年11月13日

题目1-1:>> syms x;limit(cos(sqrt(x))^(pi/x),x,0,'right')

ans =

exp(-1/2*pi)

题目1-2:>> syms x;limit((3*sin(x)+(x^2)*cos(1/x))/((1+cos(x))*log(1+x)),x,0)

ans =

3/2

题目1-3:>> syms x;limit((sqrt(4*x^2+x-1)+x+1)/sqrt(x^2+sin(x)),x,inf,'left')

ans =

3

题目2-1:>> syms x;f=(tan(sqrt(x+sqrt(x+sqrt(2*x)))))^2;diff(f)

ans =

tan((x+(x+2^(1/2)*x^(1/2))^(1/2))^(1/2))*(1+tan((x+(x+2^(1/2)*x^(1/2))^(1/2))^(1/2))^2)/( x+(x+2^(1/2)*x^(1/2))^(1/2))^(1/2)*(1+1/2/(x+2^(1/2)*x^(1/2))^(1/2)*(1+1/2*2^(1/2)/x^(1/ 2)))

题目2-2:>> syms x;f=(cos(x^2))*((sin(1/x)^3));diff(f)

ans =

-2*sin(x^2)*x*sin(1/x)^3-3*cos(x^2)*sin(1/x)^2*cos(1/x)/x^2

题目3-1:>> syms x;f=sqrt(sin(x)-((sin(x))^3));int(f,0,pi)

ans =

4/3

题目3-2:>> syms x;f=(1/x)*sqrt((x+1)/(x-1)),int(f)

f =

1/x*((1+x)/(x-1))^(1/2)

ans =

((1+x)/(x-1))^(1/2)*(x-1)/((1+x)*(x-1))^(1/2)*(-atan(1/(x^2-1)^(1/2))+log(x+(x^2-1)^(1/2) ))

题目4:>> dsolve('(x^2)*Dy+x*y=y^2','y(1)=1','x')

ans =

2*x/(1+x^2)

题目5:

function ydot=fun1(t,y)

ydot=[y(2);y(3);-4*y(1)-3*y(2)-11*y(3)+3];

%建立函数fun1.m

>> y0=[1,1,1];[t,y]=ode45('fun1',[0:5:100],y0)

t =

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值