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
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...
Related questions
Question
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
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
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.Recommended textbooks for you
Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning
Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning