Differential Equation Graph From Initial Conditions

2 ビュー (過去 30 日間)
Connor Wright
Connor Wright 2020 年 2 月 7 日
回答済み: Karthi Ramachandran 2020 年 2 月 7 日
Hello,
I have next to now time to get this done, I need to output a graph displaying N = 2 and Lamda = 0.001 using live scripts for some uni course work.
Problem being my tutor has yet to go over anything to do with MatLab so I'm flying blind.
How can I get this done quickly?
The equation is as follows;
dN / dt = −λN(t)
Initail conditions are N = 2 and Lamda = 0.001
Thanks in advance.
  2 件のコメント
J. Alex Lee
J. Alex Lee 2020 年 2 月 7 日
What are you supposed to graph?
Before running to matlab, what is the math problem that needs to be solved? Do you know how to solve it? What role will matlab need to play in this process?
Connor Wright
Connor Wright 2020 年 2 月 7 日
編集済み: Connor Wright 2020 年 2 月 7 日
Using Matlab Live Scripts check your answers to part (i) providing screen dumps to illustrate. With N0 = 2 and λ = 0.001 plot a graph of the solution N(t).
Thats the qeustion,
I'm supposed to be finding the general solution then applying the intial conditions mentioned above to the equation dN / dt = −λN(t). Which I've done with pen and paper for both solutions.
Once this has been solved using MatLab, I need to produce a graph with the solution for N(t)
I appologize for any spelling mistakes as well and if I am coming over a bit irritated, I've been up all night and the deadline for this is tonight at 6.

サインインしてコメントする。

回答 (1 件)

Karthi Ramachandran
Karthi Ramachandran 2020 年 2 月 7 日
Check the file below may be it will help

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by