Q37087758

using dsolve in matlab
media%2F931%2F9311f70a-6348-4591-909d-fb


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)

MATLAB R2018a ② ▼| rch Documentation Log In HOME EDITOR Find Files Compare ▼ Print Run Section New Open Save Advance Run and

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.