# Differential Equation Graph From Initial Conditions

조회 수: 1(최근 30일)
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
##### 댓글 수: 2표시숨기기 이전 댓글 수: 1
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 2020년 2월 7일
Check the file below may be it will help

댓글을 달려면 로그인하십시오.

### Community Treasure Hunt

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

Start Hunting!