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:
flow/press equation

Subject: flow/press equation

From: dex Hous

Date: 21 Nov, 2010 17:01:04

Message: 1 of 2

Hi everyone,

I've come up with this flow equation to describe pressure in an air chamber
However i don't know how to solve this ODE using Matlab, the appearance of p(t) in the equation for dp/dt confuses me.
F(t) is a sine wave.

dp(t)/dt = C*R1*dF(t)/dt – p(t)/R2 + (1+(R1/R2)*F(t)
C and R1 are constants

Greetings,

marc

Subject: flow/press equation

From: Roger Stafford

Date: 21 Nov, 2010 17:54:04

Message: 2 of 2

"dex Hous" <removethis@hotmail.com> wrote in message <icbj8g$m55$1@fred.mathworks.com>...
> Hi everyone,
>
> I've come up with this flow equation to describe pressure in an air chamber
> However i don't know how to solve this ODE using Matlab, the appearance of p(t) in the equation for dp/dt confuses me.
> F(t) is a sine wave.
>
> dp(t)/dt = C*R1*dF(t)/dt – p(t)/R2 + (1+(R1/R2)*F(t)
> C and R1 are constants
>
> Greetings,
>
> marc
- - - - - - - - -
  If the sine wave F(t) and its derivative are known, then this is exactly the form of differential equation that the ode functions are designed to solve. Look up their documentation.

Roger Stafford

Tags for this Thread

No tags are associated with 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