Recent content by 200917717

  1. 2

    Simulating System of Masses Connected by Springs

    I tried the these code,but it plots for mass3 only function [c]=tall clear all; close all; clc; %position of peg pegX = 5.8; pegY = 4.2; %position of mass xPosm1 = 5.8; yPosm1 = 3; xPosm2 = 5.4; yPosm2 = 5.6; xPosm3 =4.2 ; yPosm3 = 4.8; %velocity of mass xVelm1 = 0; yVelm1...
  2. 2

    Simulating System of Masses Connected by Springs

    Can you please check for me; whether my velocities of masses are correct .There is a sketch in the attatchement for reference
  3. 2

    Simulating System of Masses Connected by Springs

    programme does not plot the paths of each mass on a single plot in different colour,it just plot a sigle line for the last plot 3 only.
  4. 2

    Simulating System of Masses Connected by Springs

    I tried the following code,it compiled but does not display the accurate plot: clear all; close all; clc; %position of peg pegX = 5.8; pegY = 4,2; %position of mass xPos1 = 5.8; yPos1 = 3; xPos2 = 5.4; yPos2 = 5.6; xPos3 =4.2 ; yPos3 = 4.8; %velocity of mass xVel1 = 0...
  5. 2

    Simulating System of Masses Connected by Springs

    FresY1 = -1*(eq1-dist(xPos1,yPos1,pegX,pegY))*k1*sin(theta1) - m1*g;
  6. 2

    Simulating System of Masses Connected by Springs

    yes,These was the first errow"? Error: File: E:\prac.m Line: 61 Column: 73 Missing variable or function."I don't know if there are more
  7. 2

    Simulating System of Masses Connected by Springs

    the code for start could not be compiled
  8. 2

    Simulating System of Masses Connected by Springs

    https://www.physicsforums.com/attachments/251691. Homework Statement assigned system of masses connected by springs with the parameters specified Mass M0 details: Stationary mass, does not move Starting Positions in meters: X: 5.8 Y: 4.2 ----------------------------------------- Mass...
Back
Top