国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務合肥法律

ME5701程序代寫、代做Matlab設計編程
ME5701程序代寫、代做Matlab設計編程

時間:2024-11-04  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



Assignment for Part 2 in ME5701
——Linear stability analysis of Mathieu equation——
Due time: 23:59:59, Nov. 15th, 2024
This assignment will guide you to study the stability properties of the Mathieu equation. Please read through
carefully the problem description below and understand the derivations provided.
The Mathieu equation is a type of differential equation that is significant in various fields of applied mathe matics and physics. For example, it appears in the analysis of quantum systems with periodic potentials, such as
electrons in a crystal lattice (solid-state physics). The equation is also used in the study of the stability of orbits
in celestial mechanics, particularly in systems with periodic gravitational forces.
Mathematically, the Mathieu equation is a differential equation with periodic coefficients, given by
d
2u
dt2
+ (δ + 2 cost)u = 0
where δ and  are real-valued constant parameters, t is the time and u is the unknown. Note that the coefficient
cost is 2π-periodic. Therefore, understanding and solving the Mathieu equation are essential for predicting and
controlling the behaviour of systems subject to periodic influences. The aim of this assignment is to determine the
stability of the solution u = 0 as a function of t. (You can easily verify that u = 0 is a fixed point of the equation.)
In the following sections, we will employ the Floquet analysis to investigate the stability of the Mathieu equation.
To complete this CA, you will need to develop numerical codes to complete the specified tasks and
summarize your results in a comprehensive report.
• Task (a) To begin, since the Mathieu equation contains a 2nd-order temporal derivative term, we introduce
v =
du
dt to lower the order of time derivative. Consequently, we have the following equations
du
dt = v (1)
dv
dt + (δ + 2 cost)u = 0 (2)
Rewrite the above equations in a matrix form. You have to complete the following matrix
. (3)
The method to be introduced below is called the Floquet–Fourier–Hill method. You can read Deconinck &
Kutz (2006) for more information. Following this method, the solution form for u and v can be expanded
−1 is the imaginary unit, n ∈ (−∞, ∞) is an integer in the Fourier expansion, an, bn are the
expansion coefficients and λ, which will soon become clear that it is the eigenvalue in our stability problem,
is complex-valued. (Recall that the stability of the system is determined by the real parts of its eigenvalues
λ. Specifically, the system is unstable if at least one eigenvalue has a positive real part. Conversely, the
system is stable if the real parts of all the eigenvalues are negative.)
By substituting the solution forms of u(t), v(t) into Eqs. (1,2) and noting that cost =
arrive at an infinite system of equations whose general form is shown below
λan + inan = bn (4)
λbn + inbn = −(δan + an−1 + an+1) (5)
1You have to provide an explanation in the report.
where, again, n can be any integer from −∞ to ∞. Here, the derivation of Eq. (4) is explained:.
By comparing the LHS and RHS of the last equation above, for each term e
(λ+in)t
, their corresponding
coefficients should be the same; otherwise, the equation won’t hold for arbitrary t! This leads to the
underlined part of the equation, which is (λ + in)an = bn, or Eq. (4). Now, your task is to derive Eq. (5)
using the same reasoning. Note that you will need to rename the index n during the derivation process.
• Task (b) Next, we will write the above system of equations in a matrix form. As usual, we only retain the
λ-related term on the LHS and move all the other terms to the RHS, resulting in from Eqs. (4,5)
λan = −inan + bn, (6)
λbn = −inbn − (δan + an−1 + an+1). (7)
Define a vector q =
bn−1
bn
bn
, where, from top to bottom, we stack a−∞ to a∞, followed by b−∞ to b∞. In
this example, 6 representative terms are explicitly shown.
Now we can write Eqs. (6,7) in a matrix form
(8)
or λq = Mq, where I have denoted the big matrix as M. You have to show the complete matrix in the report.
Apparently, this is an eigenvalue problem for M with λ being the eigenvalue. By solving for λ, we can reveal
the stability of the Mathieu equation around u = 0. To numerically solve the problem, we have to truncate
the value of n and we choose n ∈ [−20, 20], which means that we have a−20, a−19..., a−1, a0, a1, ..., a19, a20
and likewise for bn.
Write a numerical code to solve this eigenvalue problem for δ =  = 1 and plot the eigenspectrum. Eigen spectrum means the set of all the eigenvalues. A sample eigenspectrum is shown in the appendix. In Matlab,
you can use “eig” to solve an eigenvalue problem and obtain the whole spectrum by plotting the real part
of the eigenvalue as the x axis and the imaginary part as the y axis. Do “help eig” in Matlab to get more
information.
Try n ∈ [−40, 40] with the same δ,  to see if the results are converged or not. Discuss your result (what’s
the stability of the equation? what do you observe? what do you find interesting? etc.).
• Task (c) Next, we will use another method to arrive at the same conclusion.
We start with a simple case for the illustration. Consider a scalar function q which is governed by
dq
dt = A(t)q (9)
2
where A(t) = A(t + T) is T-periodic. We can solve this equation using the separation of variables, that is,
from dq
q = A(t)dt, we can get in general q(t) = q(0)e
R
t
0 A(t
0 )dt0 . You can verify this result by substitution.
Remember that this is the only solution. From this solution, by assigning t = T, we can also deduce
q(T) = q(0)e
R
T
0 A(t)dt
. (10)
Then, we realise that y(t) = q(t + T) should also be a solution to the original equation because
dy
dt =
dq(t + T)
dt =
dq(t + T)
d(t + T)
= A(t + T)q(t + T) = A(t)y(t)
which is the same equation as the original one. But y(t), q(t) are not necessarily the same and they may
differ by a constant multiplier, which means y(t) = cq(t) = q(t + T), where c is a constant. From this
equation, by considering t = 0, we have q(T) = cq(0). Comparing this equation with Eq. (10), we have
c = e
R 0
T A(t)dt
. (11)
On the other hand, the stability of Eq. (9) refers to the growth of q over a period T, which is q
q
(
(0)
T)
. And
this ratio is exactly c! This means that we can evaluate the value of c to investigate the stability of the
original equation. To do so, we need to time-integrate the matrix A from 0 to T because we have the time
integration R T
0 A(t)dt in Eq. (11).
In our problem, the matrix A is given in Eq. (3) and q =

u
v

is a vector, not a scalar. Thus, the derivation
above should be presented in a multi-dimensional version. This can be found in the Appendix. Read it and
realise that we need to calculate the monodromy matrix E to get its eigenvalues to reveal the stability of
the equation (the monodromy matrix E is equivalent to c above). The numerical recipe is summarised as
follows
– (I) From Eq. (12), by setting t = 0, we can have Q(T) = EQ(0). One can assume Q(0) = I, the
identity matrix (why?2
).
– (II) Time-integrate the original equation d
dt
Q = A(t)Q from the initial condition Q(0) = I to get Q(T).
The results will be our monodromy matrix E, according to (I). How to time-integrate an equation?
See the explanation below.
– (III) Calculate the eigenvalue µ of E and do the transformation 2
1
π
log µ, which should be equal to the
eigenvalues obtained in task (b). You have to verify this in the report.
In Matlab, you can use ode45 to time-integrate an ODE. Do “help ode45” in Matlab to understand the
syntax. You will see that ode45 can be executed using
[T OUT, Y OUT] = ode45(ODEF UN, T SP AN, Y 0, OP T IONS).
ODEF UN is to implement Eqs. (1,2). The TSPAN denotes the time span and should be [0, 2π]. The Y0
should be the columns of the identity matrix  1 0
0 1 and so you have to execute ode45 twice with Y0 being

1
0

and  0
1

, respectively. Then you assemble the two resultant columns to form the monodromy matrix.
Follow the above numerical recipe to get the final eigenvalues.
Note that the eigenvalue λ in task (b) is connected to the eigenvalue µ in task (c) by λ = 2
1
π
log µ. This also
means that the stability criterion, when rephrased using µ, would be that the system is unstable if at least
one eigenvalue µ has a magnitude larger than 1. Conversely, the system is stable if the magnitudes of all
the eigenvalues are less than 1. In Matlab, you can use “abs” to get the magnitude of a complex number.
• Task (d) Using either method explained above, do a parametric study of δ, . You can for example generate
a graph showing the stability or instability of the system on the δ −  plane with δ ∈ [0, 2] and  ∈ [0, 1].
Discuss what you find and explain the results.
A sample result can be found in the Appendix.
2You have to provide an explanation in the report.
3
• Task (e) To verify your result, we can also look at the time evolution of the solution u directly. Pick two
arbitrary sets of parameters with δ ∈ [1, 2] and  ∈ [0.5, 1], one being stable and the other being unstable.
In each case, plot u as a function of t and explain what you find.
A sample result can be found in the Appendix.
4
Appendix for suggestions and hints:
• You can use any programming language you are familiar with. Please use double-precision arithmetic in
the computation.
• A late submission will result in a penalty. The complete submission includes a report and all the code
scripts. The code should be executable and generate the graphs to be presented in the report once executed
(this will facilitate my checking of your code).
• This is a group assignment with a maximum of 2 students per group, with only one submission per group.
You can also do it individually.
• This CA makes up 20% of the final mark. (The remaining 30% of the final mark for Part 2 will be the 2
structured questions in the quiz. Similarly, Part 1 will make up the other 50%.)
• In task (a), the complete citation of Deconinck & Nathan (2006) is Deconinck B. & Nathan Kutz, J. 2006
Computing spectra of linear operators using the Floquet–Fourier–Hill method. Journal of Computational
Physics 219 (1), 296–**1.
• A sample result for the eigenspectrum in task (b) is shown below. Note that the real part of the eigenvalue
λ is plotted as the x axis and imaginary part the y axis.
Real part of λ
• A multi-dimensional derivation of the Floquet theory in Task (c) is provided below, which may facilitate
your understanding. The equation is
dq
dt = A(t)q, where A(t + T) = A(t)
The linear equation admits a solution of matrix Q(t), that is d
dt
Q = A(t)Q. The columns qk(t) are solutions
to the above equation, i.e., d
dt
qk = A(t)qk(t) or qk(T) = e
R
T
0 A(t)dtqk(0).3 Consider yk(t) = qk(t + T), we
have
dyk
dt =
dqk(t + T)
dt =
dqk(t + T)
d(t + T)
= A(t + T)qk(t + T) = A(t)yk(t)
which is the same equation as the original one. This means yk and qk are a linear combination of each
other; or, we can have
yk(t) = X
1≤j≤n
ek,jqj (t) or Y(t) = EQ(t) or Q(t + T) = EQ(t) (12)
3Note that a time-ordering operator is omitted here since it is implicitly understood that the equation will propagate in the positive
temporal direction.
5
Imaginary part of λ
where Y(t) is the matrix accommodating all the yk(t) vectors. In the Floquet theory, E is called monodromy
matrix which represents the effect of the operator A over one period (i.e. the linearized Poincar´e map).
Thus, a state Q(t) left-multiplied by E will propagate the former to a later state at t + T, that is Q(t + T).
Besides, you can easily understand the matrix E here is the coefficient c in the scalar version of the derivation.
• In task (c), ode45 in Matlab also provides an option for setting up the tolerance criterion for convergence;
for this, you can consider options = odeset(
0 AbsT ol0 , 1e − 7,
0 RelT ol0 , 1e − 8).
• In task (d), a sample result for the stability/instability in the δ −  plane with δ ∈ [0, 1] and  ∈ [0, 0.5]
is provided below. The plot is generated using the “contourf” command in Matlab. The yellow region
indicates stability of the Mathieu equation (i.e., either all λ < 0 or all |µ| < 1). The blue region denotes the
instability. Such a graph is called neutral curve, which means that the interface between the two colours
indicates the neutral condition that λ = 0 or |µ| = 1.
Stable
Unstable
• In task (e), a sample result for an unstable solution u at  = δ = 0.5 is shown below. The black curve
is generated using [t, x] = ode45(0 mathieu0 , [**π], [0.2392 0.343], options) in Matlab, where the ODEFUN
is called mathieu in my code, [**π] is the TSPAN for the black curve, [0.2392 0.343] is some random
initial condition and options have been explained earlier. The dashed vertical lines indicate 2π, 4π, 6π,
corresponding to 1,2,3 periods. To generate the green and the red curves, you change 6π to 4π and 2π
respectively. You can clearly see that the solution u is amplifying over the periods, so the equation at these
parameters is unstable.
The instability result is consistent with the neutral curve obtained above.
6

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:代寫159.740編程、代做c/c++,Python程序
  • 下一篇:COMP2404代做、C++編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結(jié)構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結(jié)構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業(yè)
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網(wǎng)頁版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久久久久久久久av| 国产精品女人网站| 国产精品久久久久久久美男| 日本一区二区黄色| 91精品国产高清久久久久久91 | 国产精品第12页| 日韩视频 中文字幕| 久久综合一区二区三区| 在线国产99| 国产裸体舞一区二区三区| 国产精品日韩三级| 欧美在线免费观看| 久久久久久久色| 日本精品久久中文字幕佐佐木| 久久综合九色99| 日韩av免费在线看| 久久福利电影| 青青青在线视频播放| 色老头一区二区三区| 奇米影视首页 狠狠色丁香婷婷久久综合 | 国产成人综合一区| 日本中文字幕成人| 国产成人精品久久久| 日本伊人精品一区二区三区介绍| 久久人人看视频| 少妇高潮喷水久久久久久久久久| 国产精品91免费在线| 午夜精品短视频| 国产成人一区二区在线| 日韩免费不卡av| 久久久久久久久久久久久久国产| 日本精品免费视频| 久久人人爽亚洲精品天堂| 欧美精品欧美精品| 国产精品久久久久久久久婷婷| 国产综合福利在线| 亚洲最大成人网色| 久久久视频免费观看| 日韩精品手机在线观看| 久久精品国亚洲| 免费看黄色a级片| 中文精品一区二区三区| 国产精品av在线| 人妻av无码专区| 另类专区欧美制服同性| 国产毛片视频网站| 少妇性饥渴无码a区免费| 久久久999成人| 国产欧美中文字幕| 日日摸天天爽天天爽视频| 久久精品99久久久香蕉| 国产免费一区二区三区香蕉精| 亚洲欧洲日韩综合二区| 日韩在线免费观看视频| 国产拍精品一二三| 日韩av黄色网址| 国产精品网红福利| 成人精品视频在线| 日本wwww视频| 美女久久久久久久| 久久久免费精品视频| 欧美亚洲国产成人| 又大又硬又爽免费视频| 日韩亚洲欧美中文高清在线| 国产乱人伦精品一区二区| 三年中国中文在线观看免费播放| 国产精品久久久久aaaa九色| 91国产在线精品| 狠狠色综合欧美激情| 亚洲xxxx视频| 欧美巨猛xxxx猛交黑人97人| 国产成人精品日本亚洲专区61| 国产一区精品视频| 人妻少妇精品无码专区二区| 亚洲一二三区精品| 久久精品国产91精品亚洲| 国产精品亚洲аv天堂网| 欧美午夜欧美| 欧美一级中文字幕| 真实国产乱子伦对白视频| 日韩在线观看成人| 91.com在线| 国产美女91呻吟求| 黄色91av| 欧美中文在线视频| 婷婷四房综合激情五月| 中文字幕黄色大片| 插插插亚洲综合网| 国产成人免费91av在线| 久久久免费高清电视剧观看| 国产在线欧美日韩| 奇米888一区二区三区| 亚洲不卡中文字幕| 中文字幕欧美日韩一区二区三区| 国产精品网站视频| 久久久久天天天天| 91精品久久久久久久久久久| 国产日韩亚洲欧美在线| 欧美在线视频网| 日本中文字幕成人| 亚洲精品中文综合第一页| 欧美精品久久久久久久久久| 久久成人这里只有精品| 国产精品色视频| 久久久久久一区二区三区| 99电影网电视剧在线观看| 国产日韩欧美视频| 美女主播视频一区| 男人天堂av片| 欧美日韩系列| 欧美自拍视频在线观看| 日韩欧美在线观看强乱免费| 欧美一区二区三区图| 亚洲国产一区二区在线| 亚洲欧洲精品在线| 亚洲 日韩 国产第一| 亚洲97在线观看| 天堂v在线视频| 日韩中文字幕在线免费| 日日橹狠狠爱欧美超碰| 懂色av粉嫩av蜜臀av| 午夜精品视频在线观看一区二区 | 欧美激情国产精品日韩| 欧美在线一区二区视频| 青草青草久热精品视频在线网站| 日本一本a高清免费不卡| 日本一区二区免费高清视频| 日本韩国欧美精品大片卡二| 日本在线精品视频| 视频一区二区综合| 日韩av成人在线| 欧洲亚洲在线视频| 男女视频一区二区三区| 国内自拍在线观看| 国精产品一区一区三区有限在线 | 国产精品普通话| 国产精品国产福利国产秒拍| 精品国产一区二区三区无码| 中文字幕成人一区| 亚洲一区二区三区免费看| 无码播放一区二区三区| 视频一区二区三区免费观看| 日韩欧美精品免费| 精品人妻大屁股白浆无码| 精品视频一区二区在线| 成人美女免费网站视频| 国产妇女馒头高清泬20p多| 久久久久久久久久av| 国产精品污www一区二区三区| 久久综合久久88| 亚洲欧洲久久| 欧洲国产精品| 国产午夜精品一区| 91久久久亚洲精品| 久久久久久久9| 精品国产av无码一区二区三区| 欧美日韩成人在线观看| 三级三级久久三级久久18| 欧美午夜精品久久久久免费视| 蜜桃久久影院| 97久久精品午夜一区二区| 久久精品二区| 久热精品视频在线免费观看| 亚洲一区二区三区精品视频| 欧美最猛黑人xxxx黑人猛叫黄| 国产日韩精品在线| 久久噜噜噜精品国产亚洲综合| 久久人人爽人人爽人人片亚洲| 欧美激情一区二区三级高清视频 | 久久中文精品视频| 无码无遮挡又大又爽又黄的视频| 欧美精品一区三区在线观看| 高清欧美性猛交xxxx| 久操网在线观看| 久久97久久97精品免视看 | 欧美在线日韩精品| 成人免费网站在线| 国产成人啪精品视频免费网 | 日韩精品国内| 国产日韩欧美视频| 日韩中文字幕在线观看| 亚洲一区二区在线播放| 好吊色欧美一区二区三区| 久久久一二三四| 美女黄色丝袜一区| 欧美综合一区第一页| 99免费视频观看| 国产精品久久久久久久久久久久午夜片 | 痴汉一区二区三区| 国产肉体ⅹxxx137大胆| 日韩中文字幕亚洲| 亚洲精品中字| 国产美女精品久久久| 久久国产一区二区三区| 污视频在线免费观看一区二区三区| 国产主播在线一区| 久久久国产一区二区三区| 性亚洲最疯狂xxxx高清| 成人动漫在线观看视频| 久久伊人精品天天|