matlab编程英文版(Stephen_J_Chapman_)课后答案7.pdf

上传人:qwe****56 文档编号:70014000 上传时间:2023-01-14 格式:PDF 页数:5 大小:161.46KB
返回 下载 相关 举报
matlab编程英文版(Stephen_J_Chapman_)课后答案7.pdf_第1页
第1页 / 共5页
matlab编程英文版(Stephen_J_Chapman_)课后答案7.pdf_第2页
第2页 / 共5页
点击查看更多>>
资源描述

《matlab编程英文版(Stephen_J_Chapman_)课后答案7.pdf》由会员分享,可在线阅读,更多相关《matlab编程英文版(Stephen_J_Chapman_)课后答案7.pdf(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、MATLAB MATLAB Programming for MATLAB Programming for EngineeEnginees s 姓名姓名:户桂民 学号学号:06030229 班级:班级:0290601 日期日期:2008/03/24 -2-One:objectives 1.Help the students to became more familiar with MATLAB tools.2.Put what the students have learned into practice.Two:contents 1.Question:The distance traveled

2、 by a ball falling in the air is given by the equation x=x0+v0t+1/2at2 Use MATLAB to calculate the position of the ball at time t=5s if x0=10m,v0=15m/s2,and a=-9.81m/sec2 Conmand lines and results t=5;x0=10;v0=15;a=-9.81;x=x0+v0*t+1/2*a*t2 x=-37.6250 2.Question:Suppose that x=3 and y=4.Use MATLAB to

3、 evaluate the following -3-expression:x2y3/(x-y)2 Conmand lines and results x=3;y=4;s=x2*y3/(x-y)2 s=576 3.Question:The following MATLAB statements plot the function y(x)=2*e-0.2xfor the range 0 x10.x=0:0.1:10;y=2*exp(-0.2*x);plot(x,y);Use the MATLAB Edit WINDOWS o create a new empty M-File,type the

4、se statements into the file,and save the file with the name test1.m.Then,execute the program by typing the name test1 in the Command Windows.What result do you get?Command line and results:%Create a M-file named test1.m using the following cammand lines x=0:0.1:10;y=2*exp(-0.2*x);-4-plot(x,y);test1

5、4.Question:Suppose that u=1 and v=3.Evaluate the following expressions using MATLAB.a.4u/(3v)b.2v-2/(u+v)2 c.v3/v3-u3 d.4/3v2 command lines and results:a=4*u/(3*v)a=0.4444 -5-b=2*v(-2)/(u+v)2 b=0.0139 c=v3/(v3-u3)c=1.0385 d=4/3*pi*v2 d=37.6991 Three:Experience 1.The experience of the frist experimen

6、t:The experiments our school prepared for us are not enough,we shoold do more exercises in our free time.2.My opinoin about our class:After several weeksclasses,I know that you are very strict with everyone of us.Its useful for our study.However,I think most of us like the lovely and loose class atmosphere.Itjust my personal opinion,if I write something hurt you,please forgive me.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 其他杂项

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁