task:19&20 微分方程(8.6-8.9)

语法知识

补充:(8.5 极限的计算)

在这里插入图片描述

8.6 常微分方程的符号解

在这里插入图片描述

8.7 平面曲线族的包络线

在这里插入图片描述

实例演练

8.6

♪解二阶微分方程:

>> dsolve('D2y+4*y=sin(x)','x')
 
ans =
 
sin(5*x)/24 - sin(3*x)/8 + sin(x)/6 - sin(2*x)*(cos(2*x)/6 - cos(x)/3 + cos(x)*(cos(2*x)/6 - cos(x)/3)) + C1*cos(2*x) + C2*sin(2*x)
 
>> simplify(ans)
 
ans =
 
sin(2*x)/6 + sin(x)/3 + C1*cos(2*x) + C2*sin(2*x)
 

♪求回路电流:

在这里插入图片描述

>> dsolve('DI+I/T=I0*sin(w*t)','I(0)=0,DI(0)=0')
 
ans =
 
(I0*w*exp(-t/T))/(1/T^2 + w^2) - (I0*(w*cos(t*w) - sin(t*w)/T))/(1/T^2 + w^2)
 
>> I=simplify(ans)
 
I =
 
(I0*w*exp(-t/T))/(1/T^2 + w^2) - (I0*(w*cos(t*w) - sin(t*w)/T))/(1/T^2 + w^2)
 

♪追线问题:

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
此题感悟…QAQ(一定要这么为难人嘛):首先哈,这个图先是看不懂,本以为导弹曲线应该是一个开口朝下的抛物线。 其次前期工作这个流程大概看半懂,具体解题方法还是懵逼的,接下来的代码应该是前期工作的从后往前求解从而得到我们所需要的。(♞:之后有点脑子了可以回来康康这题)

8.7

♪直线滑动的包络线:

在这里插入图片描述

>> clear
>> syms x y a c theta
>> f=x/a+y/(c^2-a^2)^(1/2)-1;
>> eq=diff(f,'a')
 
eq =
 
(a*y)/(c^2 - a^2)^(3/2) - x/a^2
 
>> [x,y]=solve(f,eq)
 
x =
 
a^3/((c^2 - a^2)^(3/2)*(1/(c^2 - a^2)^(1/2) + a^2/(c^2 - a^2)^(3/2)))
 
 
y =
 
1/(1/(c^2 - a^2)^(1/2) + a^2/(c^2 - a^2)^(3/2))
 
>> simplify(x)
 
ans =
 
a^3/c^2
 
>> simplify(y)
 
ans =
 
(c^2 - a^2)^(3/2)/c^2
 
>> x=c*cos(theta)^3;
>> y=c*sin(theta)^3;
>> x^(2/3)+y^(2/3)
 
ans =
 
(c*cos(theta)^3)^(2/3) + (c*sin(theta)^3)^(2/3)

>> ans1=simplify(ans)
 
ans1 =
 
(c*cos(theta)^3)^(2/3) + (c*sin(theta)^3)^(2/3)
 
>> ans1=c^(2/3);
>> c=5;
>> for a=0.5:0.5:5
      x=0:0.05:5;
      y=(1-x/a)*(c^2-a^2)^(1/2);
    plot(x,y),hold on
   end
>> axis([0 5 -0.5 5.5])
>> theta=0:pi/50:pi/2;
>> x1=c*cos(theta).^3;y1=c*sin(theta).^3;
>> plot(x1,y1,'-b')
>> plot(x1,y1,'or')
>> grid on

在这里插入图片描述
没有意外的话我也许勉勉强强大概应该是基本都能理解了吧这题。biubiubiu~(づ ̄3 ̄)づ╭❤~♥

♪炮弹抛物线包络线:

朕 乏 了
(又名:菜鸡不配拥有此题)

总结思考

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
Executing tasks: [:app:assembleDebug] in project D:\Users\lenovo\AndroidStudioProjects\Pinduoduo WARNING: The specified Android SDK Build Tools version (27.0.0) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.5.2. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '27.0.0'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. > Task :app:preBuild UP-TO-DATE > Task :app:preDebugBuild UP-TO-DATE > Task :app:checkDebugManifest UP-TO-DATE > Task :app:generateDebugBuildConfig UP-TO-DATE > Task :app:javaPreCompileDebug UP-TO-DATE > Task :app:mainApkListPersistenceDebug UP-TO-DATE > Task :app:generateDebugResValues UP-TO-DATE > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE > Task :app:mergeDebugShaders UP-TO-DATE > Task :app:compileDebugShaders UP-TO-DATE > Task :app:generateDebugAssets UP-TO-DATE > Task :app:compileDebugRenderscript NO-SOURCE > Task :app:compileDebugAidl NO-SOURCE > Task :app:generateDebugResources UP-TO-DATE > Task :app:mergeDebugResources UP-TO-DATE > Task :app:processDebugManifest > Task :app:processDebugResources FAILED AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"D:\\Users\\lenovo\\AndroidStudioProjects\\Pinduoduo\\app\\src\\main\\res\\layout\\activity_main.xml","position":{"startLine":34}}],"original":"D:\\Users\\lenovo\\AndroidStudioProjects\\Pinduoduo\\app\\src\\main\\res\\layout\\activity_main.xml:35: AAPT: error: '#875ale' is incompatible with attribute textColor (attr) reference|color.\n ","tool":"AAPT"} FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > Android resource linking failed D:\Users\lenovo\AndroidStudioProjects\Pinduoduo\app\src\main\res\layout\activity_main.xml:35: AAPT: error: '#875ale' is incompatible with attribute textColor (attr) reference|color. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 3s 11 actionable tasks: 2 executed, 9 up-to-date
06-07

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值