using dsolve in matlab
Answer
`Hey,
Note: Brother in case of any queries, just comment inbox I would be very happy to assist all your queries
clc
clear all
close all
syms y(t) Dy(t) z(t)
eq1=diff(y)+diff(z)-3*z==0;
eq2=diff(y,2)+diff(z)==0;
eq=[eq1,eq2];
Dy=diff(y);
cond=[y(0)==0,Dy(0)==0,z(0)==4/3];
disp(‘Solution is’);
S=(dsolve(eq,cond));
y(t)=simplify(S.y)
z(t)=simplify(S.z)
Kindly revert for any queries
Thanks.
MATLAB R2018a ② ▼| rch Documentation Log In HOME EDITOR Find Files Compare ▼ Print Run Section New Open Save Advance Run and Find Indent Time Advance C: Users PRADEEP KALRA 、Documents MATLAB Editor-CAUsersPRADEEP KALRA Current Folder TLABsaveee.m Name
OR
OR