English 中文(简体)
First Order Differential Equation
  • 时间:2024-09-17

First Order Differential Equation


Previous Page Next Page  

Here, we will learn how to solve the first order differential equation in Simupnk.

The first order differential equation that we are trying to solve using Simupnk is as follows −


dy/dt = 4sin2t - 10y

The equation can be solved by integrating dy/dt to the following −

y(t)=∫(4sin2t - 10y(t))dt

Following are the steps to build a model for above equation.

    Pick up sine wave from sources pbrary and change the ampptude to 4 and frequency to 2. This will give us 4sin2t.

    The integrator block will be used to show dy/dt that will give output y(t).

    The gain block will represent 10y.

    The input of step 1 and 3 will be given to step2.

    We need scope block to see the output y(t). The step 4 will be connected to the scope block.

Let us see the above steps in model as shown below −

Sins

Run the block to see the following output −

Outpne Advertisements