Question

In: Electrical Engineering

   Create a simulink model of the nonlinear equation (1) and obtain a plot from 0...

  

Create a simulink model of the nonlinear equation (1) and obtain a plot from 0 to 3 seconds of the

pendulum problem. Be sure to include a scope box so the displacement plot can be viewed.

d2q/dt2 + (g/L)*sinq = 0

q = angle of displacement of the pendulum [rad]

g = gravitational constant 9.81 [m/sec2 ]

L = pendulum length [m]

      The sinq term introduces the nonlinearity. This makes the solution difficult. To simplify the problem,       equation is linearized by using the approximation that sin q = q. This is a valid approximation for small angles of q only. Run

and create a scope plot for displacement vs time for approximately 5 cycles of a 0.5 m long pendulum that has a starting angular displacement of 10 degrees and an initial angular velocity of – 10 m/sec. Note use the linearized equation.

  

Solutions

Expert Solution

TO REALIZE THE DIFFERENTIAL EQUATION IN LINEAR FORM , CONNECT THE BLOCKS AS PER THE SHOWN BELOW

STEP01 Understand that every time integrator is applied the differntial order decreases by one hence we neeed q (displacement in rad) vs time graph so we need to get q(rad) as output and connect it to scope .

There are two gains which you are seeing as feedback first gain block is having value zero beacuse we do not have any dq/dt term is orignial equation.

second term of gain denoted as k in above figure is (g/L). so just click it and put in block value space as 9.81/0.5 .

where g=9.81m/sec

and L=0.5m. given

step(02) there is intail angular velocity dq/dt is given =-10m/sec so to enter that click on first integrator (1/s) block and enter data as shown below.

Step(03) similarly for displacement intial value click on second (1/s) block and enter as shown below ...

please note enter the data in radians for intail value of q

q in degree is 10

q in rad=10*pi/180

          =0.17453

Step(04)

we need to run for five cycles.

FOR PENDULUM time period

T=2*pi *underroot(L/g)

T=1.4185    sec             put L=0.5 meter and g=9.81m/sec2

for time period of five cycle =5*T=5*1.4185=7.09 sec

Hence run the simulation for approx 8 sec

and click on scope to see output dispalcement vs time graph

Note : if you face any problem segrading steps .feel free to ask in comment section.


Related Solutions

Use the Saturation block to create a Simulink model to plot the solution of the following equation for 0 ≤ t ≤ 6.
Use the Saturation block to create a Simulink model to plot the solution of the following equation for 0 ≤ t ≤ 6.
Use the Transfer Function block to construct a Simulink model to plot the solution of the following equation for 0 ≤ t ≤ 4. 2x + 12x + 10x = 5us(t) - 5us(t −2) x(0) = x(0) = 0
Use the Transfer Function block to construct a Simulink model to plot the solution of the following equation for 0 ≤ t ≤ 4.2x + 12x + 10x = 5us(t) - 5us(t −2) x(0) = x(0) = 0
Create a scatter plot. What does it indicate? What is the regression equation? Is the equation...
Create a scatter plot. What does it indicate? What is the regression equation? Is the equation significant? How do you know? What is the estimate for Period 13? What is the r2 and what does it signify? Period Sales 1 12 2 13 3 12 4 14 5 13 6 15 7 16 8 14 9 17 10 15 11 17 12 18
Consider the nonlinear equation f(x) = x3− 2x2 − x + 2 = 0. (a) Verify...
Consider the nonlinear equation f(x) = x3− 2x2 − x + 2 = 0. (a) Verify that x = 1 is a solution. (b) Convert f(x) = 0 to a fixed point equation g(x) = x where this is not the fixed point iteration implied by Newton’s method, and verify that x = 1 is a fixed point of g(x) = x. (c) Convert f(x) = 0 to the fixed point iteration implied by Newton’s method and again verify that...
Solve the equation z^3/4 − 1 − i = 0 for z, and plot the solutions...
Solve the equation z^3/4 − 1 − i = 0 for z, and plot the solutions in the complex plane.
1. Give an example of a 3rd order nonlinear ordinary differential equation.
1. Give an example of a 3rd order nonlinear ordinary differential equation.
Create matlab simulink model for dc-dc buck converter with screenshot. Note: provide matlab code for the...
Create matlab simulink model for dc-dc buck converter with screenshot. Note: provide matlab code for the output of dc-dc buck converter if possible.
1.) Sketch a scatter plot from the following data, and determine the equation of the regression...
1.) Sketch a scatter plot from the following data, and determine the equation of the regression line. x 125 119 103 91 50 29 24 y 2.)Investment analysts generally believe the interest rate on bonds is inversely related to the prime interest rate for loans; that is, bonds perform well when lending rates are down and perform poorly when interest rates are up. Can the bond rate be predicted by the prime interest rate? Use the following data to construct...
Consider the following model: C=20+0.5(Y-T) I=20-10r T=0 G=50 QUESTIONS: a) Obtain the equation of the IS...
Consider the following model: C=20+0.5(Y-T) I=20-10r T=0 G=50 QUESTIONS: a) Obtain the equation of the IS curve. What is the slope of the curve? Calculate output if r=0.1 b) Suppose now that autonomous consumption increases to 30. What happens to the IS curve? Show your results in a graph. c) Suppose now that there is a change in marginal propensity to consumption so that now c1=0.6. What happens to the IS curve? Show your results in a graph.
What is the python code to solve this type of nonlinear equation in jupyter notebook 16cos2x+16sin2x-40.1cosx+2.3sinx+16.223=0...
What is the python code to solve this type of nonlinear equation in jupyter notebook 16cos2x+16sin2x-40.1cosx+2.3sinx+16.223=0 Please show the code clearly.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT