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
Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
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
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,