EuPhO 2020, Експеримент — Задача 2. Black box

EuPhO-2020 Online. Experimental Problems. Language: English

Условие

2.1 Introduction

You have a rigid mechanical black box consisting of a container of mass m1m_1. Inside the container there is a load of mass m2m_2 that hangs on an effectively massless spring of stiffness k1k_1 from the ceiling of the box. Another mass m3m_3 is hanged to the mass m2m_2 via another massless spring of stiffness k2k_2. There is a small viscous drag which depends on the velocity of the objects. The gravity of Earth is g=9.81 m/s2g = 9.81\ \mathrm{m/s^2} and is parallel to the sides of the box.

Black box: a grey square container of mass m₁ with a thick outline; inside, mass m₂ hangs from the ceiling on spring k₁, and mass m₃ hangs from m₂ on spring k₂; an upward arrow F is applied at the top of the box; vertical double arrows (up and down) at the left indicate motion of the box; an arrow g points down on the right.

The box can be moved up or down with a piece-wise constant acceleration. The acceleration pattern can be programmed through input by giving the duration (in seconds) and acceleration (in m/s2\mathrm{m/s^2}) for each step. The simulation shows in ”real time” the force FF exerted to the box that is needed to maintain the given acceleration at the current moment of time, together with the reading of time. The simulation will also output the readings to a text file in the same folder as the program. All simulations will always start with the same initial configuration for the masses.

Note: Every measurement of force FF has a small random error. The springs are linear for reasonably small deformations, but nonlinear for larger deformations. The values k1k_1 and k2k_2 are defined to be the stiffness of each spring for small deformations near equilibrium when the box is at rest. Force FF and acceleration are considered to be positive if they are directed upwards. The side length of the box is 0.60.6 m and the box is initially in the middle of a room with height 33 m. An experiment ends automatically if the box hits the ceiling or the floor, or if any of the masses collide with the box or with the other mass. The figure is not drawn to scale.

2.2 Task

The task is to determine all the parameters: m1m_1, m2m_2, m3m_3, k1k_1, k2k_2. You do not need to provide an error analysis for these results.

As with all experiments, you must provide clearly labelled tables of data, clearly labelled graphs, and sufficient formulae derivations to make it clear what you have measured, and how you are deriving your results.

2.3 Program Interface

Initially, the program asks for a sequence of input actions. You have the following possibilities.

  • Enter two numbers and press return to add a step to the acceleration pattern, for example: 1.5 -0.4 The first number should be the duration of the step in seconds (must be a multiple of 0.010.01 s) and the second number should be the acceleration in m/s2\mathrm{m/s^2} (must be between −30-30 and 3030).
  • Enter repeat and an integer and press return to repeat actions, for example: repeat 10 The integer should be the number of times you want to repeat actions. Every repeat action should end with an endrepeat action (see below).
  • Enter endrepeat to end repeating actions. If you start the experiment, all actions between repeat and endrepeat will be repeated a given number of times. You cannot repeat actions inside another repeat.
  • Enter sample and a number and press return to change the sampling time, for example: sample 0.4 The number should be the new sampling time which is the time after which every new reading is output to the text file. The sampling time must be a multiple of 0.010.01 s, which is also the default sampling time.
  • Enter begin to finish the sequence and start the experiment.

You can also write multiple actions on the same line and then press return. For example, you can enter

sample 0.4 repeat 10 1.5 0.4 1.5 -0.4 endrepeat begin

to start an experiment where you change the sampling time to 0.40.4 s and accelerate the box respectively with a=0.4 m/s2a = 0.4\ \mathrm{m/s^2} and a=−0.4 m/s2a = -0.4\ \mathrm{m/s^2} ten times.

If you enter an invalid input, you will get one of the following error messages and you can try to enter an action again.

  • If acceleration is out of range: Acceleration is out of range.
  • If duration of acceleration is out of range: Duration is out of range.
  • If sampling time is out of range: Sampling time is out of range.
  • If the number of repeat times is out of range: Number of repeat times is out of range.
  • If you try to repeat actions inside another repeat action: Cannot repeat actions inside another repeat.
  • If you try to end repeat without a repeat action to end: Cannot end repeat outside repeat.
  • In all other cases: Invalid entry.

After you enter begin, the program will ask you for a name for the output file with the prompt

Enter name for output file (e.g. "results"). You should use Latin letters and numbers because some special characters are not allowed.

Enter a name and press return. You are advised to use only Latin letters and numbers for the name. Other characters may or may not be allowed in the filename and in case of an invalid filename the readings will not be saved. The readings will be saved in a .txt file with the given name in the same folder as the program.

After this, the program will display

Begin experiment.

and start the experiment. The program will then display the current time since the beginning of the experiment (Time (s)), measured value of force FF (Force (N)) and acceleration of the box (Accel (m/s^2)). The readings will be similarly displayed in the text file.

The program will then display one of the following messages.

  • If the experiment ended successfully: Experiment ended successfully.
  • If the box hit the ceiling: The box hit the ceiling. Experiment ended.
  • If the box hit the floor: The box hit the floor. Experiment ended.
  • If the masses inside the box collided or one of the masses inside the box collided with the box: Masses and/or the box collided. Experiment ended.

After the experiment ends, you can start another experiment.

Отговори

Решение


Оригинал в Архива: EuPhO20_experiment-1.pdf · официални решения: EuPhO20_experiment_Solutions.pdf