HW5_3 Three carts, interconnected by springs, are subject to the loads P1, P2 and P3, as shown in the figure. The displacements of the carts, u1, u2 & u3, are governed by the equilibrium equations: Let k;=k;=k3= 25 N/m, k,=k6=10 N/m, ks=5 N/m, k,=ks=2 N/m Let P1=P2=P3 = 2N. Solve for the displacements. Present the results in a complete sentence using fprintf P1 – kju1 + k5(u3 – u1) + k4(u2 – u1) = 0; P2 – kzu2 – k4(u2 – 41) + k6(u3 – u2) = 0; P3 – kju3 – kgu3 – kzu3 – k6(u3 – u2) – k5(u3 – 41) = 0), P2 ke P3 P Cart 1 Cart 2 Cart 3

Power System Analysis and Design (MindTap Course List)
6th Edition
ISBN:9781305632134
Author:J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Chapter2: Fundamentals
Section: Chapter Questions
Problem 2.31P: Consider two interconnected voltage sources connected by a line of impedance Z=jX, as shown in...
icon
Related questions
Question
HW5_3 Three carts, interconnected by springs, are subject to the loads P1, P2 and P3, as shown in the figure.
The displacements of the carts, u1, uz & u3, are governed by the equilibrium equations:
Let k;=k;=k3= 25 N/m, k=ks=10 N/m, ks=5 N/m, k;=ks=2
N/m Let P1=P2=P3 = 2N. Solve for the displacements.
Present the results in a complete sentence using
fprintf
P¡ – kju1+ ks(u3 – u1) + k4(u2 – u1) = 0;
P2 – kzu2 – k4(u2 – u1) + k6(u3 – u2) = 0;
P3 – kjuz – ksu 3 – k3u3 – k6(u3 – u2) – k5(u3 – u1) = 0.
k-
P2 ke
P3
ks
Cart 1
Cart 2
S Cart 3
Transcribed Image Text:HW5_3 Three carts, interconnected by springs, are subject to the loads P1, P2 and P3, as shown in the figure. The displacements of the carts, u1, uz & u3, are governed by the equilibrium equations: Let k;=k;=k3= 25 N/m, k=ks=10 N/m, ks=5 N/m, k;=ks=2 N/m Let P1=P2=P3 = 2N. Solve for the displacements. Present the results in a complete sentence using fprintf P¡ – kju1+ ks(u3 – u1) + k4(u2 – u1) = 0; P2 – kzu2 – k4(u2 – u1) + k6(u3 – u2) = 0; P3 – kjuz – ksu 3 – k3u3 – k6(u3 – u2) – k5(u3 – u1) = 0. k- P2 ke P3 ks Cart 1 Cart 2 S Cart 3
Expert Solution
Step 1

MatLab script is as follows

clc

clear all

close all

k1=25;k2=25;k3=25;k4=10;k6=10;k7=2;k8=2;k5=5;

p1=2;p2=2;p3=2;

syms u1 u2 u3

eqn1=p1-k1*u1+k5*(u3-u1)+k4*(u2-u1)==0;

eqn2=p2-k2*u2-k4*(u2-u1)+k6*(u3-u2)==0;

eqn3=p3-k7*u3-k8*u3-k3*u3-k6*(u3-u2)-k5*(u3-u1)==0;

[A,B] = equationsToMatrix([eqn1, eqn2, eqn3], [u1, u2, u3]);

u=linsolve(A,B);

fprintf('The displacement of cart u_1 is %.4e u_2 is %.4f and u_3 is %.4g',double(u(1)),double(u(2)),double(u(3)))

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Analysis of Multiple Order System and Steady State Error
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Power System Analysis and Design (MindTap Course …
Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning