当前位置:网站首页>Solving simple differential equations
Solving simple differential equations
2022-07-02 17:26:00 【__ Rain】
Solve an ordinary differential equation d y d t = a y \frac{dy}{dt}=ay dtdy=ay
syms y(t) a; eqn = diff(y, t) == a*y; S = dsolve(eqn)Add conditions , initial value y ( 0 ) = 5 y(0) = 5 y(0)=5
syms y(t) a; eqn = diff(y, t) == a*y; cond = y(0) = 5; S = dsolve(eqn, cond)Solving second order ordinary differential equations d 2 y d u 2 = a y \frac{d^2y}{du^2}=ay du2d2y=ay
syms y(t) a; eqn = diff(y, t, 2) == a*y; S = dsolve(eqn)Add conditions , y ( 0 ) = b , y ′ ( 0 ) = 1 y(0) = b, y'(0) = 1 y(0)=b,y′(0)=1
syms y(t) a b; eqn = diff(y, t, 2) == a*y; Dy = diff(y, t); cond = [y(0) == b, Dy(0) == 1]; S = dsolve(eqn, cond)Solving ordinary differential equations
d y d t = z d z d t = − y \frac{dy}{dt}=z\\ \frac{dz}{dt}=-y dtdy=zdtdz=−ysyms y(t) z(t) eqns = [diff(y, t) == z, diff(z, t) == -y]; s = dsolve(eqns)
边栏推荐
- 剑指 Offer 22. 链表中倒数第k个节点
- 2322. Remove the minimum fraction of edges from the tree (XOR and & Simulation)
- 牛客 JS3 分隔符
- Qwebengineview crash and alternatives
- VScode知识点——常见报错
- IDEA2021.1 安装教程
- 【Leetcode】14. 最長公共前綴
- Does digicert SSL certificate support Chinese domain name application?
- QWebEngineView崩溃及替代方案
- 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
猜你喜欢

TCP congestion control details | 2 background

对接保时捷及3PL EDI案例

A few lines of code to complete RPC service registration and discovery

Win10系统使用pip安装juypter notebook过程记录(安装在系统盘以外的盘)

13、Darknet YOLO3

Exploration of mobile application performance tools

Baobab's gem IPO was terminated: Tang Guangyu once planned to raise 1.8 billion to control 47% of the equity

社交元宇宙平台Soul冲刺港股:年营收12.8亿 腾讯是股东

The computer comes with software to make the background color of the picture transparent (matting white background)

宝宝巴士创业板IPO被终止:曾拟募资18亿 唐光宇控制47%股权
随机推荐
The beginning of life
[shutter] dart data type (dynamic data type)
剑指 Offer 26. 树的子结构
使用知行之桥的API端口,提供资源供合作伙伴访问
【Leetcode】14. 最长公共前缀
Blog theme "text" summer fresh Special Edition
海思Hi3798MV100机顶盒芯片介绍[通俗易懂]
Experience home office, feel the completion of the project | community essay solicitation
SSB threshold_ SSB modulation "suggestions collection"
helm kubernetes包管理工具
一年頂十年
executescalar mysql_ ExecuteScalar()
Smart trash can (V) - light up OLED
Weili holdings listed on the Hong Kong Stock Exchange: with a market value of HK $500million, it contributed an IPO to Hubei
Does digicert SSL certificate support Chinese domain name application?
Use of openpose
From collection to output: inventory those powerful knowledge management tools - inventory of excellent note taking software (4)
酒仙网IPO被终止:曾拟募资10亿 红杉与东方富海是股东
Green bamboo biological sprint Hong Kong stocks: loss of more than 500million during the year, tiger medicine and Beijing Yizhuang are shareholders
ETH数据集下载及相关问题