当前位置:网站首页>The 4th small class discussion class on fundamentals of information and communication

The 4th small class discussion class on fundamentals of information and communication

2022-06-11 04:36:00 Clever Hami melon

mathmatic Solving ordinary differential equations

(1) Use DSolve function ( perhaps DSolveValue, In the same way )

Such as y’[x] = 2xy[x], solve y[x]( general solution )
DSolve[y’[x] == 2xy[x], y[x], x]
 Insert picture description here
Find out the special solution : Above is the general solution and below is the special solution
 Insert picture description here
Multiple general solutions can also be solved :
 Insert picture description here
Use /. The assignment statement extracts each general solution :
 Insert picture description here
Draw an image :
 Insert picture description here
Solving differential equations :
 Insert picture description here
Special solution :
 Insert picture description here
have access to D[y[x],x] Instead of y’[x]:
 Insert picture description here
(2) Use NDSolve, Numerical solution , Special solution ( Expressed numerically )
 Insert picture description here
adopt Plot You can see specific images :
 Insert picture description here

Partial differential equations

(1) Use DSolve
 Insert picture description here

(2)
Wave equation :
 Insert picture description here
Heat conduction equation ( There is no solution here ):
 Insert picture description here
Add initial conditions to solve the wave equation : Use here Derivative Indicates that a term after partial derivation is 0 The initial value of the
 Insert picture description here
Solve the heat conduction equation after adding the initial conditions :
 Insert picture description here

原网站

版权声明
本文为[Clever Hami melon]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020548375428.html