当前位置:网站首页>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)
边栏推荐
- JS20 数组扁平化
- JS20 array flattening
- A case study of college entrance examination prediction based on multivariate time series
- Tech talk activity preview | building intelligent visual products based on Amazon kVs
- How to transfer business data with BorgWarner through EDI?
- Interpretation of key parameters in MOSFET device manual
- ETH数据集下载及相关问题
- VScode知识点——常见报错
- Linux Installation PostgreSQL + Patroni cluster problem
- IDEA2021.1 安装教程
猜你喜欢

Sword finger offer 27 Image of binary tree

GeoServer:发布PostGIS数据源

Green bamboo biological sprint Hong Kong stocks: loss of more than 500million during the year, tiger medicine and Beijing Yizhuang are shareholders

Eye of depth (III) -- determinant of matrix

綠竹生物沖刺港股:年期內虧損超5億 泰格醫藥與北京亦莊是股東

Smart trash can (V) - light up OLED

LeetCode:1380. Lucky number in matrix -- simple

Jiuxian's IPO was terminated: Sequoia and Dongfang Fuhai were shareholders who had planned to raise 1billion yuan

Qwebengineview crash and alternatives

Does digicert SSL certificate support Chinese domain name application?
随机推荐
Exploration of mobile application performance tools
PCL知识点——体素化网格方法对点云进行下采样
剑指 Offer 22. 链表中倒数第k个节点
线性规划例题 投资的收益与风险
Eye of depth (III) -- determinant of matrix
The impact of telecommuting on all aspects of our experience | community essay solicitation
helm kubernetes包管理工具
2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition (a sign in, B sign in, C sign in, D thinking +mst
IDEA2021.1 安装教程
AP and F107 data sources and processing
Weili holdings listed on the Hong Kong Stock Exchange: with a market value of HK $500million, it contributed an IPO to Hubei
After meeting a full stack developer from Tencent, I saw what it means to be proficient in MySQL tuning
871. 最低加油次数
Does digicert SSL certificate support Chinese domain name application?
Use the API port of the bridge of knowledge and action to provide resources for partners to access
executescalar mysql_ ExecuteScalar()
从收集到输出:盘点那些强大的知识管理工具——优秀笔记软件盘点(四)
深度之眼(三)——矩阵的行列式
[leetcode] 14. Préfixe public le plus long
深度之眼(二)——矩阵及其基本运算