First Order Exponential Differtial Equation

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

//FIRST ORDER EXPONENTIAL DIFFERTIAL EQUATION//

clear;clc;

x=0:0.1:5

function ydot=f(x, y)

ydot=exp(2*x)

endfunction

z=ode(0,0,x,f)

p=(exp(2*x)-1)/2

plot(x,z)

plot(x,p,'*')

GRAPH:-

You might also like