What is Shm: Definition and 502 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 X.org 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 Wikipedia.org
  1. 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...
  2. Suyash Singh

    Spring SHM Homework: Solving for Displacement of a Suspended Point Mass

    Homework Statement A point mass m= 20 kg, is suspended by a massless spring of constant 2000 N/m. The point mass is released when elongation in the spring is 15 cm. The equation of displacement of particle as function of time is : (Take g = 10 m/s2) Homework Equations A is amplitude w is...
  3. 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)...
  4. D

    SHM and why does the frequency not decrease?

    Hello, I don't get it why does the frequency not decrease? As this i assume is damping and frequency must change. And why do only positive peaks decrease?2 Not sure about equations needed. 3.I thought that as it is damped, Energy is lost as heat. Thus speed decreases, therefore, it takes a...
  5. 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...
  6. J

    Understanding SHM Equations: Solving Two Equations and Identifying Mistakes

    Homework Statement Homework EquationsThe Attempt at a Solution y = 2Acos2ωt = A(1+cos2ωt) y-A = Acos2ωt . This is SHM with origin at y = A i.e at the maximum position . Is that correct ? Amplitude is A and angular frequency is 2ω . y= A(sinωt+√3cosωt) = 2Asin(ωt+π/3) Amplitude is 2A and...
  7. 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 =...
  8. 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...
  9. Wrichik Basu

    How to find time period of SHM from equation of motion?

    Homework Statement :[/B] Say for example I've got the equation of a SHM as: $$x = A \cos (\omega t + \phi)$$ where ##A## is the amplitude. How do I find the time period of this motion? Homework Equations :[/B] Stated above. The Attempt at a Solution :[/B] I tried by finding the second...
  10. J

    Maximizing Displacements in SHM: Is ωt = -Φ/2 the Correct Value?

    Homework Statement Homework EquationsThe Attempt at a Solution The displacements of the two particles are given as y1 = Asin(ωt) y2 = Asin(ωt+Φ) y2 - y1 = Asin(ωt+Φ) -Asin(ωt) y2 - y1 = 2Acos[(2ωt+Φ)/2]sin(Φ/2) Maximum value of displacements between particles is given as 3A/2 . This...
  11. J

    Time period of block springs SHM

    Homework Statement Homework EquationsThe Attempt at a Solution Length of the unstretched springs is L .Suppose block is pushed towards C by a small distance x . This causes a change in length of springs B and C . Their new length is L+∆L .Consider spring B. If the new length makes a small...
  12. J

    SHM Basics -- Series and parallel springs, conceptual question

    Suppose we are asked to find the time period of vertical oscillations of this system. Then should we find the component of displacement along each spring and then add the forces by vector method or should we simplify the diagram into series and parallel connection like in electrical circuits and...
  13. J

    B Centrifugal Force in Angular SHM: Explained

    Does centrifugal force (mv^2/r) act in any position of angular SHM? Please explain.
  14. Z

    Calculating Mass of a Vibrating String Using Known Quantities

    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...
  15. D

    Calculation of Speed for Message Packet on Small Planet

    Homework Statement The residents of a small planet have bored a hole straight through its center as part of a communications system. The hole has been filled with a tube and the air has been pumped out of the tube to virtually eliminate friction. Messages are passed back and forth by dropping...
  16. E

    SHM Energy Conservation in a Spring

    1. The problem statement, all variables, and given/known data Describe the energy conversions in a spring undergoing simple harmonic motion as it moves from the point of maximum compression to maximum stretch in a frictionless environment. Focus on points at which there will be maximum speed...
  17. 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?
  18. 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?
  19. C

    SHM and Total Energy Equations for Solving Homework Problems

    Homework Statement Homework EquationsThe Attempt at a Solution KE=1/2mω2x2 doesn't this mean is it proportional to all A.B.C&D? Thank you!
  20. 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...
  21. J

    Finding Parameters for Simple Harmonic Motion at t=1

    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...
  22. L

    Finding Vmax of a Block in SHM: Mass, Spring Constant, and Distance

    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...
  23. Lianne Evans

    Conservation of Angular Momentum with SHM

    Homework Statement A 39.00 kg rod of length 2.8 m is hanging vertically by one of its ends that is free to swing in a complete circle about a frictionless axle/pivot. The rod has uniform mass density. Suddenly it is struck horizontally by a 5 kg putty that sticks to the center of...
  24. F

    Trouble finding the amplitude in a SHM problem

    Homework Statement a horizontal spring-mass is composed of a spring with constant 10.0 N/m and an 80.0 gram mass on the end of the spring. the surface supporting the mass is friction less. when the system is first observed, the spring is extended 1.30 cm and the velocity of the mass is 54.1...
  25. 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...
  26. 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...
  27. F

    Finding the Value of Theta in Simple Harmonic Motion - Explanation and Solution

    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...
  28. Adam Rabe

    SHM equation velocity of wave help

    Homework Statement Homework Equations x(t) = A cos (2pi * f * t) v (t) = - vmax sin (2pi * f * t) vmax = (sqrt of k/m) * A v = circumference/period The Attempt at a Solution I do not know how to find the velocity as question only provides amplitude and i don't know how to find period using...
  29. asteeves_

    Calculating Amplitude in Simple Harmonic Motion

    I have encountered two separate review problems that have to do with finding a value for amplitude and I am really struggling with it. 1. Homework Statement Question 1- A mass of 3kg is free to move on a horizontal frictionless surface and attached to a spring of k=15 N/m. It is displaced...
  30. Vitani11

    Hole though the Earth and SHM: why is uniform density assumed?

    Homework Statement A particle of mass m is dropped into a hole drilled straight through the center of the Earth. neglecting rotational effects and friction, show that the particle’s motion is a simple harmonic if it is assumed that the Earth has a uniform mass density. Obtain an expression for...
  31. T

    SHM Amplitude vs. Frequency graph

    Homework Statement A metal hangs vertically from one end of a spring. The other end of the spring is tied to a thread that passes over a pulley and is attached to a vibrator, as shown in the figure. The vibrator is now switched on. The frequency of vibration is varied from 0.7f to 1.3f where...
  32. 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...
  33. ItsTheSebbe

    Prove that the period of a SHM is 2pi*sqrt(m/k)

    Homework Statement When I was in high school I was thaught that the period of a simple harmonic oscillation (mass on spring, ball on pendulum, etc) was equal to ##T=2\pi \sqrt \frac m k## though they have never explained to me why. That's what I wanted to find out. So for example, let's take a...
  34. 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...
  35. T

    Damping Constant: Solving for b Homework

    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...
  36. S

    Measuring the period of SHM using sound

    Hello! First time posting here. I'm studying the IB and need to complete my required experimental write-up. I am looking to replicate the well-known experiment that finds the value of g by investigating the relationship between period and length of string for a simple pendulum. 1. Homework...
  37. U

    A 342-g mass is attach to a spring and undergoes SHM.

    Homework Statement A 342-g mass is attach to a spring and undergoes SHM. Its max accelerations is 18.6m/s^2 Its max velocity is 1.75m/s Homework Equations x(t)=Acos(wt) x'(t)=-wAsin(wt) x''(t)=-w^2Acos(wt) w=sqrt(k/m) The Attempt at a Solution I essentially derived these equations and have...
  38. bluejay27

    I Mastering Simple and Physical Pendulum Motion with Newton's Laws and Hooke's Law

    Revisiting my general physics notes, I noticed that you just need Newton's second law and knowing Hooke's law to predicting the motion of a simple pendulum and that of a physical pendulum. For the simple pendulum, simply consider the tangential component of the force with some trig expressions...
  39. Vanessa Avila

    Finding time of how long the block travels (SHM)

    Homework Statement A small block is attached to an ideal spring and is moving in SHM on a horizontal, frictionless surface. When the amplitude of the motion is 0.090 m , it takes the block 2.52 sto travel from x= 0.090 m to x= -0.090 m . If the amplitude is doubled, to 0.180 m , how long does...
  40. Mayan Fung

    Introducing SHM to high school students

    I need to introduce Simple Harmonic Motion to a group of high school students studying physics. They don't know anything about differential equation except the method of separation of variables. Also, they have limited knowledge on complex numbers like eiωt. However, I don't want to just give...
  41. U

    I What is the Relationship Between Amplitude and Speed in SHM?

    So in class we were given a problem. A pendulum is oscillating in SHM with amplitude A. After a while you slow it down so that its amplitude is halved. What happens to its speed at x = ± A/4 ? The answer is 1/sqrt(5) and I don't get why.
  42. Elvis 123456789

    Determining angular frequency and amplitude for SHM

    Homework Statement A mass "m" is attached to a spring of constant "k" and is observed to have an amplitude "A" speed of "v0" as it passes through the origin. a) What is the angular frequency of the motion in terms of "A" and "v0"? b) Suppose the system is adjusted so that the mass has speed...
  43. 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...
  44. Pao44445

    Time Period of SHM | 500kg Car w/ 196,000 N/m

    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...
  45. 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...
  46. R

    How to Prove that a Flying Pendulum follows SHM

    Hi, I was wondering if someone could please help me to understand : 1) How can I prove that a Pendulum is following SHM? 2) Also, does being isochronous also mean that the pendulum is following SHM? Thank You very much.
  47. B

    How to find amplitude in SHM problem

    Homework Statement A mass of 120g rolls down a frictionless hill reaching a speed of 4.2 m/s and collides with another mass 3.00g attached to a spring of constant 30 N/m. The two masses stick together and enter into periodic motion. What is the equation for the motion? Homework Equations...
  48. R

    Energy conversion in a spring SHM

    Homework Statement Looking for some feedback a) Describe the energy conversions in a spring undergoing simple harmonic motion as it moves from the point of maximum compression to maximum stretch in a frictionless envoirnment. Be sure to point out the points at which there will be I) maximum...
  49. J

    B Black Hole SHM: Gravitational Force

    I hope I posted in the correct forum... So, to put it simply. Let's say we have a point mass "m" at rest on the event horizon of a black hole of mass "M" and we throw it directly toward the location of the black hole's singularity. The particles only does linear motion and does not orbit the...
  50. 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...
Back
Top