# Question Case. Develop a potential energy function for the system illustrated in the figure. Develop the contour and surface graphs using matlab and minimize the potential energy function to determine the equilibrium displacements x1 and x2 given the forcing function F = 100 N, and parameters ka = 20 and kb = 5 N/m. X1 X2 ka k, 77777777777 F 1 M 2 Tur FIGURE Two frictionless masses connected to a wall by a pair of linear elastic springs.

6LDBNS The Asker · Computer Science

Case.
Develop a potential energy function for the system illustrated in the figure.

Develop the contour and surface graphs using matlab and minimize the potential energy function to determine the equilibrium displacements x1 and x2 given the forcing function F = 100 N, and parameters ka = 20 and kb = 5 N/m.

Transcribed Image Text: X1 X2 ka k, 77777777777 F 1 M 2 Tur FIGURE Two frictionless masses connected to a wall by a pair of linear elastic springs.
More
Transcribed Image Text: X1 X2 ka k, 77777777777 F 1 M 2 Tur FIGURE Two frictionless masses connected to a wall by a pair of linear elastic springs.
Community Answer
N9UULM

&#160; tPlease Do Like, if it helps!! 😃 &#160; Consider the function representing the potential energy can be expressed in the following way: PE=0.5pi_(a)x_(1)^(2)+0.5pi_(b)(x_(1)-x_(2))^(2)-Fx_(2) &#160; &#160; &#160; Thus, the MATLAB script for generating the plot for the above expressed potential energy function can be written as: &#160; &#160; Program: KA=20;KB=15;F=100; x=linspace(0,10,20);y=linspace(0,20,40); [x1,x2] = meshgrid(x,y); Z=0.5*KA*x1.^2+0.5*KB*(x2-x1).^2-F*x2; subplot(1,2,1); cas=contour(x1,x2,Z);clabel(c ... See the full answer