# Differential Equation Graph From Initial Conditions

1 visualización (últimos 30 días)
Connor Wright el 7 de Feb. de 2020
Respondida: Karthi Ramachandran el 7 de Feb. de 2020
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 comentariosMostrar NingunoOcultar Ninguno
J. Alex Lee el 7 de Feb. de 2020
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 el 7 de Feb. de 2020
Editada: Connor Wright el 7 de Feb. de 2020
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.

Iniciar sesión para comentar.

### Respuestas (1)

Karthi Ramachandran el 7 de Feb. de 2020
Check the file below may be it will help
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

### Categorías

Más información sobre MATLAB en Help Center y File Exchange.

### Community Treasure Hunt

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

Start Hunting!

Translated by