蚂蚁文库
换一换
首页 蚂蚁文库 > 资源分类 > DOCX文档下载
 

matlab期末作业(matlab期末作业)

  • 资源ID:53134630       资源大小:87.38KB        全文页数:33页
  • 资源格式: DOCX        下载权限:游客/注册会员    下载费用:20积分 【人民币20元】
快捷注册下载 游客一键下载
会员登录下载
三方登录下载: 微信快捷登录 QQ登录  
下载资源需要20积分 【人民币20元】
邮箱/手机:
温馨提示:
支付成功后,系统会自动生成账号(用户名和密码都是您填写的邮箱或者手机号),方便下次登录下载和查询订单;
支付方式: 微信支付    支付宝   
验证码:   换一换

 
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,既可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰   

matlab期末作业(matlab期末作业)

mat lab期末作业(matlab期末作业) The final assignments are as follows 1. solving differential equations, drawing the solution function diagram. Five 0 One 0 Three Three Y Y X Y 0t30 2. A set of sparse data is generated, and the data are interpolated by one dimension interpolation The theoretical curves are compared and the corresponding curves are drawn. T E T T Y TCOS Two 3 3 a factory produces two kinds of beverages, 6 kg per 100 boxes of beverage and 10 workers Profit of 100 thousand yuan; per hundred boxes of B drinks need 5 kilograms of raw materials, 20 workers, 90 thousand yuan profit. This work The factory has a total of 60 kilograms of raw materials, 150 workers, and due to other conditions, a beverage production is not more than 800 boxes. Ask how to arrange the production plan, that is, how much the two drinks produce to make the most profit. Further discussion 1 if we invest 8 thousand yuan, we can increase the raw material by 1 kg, and ask if we should make the investment. 2 if the profit per 100 boxes of beverage can increase by 10 thousand yuan, should we change the production plan. One 1. solving differential equations, drawing the solution function diagram. Five 0 One Three Three Y Y X Y X Y X X 0t30 The answer is as follows Converting the upper to Three One One Two One Three Two One Two Two 0 One 0 0t30 Writing M files Function y myodefun T, x Y[-x 1 3-x 2 X 1 -x 2 ”3]; End Enter in the command window Tspan[0, 30]; x0[l; 0. 5]; [t, x] ode45 myodefun, tspan, xO 〃Plot〃T, X l,g*‘,t, X ⑵, The output graph is as follows Zero Five Ten Fifteen Twenty Twenty-five Thirty -0. 5 Zero Zero point five One 2. A set of sparse data is generated, and the data are interpolated by one dimension interpolation T E T T Y TCOS Two 3 Two The theoretical curves are compared and the corresponding curves are drawn. Make a function first Take 0, 0. 5, 1, . . . 9. 5, 10, take a value every 0. 5, and make a scatter plot. T E T T Y Two 3 Secondly, the scatter points are linear linear, three degree polynomial cubic and spline interpolation respectively. T00.510; Yt. ”3. *exp -2*t.*cos t Xl-0. 2510; Ylinterpl T, y, xl, liner,; Plot T, y, r*, xl, Yl,b; Legend scatter point , linear interpolation; Zero One Two Three Four Five Six Seven Eight Nine Ten -0. 1 -0. 08 -0. 06 -0. 04 -0. 02 Zero Zero point zero two Zero point zero six Zero point zero eight Scatter linear interpolation T00. 510; Yt. ”3. *exp -2*t.*cos t X0. 2510; Ylinterpl T, y, xl, cubic; Plot T, y, r*, xl, Yl,b; Legend scatter point , three polynomial interpolation ; Three Zero One Two Three Four Five Six Seven

注意事项

本文(matlab期末作业(matlab期末作业))为本站会员(aaakkpc)主动上传,蚂蚁文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知蚂蚁文库(发送邮件至2303240369@qq.com或直接QQ联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们


网站客服QQ:2303240369

copyright@ 2017-2027 mayiwenku.com 

网站版权所有  智慧蚂蚁网络

经营许可证号:ICP备2024020385号



收起
展开