Shm Definition and 64 Discussions

The MIT Shared Memory Extension or MIT-SHM or XShm is an X Window System extension for exchange of image data between client and server using shared memory (/dev/shm). The mechanism only works when both pieces are on the same computer.
The basic capability provided is that of shared memory XImages. This is essentially a version of the ximage interface where the actual image data is stored in a SysV shared memory segment, and thus need not be transferred across the socket to the X server. For large images, use of this facility can result in some real performance increases.
Additionally, some implementations provide shared memory pixmaps. These are two-dimensional arrays of pixels in a format specified by the X server, where the image data is stored in the shared memory segment. Through use of shared memory pixmaps, it is possible to change the contents of these pixmaps without using any Xlib routines at all. Shared memory pixmaps can only be supported when the X server can use regular virtual memory for pixmap data; if the pixmaps are stored in the on-board memory of graphics hardware, an application will not be able to share them with the server.
In the 1.15 release of the server the MIT-SHM extension gains two additional requests: 'X_ShmAttachFd' and 'X_ShmCreateSegment', to be able to pass shared memory through file descriptors from client to server and from server to client, reducing the number of copy operations further.

View More On
  1. tbn032

    B Is simple harmonic motion also a pure translatory motion?

    Is simple harmonic motion also a pure translatory motion?"A rigid body moves in pure translation if each particle of the body undergoes the same displacement as every other particle in any given time interval" [Halliday and Resnick, Physics].If not,then how does shm deviate from this definition>
  2. P

    Getting the equations of motion for this SHM problem

    Summary:: I have come across a situation where I seem to get different equations of motion for an oscillating system. Please do help me find out where I went wrong. *I am not asking how to solve the problem* I am going to consider 4 parts of the cylinder's motion, as listed below. (There is...
  3. Hamiltonian

    Real life example of the composition of two SHMs with same angular frequency

    Under the topic of simple harmonic motion comes the composition of two SHM's with the same angular frequency, different phase constants, and amplitudes in the same directions and in perpendicular directions. composition of SHM's in same direction: say a particle undergoes two SHM's described by...
  4. Prabs3257

    Momentum conservation in SHM

    I first got the velocity of the combined mass with conservation of momentum and as it was in the mean position the velocity can be written as v = wA ( w= angular frequency , A = amplitude ) as we have to take it back to natural lenght i put A as the initial extension but i am getting a wrong ans...
  5. nuclearfireball_42

    Can I determine the phase angle of this equation by using the sin function?

    I've got the answer for (a). It's k = 0.78 N/m. I'm having problems with (b). I know that the equation of displacement in this case should either be : x(t) = Asin(ωt + φ) or x(t) = Acos(ωt - φ) where A = amplitude From what I understand, both the equation above should give the same result...
  6. Beelzedad

    How to know whether motion is simple harmonic motion or not?

    I am reading "Coulomb and the evolution of physics and engineering in eighteenth-century France". There it is said in page 152 para 1 that "Coulomb found that within a very wide range, the torsion device oscillated in SHM". My questions are: (1) By just looking at the time period of the...
  7. Prabs3257

    Change in the time period of a pendulum

    I tried taking log and then diffrentiate the standard equation for time period of a pendulum but i am not getting the correct answer
  8. warhammer

    B Shifting of a Cosine Curve with negative phase angle values

    Continuing on from the summary, the chapter has given a graphed example. We are shown a regular cosine wave with phase angle 0 and another with phase angle (-Pi/4) in order to illustrate that the second curve is shifted rightward to the regular cosine curve because of the negative value. Now, my...
  9. Shivang kohlii

    Equation of shm for different positions

    Homework Statement Write the equation for a particle in simple harmonic motion with amplitude a and angular frequency w considering all distances from one extreme position and time when it is at other extreme end. Homework Equations X = A sin (wt + ∆) ∆ = phase difference The Attempt at a...
  10. Celso

    Simple harmonic motion interpretation problem

    I'm in trouble trying to understand the expression ##t= \frac{1}{\omega} cos^{-1}(x/A)## that comes from ##x = Acos(\omega t)##, in which ##A## is the amplitude, ##t## is time and ##x## is displacement. When ##x = 0##, ##t = \frac{\pi}{2\omega} ##, shouldn't it be 0 since there was no movement?
  11. R

    Why is my thinking incorrect? -- Block and spring driven by a motor

    Homework Statement An oscillator consists of a block attached to a spring (k=400n/m). At some time t, the position (from equilibrium), velocity, and acceleration of the block are x= .100m, v= -13.6m/s, a= -123m/s^2. What is the frequency? mass of block? amplitude. Homework Equations position...
  12. Shivang kohlii

    Amplitude of a mass joined to a spring in the presence of an E-field

    Homework Statement A block of mass m having charge q placed on smooth horizontal table and is connected to a wall thorough an unstretched spring of constant k . A horizontal electric field E parallel to spring is switched on. Find the ampliture of the shm by the block. Homework Equations kx=...
  13. velvetmist

    I Why is x=e^(rt) in SHM?

    This may be a fool question, but i can't figure where does this come from. I would really appreciate if someone can help me. Thanks.
  14. thebosonbreaker

    Simple Harmonic Motion: why sin(wt) instead of sin(t)?

    Hello, I have recently been introduced to the topic of simple harmonic motion for the first time (I'm currently an A-level physics student). I feel that I have understood the fundamental ideas behind SHM very well. However, I have one question which has been bugging me and I can't seem to find a...
  15. G

    The phase of a simple harmonic motion

    Homework Statement How can I calculate the initial phase in a simple harmonic motion if I only have the amplitude, frequency and angular velocity as data? Homework Equations The formula of the position, in fact they ask me to do the formula that allows to know the elongation depending on the...
  16. Ari

    How to find period of a SHM concerning a cube and spring?

    1. Homework Statement The 4.00 kg cube in the figure has edge lengths d = 8.00 cm and is mounted on an axle through its center. A spring ( k = 1400 N/m ) connects the cube's upper corner to a rigid wall. Initially the spring is at its rest length. If the cube is rotated 4.00° and released, what...
  17. J

    Finding Tension force in a SHM Pendulum

    Homework Statement A 110 kg panda is riding on a 3.0 m long swing whose mass can be considered negligible. The highest point of its arc occurs when the swing makes a 20° angle with the vertical. What the magnitude of the total tension in the ropes of the swing at that point? m (mass of panda)...
  18. S

    Period of a mass spring system with 2 spring of same K(vert)

    A mass attached to a spring is oscillating in Simple Harmonic Motion. If an other spring of same sprinc constant is attached parrallel to the other spring, what is the period of this new system (as a function of the initial period). Here's what I did and have no idea if this is right: For the...
  19. V

    A mass is dropped on a plate that's suspended from a spring

    Homework Statement a load of mass m falls a height h onto a pan hung from a spring. if the spring constant is k and the pan is massless and m does not bounce, the amplitude of oscillation is Homework Equations F = - kx U = 1/2kx^2 The Attempt at a Solution mgh = 1/2kx^2, x =...
  20. V

    Amplitude of SHM of a spring hung from a ceiling

    Homework Statement A point mass of m = 20 kg is suspended by a massless of constant 2000N/m. The point mass is released when the elongation is 15cm.Find equation of shm Homework Equations F= - kx The Attempt at a Solution [/B] I'm not sure what this question is trying to say honestly...
  21. Z

    Mass of a vibrating string

    Homework Statement A second harmonic standing wave has the known quantities of Amplitude (max y at antinode) A, maximum velocity (y=0 at antinode) v, string length L, tension in the string T. Given that we know that it is second harmonic, we can assume that λ = L How can one determine the...
  22. A

    I Difference between transient and steady state solution

    In driven SHM, we ignore an entire section of the solution to the differential equation claiming that it disappears once the system reaches a steady state. Can someone elaborate on this?
  23. A

    I Solving the differential equations involving SHM

    What is the most satisfactory explanation for guessing certain solutions to the differential equations encountered in damped & driven SHM?
  24. N

    Simple Harmonic Motion: conceptual idea of angular frequency

    One of the conditions to distinguish Simple Harmonic Motion from other harmonic motions is by the relation that a∝x where x is the displacement from the point that acceleration is directed towards But what confuses me is the constant of proportionality introduced to this relation: ω2 ω is...
  25. J

    Simple Harmonic Motion

    Homework Statement Consider a Simple Harmonic Motion (SHM) for which, at time t = 1 s, the displacement is s=1 cm, the velocity is 2 cm s−1, and the acceleration is −3 cm s−2. Find the angular frequency, 4. amplitude, and phase constant for this motion. Homework Equations f=1/T...
  26. L

    Vmax of Block (SHM)

    Homework Statement A block with mass m=200g is attached to a spring with a elastic constant of k=5.0 N/m. The block is pushed at a distance x=5.00cm of its equilibrium position, in a surface with no friction. Then its dropped of that position. Assume for t=0s that the block is at rest. What is...
  27. F

    Differential equation for a pendulum

    Homework Statement A simple pendulum is formed by a light string of length ##l## and with a small bob ##B## of mass ##m## at one end. The strings hang from a fixed point at another end. The string makes an angle ##\theta## with the vertical at time ##t##. Write down an equation of motion of...
  28. R

    Determine the angular frequency of the system in SHM

    Homework Statement Determine the angular frequency of the system in the image. The cable is ideal but the pulley is not. I will present the same solution but with different coordinate axes. For some reason they arent the same and neither of them are correct. Given data: R is the radius of...
  29. F

    Simple Harmonic motion

    Homework Statement The question is uploaded. The Attempt at a Solution I have completed the whole question, however, stuck on the last part. How to find the value about which ## \rm \small \theta## now oscillates? A source stated that ## \rm \small \alpha## is the value about which ## \rm...
  30. S

    Block on Spring SHM, Finding angular frequency

    Homework Statement An "ideal" spring with spring constant 0.45 N/m is attached to a block with mass 0.9 kg on one end and a vertical wall on the other. The floor has negligible friction, and you give the block a push and then let go. You observe that the block undergoes simple harmonic motion...
  31. F

    SHM question (Is my method correct?)

    Homework Statement A particle P is performing simple harmonic motion with amplitude 0.25m. During each complete oscillation, P moves with a speed that is less than or equal to half of its maximum speed for 4/3 seconds. Find the angular frequency of P The Attempt at a Solution First I split 4/3...
  32. T

    Damping Constant

    Homework Statement I am solving for the damping constant (b). The amplitude has decreased to 80% of its original height (0.1m) after 10 oscillations. The mass is 2 kg, k is 5000 N/m, w is 50 rads/s, T = pi/25 s. Homework Equations x = 0.1cos(50t) v = -5sin(50t) a = -250cos(50t) The Attempt at...
  33. moenste

    Body on a spring: expression for the period T

    Homework Statement (a) A body of mass m is suspended from a vertical, light, helical spring of force constant k, as in Fig. 1. Write down an expression for the period T of vertical oscillations of m. (b) Two such identical springs are now joined as in Fig. 2 and support the same mass m. In...
  34. Pao44445

    Time period of SHM

    Homework Statement a man sits in a car that makes the center gravity of the car is pulled down by 0.3 cm. After he gets out of the car, find the time period of the car while it is moving in SHM Mass of the car = 500kg Spring constant = 196,000 N/m Homework Equations ??? The Attempt at a...
  35. J

    Simple Harmonic Motion - Getting Acceleration from Velocity

    Homework Statement I am doing an experiment where I am measuring the force a speaker is exerting when it is driven by a certain voltage and frequency, so my voltage and frequency values are known. I am assuming the speaker is undergoing SHM and I am measuring its peak to peak velocity...
  36. ryanuser

    Simple harmonic motion problem

    Homework Statement A body performaning simple harmonic motion has a displacement x given by the equation x= 30 sin 50t, where t is the time in seconds. what is the frequency of the oscillation? Answers are: A. 0.020Hz B. 0.13Hz C. 8.0Hz D. 30Hz E. 50Hz (correct...
  37. M

    Oscillation (SHM)

    Homework Statement Some sand is sprinkled onto the cone. The sand oscillates vertically with the frequency of the cone. The amplitude of oscillation of the cone is increased. At a particular amplitude of oscillation the sand begins to lose contact with the cone. By considering the forces...
  38. Niall103

    Quick SHM Question

    << Mentor Note -- thread moved from the technical forums, so no HH Template is shown >> Hello, So I've been doing old practice questions on SHM to revise, and just been frustrating myself on this one for a bit. The question is: "An object vibrating with simple harmonic motion has a maximum...
  39. Z

    Finding mass of an object on a spring, given Frequency

    Homework Statement A mass m at the end of a spring oscillates with a frequency of 0.84 Hz . When an additional 730 g mass is added to m, the frequency is 0.65 Hz . Homework Equations f*2pi = w w = (k/m)^1/2 f = (1/2pi)*(k/m)^1/2 The Attempt at a Solution I simply used the third equation...
  40. M

    Simple Harmonic Motion Lab

    For the lab I have to find the spring constant and how force relates to time with simple harmonic motion. To find the spring constant, I used hooke's law and compared different added masses to the stretch from the equilibrium position. When I graphed that, the slope was the spring constant since...
  41. S

    I Normal Modes Question

    If I have a system where the following is found to describe the motion of three particles: The normal modes of the system are given by the following eigenvectors: $$(1,0,-1), (1,1,1), (1,-2,1)$$ How can I find the corresponding eigenfrequencies? It should be simple... What am I missing?
  42. Titan97

    Is moment of inertia only for rotating objects?

    Homework Statement A rod attached to a ceiling at one end and a disc on the other end is performing SHM. In case (1) the disc cannot rotate. In case (2) the disc can rotate about its centre. Compare the restoring torque and angular frequency in both cases. Homework Equations...
  43. S

    Spring Constant in Hooke's Law

    How does one arrive at the following equation to approximate spring constant for solids... using Hooke's Law F ∝-x ⇒ F = -kx and strain∝stress ? k = (m/a2) × (K/ρ)½ where k≡spring constant m ≡ mass of a single atom a ≡ atomic spacing K ≡ bulk modulus ρ ≡ density
  44. S

    Equation for Simple Harmonic Motion?

    In Simple Harmonic Motion, can (k/m) = ω2 be expressed for all SHMs or only the ones in which the mass due to which the SHM is being executed is performing a circular motion? Since for example, in the case of spring, there is no circular motion involved, so omega should not be defined for...
  45. V

    Doubt from shm

    in shm,if minimum potential energy of an shm is not zero,does that mean that in mean position ,spring is stretched. eg mass attached to a vertical spring.
  46. N

    Change of energy loss in driven oscillations

    I find most textbook explanations of resonance lacking. My understanding is that resonance occurs becuase less "driving energy" is lost when the driven frequency approaches the natural frequency of a system. But why does the energy loss curve like this? Since Q-factor is different for each...
  47. A

    Simple harmonic motion: mass on a spring is hit by a bullet

    Homework Statement A 4.0kg block is suspended from a spring with force constant of 500N/m. A 50g bullet is fired into the block from directly below with a speed of 150m/s and is imbedded in the block. Find the amplitude of the resulting simple harmonic motion. Homework Equations F=-kx...
  48. **Mariam**

    Work and energy in simple harmonic motion concept

    Homework Statement Is the statement cirrect: "the rate at which a wave transfers energy depends on the amplitude at which the particles of the medium are vibrating." And does the energy=A^2 ? Homework Equations E (proportional) A^2 The Attempt at a Solution For the statement I am about...
  49. C

    Differences between equations of SHM

    Why is it that ## y = A\sin (\omega t + \phi) ## whereas ## x = A\cos (\omega t + \phi) ##? Why is it that the y function is a sine wave, whereas the x function a cosine wave? I'm sorry if this question sounds ridiculous.