Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
partial differential equations

Subject: partial differential equations

From: mona

Date: 6 Mar, 2012 12:14:12

Message: 1 of 2

Hi every body
I'd like to solve the following partial differential equations using matlab

(dx/dt)-(t/2)(dz/dt)=0
[x(dy/dt)-(t/2)z(dy/dt)-(1/2)yz]=(-1/2)y+(d^2(y)/dt^2)
[x(dz/dt)-(t/2)z(dz/dt)]=(d^2(z)/dt^2)
 
Does anyone has an idea ?

Thank you in advance for all answer.

muna

Subject: partial differential equations

From: Torsten

Date: 6 Mar, 2012 12:49:11

Message: 2 of 2

On 6 Mrz., 13:14, "mona " <iee2...@yahoo.com> wrote:
> Hi every body
> I'd like to solve the following partial differential equations using matlab
>
> (dx/dt)-(t/2)(dz/dt)=0
> [x(dy/dt)-(t/2)z(dy/dt)-(1/2)yz]=(-1/2)y+(d^2(y)/dt^2)
> [x(dz/dt)-(t/2)z(dz/dt)]=(d^2(z)/dt^2)
>
> Does anyone has an idea ?
>
> Thank you in advance for all answer.
>
> muna

What you have written above is a system of _ordinary_ differential
equations.
Rewrite the system as
x' = t/2*z2
y1' = y2
y2' = x*y2-t/2*z1*y2-1/2*y1*z1+1/2*y1
z1' = z2
z2' = x*z2 - t/2*z1*z2
and use one of the following solvers
http://www.mathworks.de/help/techdoc/ref/ode23.html

Best wishes
Torsten.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us