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. PsychonautQQ

    How Does Observer Motion Affect SHM Period Perception?

    Homework Statement an observer see's a system consisting of a spring and mass in SHM move past them and measures the period of oscillation to be T. What will a second observer riding with the system see the period as T as? γ*proper time = time. so the person moving along with the system...
  2. B

    Max Spring Force in SHM: Where & Why?

    Homework Statement Answer the following question for a mass that is hanging on a spring and oscillating up and down with simple harmonic motion. Homework Equations Where in the motion is the magnitude of the force from the spring on the mass a maximum? The Attempt at a Solution I...
  3. PsychonautQQ

    Trouble understanding aspect of SHM

    Homework Statement When deriving the basic equations for SHM, you get the a_c = /omega^2 A and then continue on to derive a_x = -a_c cos/theta I was wondering where the negative sign came from in the equation above. I don't see the need for it, the x component of the centripetal...
  4. Saitama

    How Do You Calculate the Time Period in a Spring-Block SHM System?

    Homework Statement Find the time period of the mass m as shown in the spring-block system. Neglect air resistance and pulley and springs are massless. All the three springs shown have spring constant k .Homework Equations The Attempt at a Solution I am not really sure how to start with this. If...
  5. PsychonautQQ

    Solve SHM Leaky Bucket: dT/dt Calculus Solution

    Homework Statement There is a bucket with a leak in it in verticle SHM. What is the rate that the period changes with time? dm/dt = 2 g/s bucket = 2 kg total water = 10kg starting amplitude = 3cm k=125 N/mHomework Equations T=2pi*sqrt(m/k) The Attempt at a Solution dT/dt = 2pi *...
  6. marellasunny

    Why is it that acceleration has multiple components in SHM?

    I am trying to understand why in a SHM, the acceleration has multiple components(when actually we create such expressions mathematically by approximating the trigonometric expressions using the binomial theorem).I will explain what I mean to ask below with an example. In a internal combustion...
  7. V

    Spring-Block system executing SHM in a freely falling elevator

    A block of mass m is suspended from the ceiling of a stationary elevator through a spring of spring constant k.Suddenly the cable breaks and the elevator starts falling.Show that the block executes S.H.M of amplitude mg/k in the elevator. I solved the problem applying a pseudo force mg on...
  8. O

    In SHM , can we have maximum positive acceleration?

    In SHM , we can only have negative acceleration, and maximum accelration is zero. Is that correct? What is the maximum acceleration here? http://answers.yahoo.com/question/index?qid=20110207103646AAij3SF Thank you.
  9. F

    Mass-spring system in SHM concept question

    Homework Statement Homework Equations The Attempt at a Solution Well since spring is in SHM, only conservative forces are at play here. So using conservation of energy, the kinetic energy would be the change in potential energy. Which I have set up as KE = 1/2k(A^2)2 -...
  10. V

    What is the phase of the SHM at that point

    Homework Statement A mass is attached to a spring on a frictionless horizontal surface. The mass is pulled to stretch the spring by 0.1 m, & then gently released. A short time later, as the mass passes through the equilibrium position, its speed is 1 m/s. Part a) What is the speed of...
  11. M

    How does one get the solution to the differential equation for SHM?

    I understand the derivation for the simple harmonic motion equation: F = -kx ( in a 1-D case) acceleration = x''(t) = (-k/m)x so x''(t) + (k/m)x = 0 But why is the solution to this equation x = A cos (wt + ∅ ) How does one come up with this solution? I tried understanding this by reading...
  12. Sunil Simha

    SHM question with pulley and springs

    Homework Statement Find the time period of the oscillations of the body whose mass is m when it is displaced slightly form equilibrium. All springs have spring constant k and the pulleys and strings are massless and frictionless. Homework Equations T=2∏\sqrt{\frac{m}{K}} where T is...
  13. E

    Understanding SHM in a Potential Well: F(x+xo) and dU/dx Link Explained

    In the attachment below some form of link is made between F(x+xo) and dU/dx I understand F=-dU/dx but I do not understand the derivation shown to prove that the force constant is equal to the second derivative in the last line. How do they go about this proof ?
  14. A

    Angular frequency and angular velocity in UCM and SHM

    this is another conceptual question, so sorry for not following the template. I thought that angular frequency and angular velocity shouldn't be the same thing, but after going through some of the forum threads, there was the idea: "the only difference between angular frequency and angular...
  15. P

    Spring/block on horizontal plane SHM

    Homework Statement 1. Find the speed and acceleration when the kinetic energy is equal to half the potential energy 2. Find the minimum displacement between the points where the kinetic energy and acceleration are at half their maximum valuesHomework Equations mv^2=.5kx^2The Attempt at a...
  16. M

    SHM (finding the phase constant)

    Homework Statement A simple harmonic oscillator consists of a block of mass 2.00 kg attached to a spring of spring constant 100 N/m.When t =1.00 s, the position and velocity of the block are x = 0.129 m and v = 3.415 m/s. (a) What is the amplitude of the oscillations? What were the (b)...
  17. S

    Calculating Amplitude in Simple Harmonic Motion

    Hello and thanks for you time. Just a quicky :-) For a free vibration impulse response, the acceleration a is given by: a = -ω^2*Asin(ωt) So am I right in saying that you can rearrnage to calculate the amplitude A as: A = a/(-ω^2*sin(ωt)) Thanks, Steve
  18. W

    SHM - Ultrasonic Transducers

    Homework Statement An ultrasonic transducer, of the type used in medical ultrasound imaging, is a very thin disk (m = 0.14 g) driven back and forth in SHM at 0.8 MHz by an electromagnetic coil. (a) The maximum restoring force that can be applied to the disk without breaking it is 34,000 N...
  19. M

    Self-Teaching SHM: Transverse Waves & Variables

    So, I have to self-teach myself part of my class. However, there's one part of my book I can't understad at all. First, I would like to understand, why does a transverse motion has 3 variable, y,x, and t . In my book they give the explanation y=h(x,t) and when we find the formula of the...
  20. Saxby

    Understanding SHM: Calculating the Wave Function of a Simple Harmonic Wave

    What is the wave function of a simple harmonic wave? y(x,t)=Asin(ωt+kx)
  21. A

    Eliminate T to Show SHM of a Rectangular Plate

    Q:A rectangular plate of sides a and b is supended from a ceiling by two parallel strings of length L each(Fig). The Separation between the strings is d. The plate is displaced slightly in its plane keeping the strings tight. Show that it will execute SHM. Find the time period...
  22. J

    Graph help on Damping effects on SHM experiment

    1. The problem Okay. So just too briefly outline my experiment: I have a pendulum bob attached to two cardboard discs, and am testing to see how the radius of the cardboard discs effects the damping of the simple harmonic oscillator (the pendulum). I have results (such as the one below which...
  23. N

    What Are the Angular Frequency and Amplitude of a Particle Undergoing SHM?

    Homework Statement A particle undergoes simple harmonic motion. It has velocity v1 when the displacement is x1 and velocity v2 when the displacement is x2. Find the angular frequency ω and amplitude A in terms of the given quantities. Homework Equations x = A sin (ωt + ∅ ) v = A ω...
  24. Saitama

    SHM r/R Ratio Question: Solving for Simple Harmonic Motion in a Fixed Trough"

    Homework Statement (see attachment for figure) A small object is mounted to the perimeter of a hoop of radius r. The mass of the object and the hoop is same. The hoop is placed into a fixed semi-cylinder shaped rough trough of radius R, such that small mass is at top. Find the least r/R ratio...
  25. M

    Calculating Distance Using SHM & Hookes Law

    Homework Statement The diagram show a student before and after she makes a bungee jump from a high bridge above a river. One end of the bungee cord, which is of unstretched length 25 m, is fixed to the top of a railing on the bridge. The other end of the cord is attached to the waist of the...
  26. M

    Answer to an SHM Problem Does Not Fit Into Original Situation

    Homework Statement A particle performs SHM of amplitude A along a straight line. When it is at a distance (√3/2)A from the mean position, its kinetic energy gets increased by an amount (0.5)mω2A2 due to an impulsive force. Then its new amplitude becomes? Homework Equations The basic idea...
  27. J

    Finding time given positions in 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.090m , it takes the block 2.52s to travel from 0.090m to -0.090m . If the amplitude is doubled, to 0.180m , how long does it take...
  28. W

    How Do I determine when a pendulum ceases to be SHM

    Homework Statement I have to find what angle a pendulum stops being simple harmonic motion experimentally and if possible theoretically. Homework Equations T=2pi√(L/g) [1] d2θ/dt2+(g/r)sinθ=0 [2] dθ/dt=√((2g(cosθ-cosψ))/L) where phi = theta initial [3] T = 4*∫oψdθ/[1] [4]The Attempt at a...
  29. T

    Deriving SHM: Help Needed for Challenging Problem in Textbook

    This is actually the problem in the textbook. I'm trying to derive the harmonic oscillator differential equation for this system, but It seems like it's very very challenging. could anyone help me out? Following is the question and figure from the textbook. Homework...
  30. F

    SHM two-block spring system

    Two blocks (m=1.0 kg and M=10 kg) and a string (k=200 N/m) are arranged on a horizontal, frictionless surface (in the picture m rests atop M). The coefficient of static friction between the two blocks is .40. What amplitude of simple harmonic motion of the spring-blocks system puts the smaller...
  31. S

    Fluid Mechanics and SHM question Question

    Can please anyone solve the following question in details... A cylindrical object of outer diameter 10 cm height 20 cm and density 8000 kg/m3 is supported by a vertical spring and is half dipped in water. Spring constant is 500N/m. (a) Find the elongation in the spring in equilibrium...
  32. idir93

    Solving SHM Problem: Stuck Between Textbook & My Attempt

    Hello guys i was trying to solve some problem of simple harmonic motion. as it is well explaind in the title I'm not getting the same result as my textbook manual solution. Problem: A block of unknown mass is attached to a spring with a spring constant of 6:50 N/m and undergoes simple...
  33. Z

    Determine the period and frequency of SHM

    A 1 lb weight is suspended from a spring. Let y give the deflection (in inches) of the weight from its static deflection position, where “up” is the positive direction for y. If the static deflection is 24 in, find a differential equation for y. Solve your equation and determine the period and...
  34. C

    Comp Sci Java Program for Damped Harmonic Oscillator Solutions | Ptplot Package

    Homework Statement I have to write a JAVA program that will compute and display (via the ptplot package) the solutions for the damped harmonic oscillator (x against t) in some given range for t. The solutions vary depending on how gamma and omega are related. The instructions given were: 1)...
  35. D

    Forced Damped SHM, AC CLR circuit.

    Homework Statement Hello, I've recently finished an experiment on forced damped simple harmonic motion with a CLR "capacitor , inductor, resistor" circuit with the aim to measure the resonance frequency of the system, using a family of graphs for which each the resistance is varied. voltages...
  36. A

    Why is the Time Period of a Pendulum & SHM Different?

    can someone please tell me why is the time period of a simple pendulum independent of the mass m of the bob while the time period of a simple harmonic oscillator is T=2∏√m/k! pleaseeeee help . Thankyou sooo much :)
  37. G

    5 SHM Problems i can't get HELP

    5 SHM Problems i can't get :( HELP! http://imageshack.us/a/img201/3924/sadv.png Okay so these are the last 5 problems that I'm stuck on... I've tried a lot and no success, if anyone can please show me the work on how to get them... I've tried all 4 and will explain what I did 1) I found...
  38. R

    Electron Between Infinite Line Charges and SHM

    Homework Statement Two infinite line charges, of charge density λ Cm-1, are aligned parallel to one another as shown in the diagram below. The line charges are a distance 2a apart. An electron is placed at location (x, 0, 0), x << a and released. Show that it will execute simple harmonic...
  39. S

    Simple Harmonic Motion (SHM) question check

    Homework Statement A metal sphere of mass 0.20kg is hung from a helical spring whose top end is clamped. the sphere is displaced by 0.030m below its equilibrium position, and then released. 20 cycles of oscillation, of amplitude 0.030m, occur in a time of 12.0s. calculate; (I) the spring...
  40. K

    SHM Mass Hanging on a Spring - Find velocity at given position in path

    Homework Statement Spring and Hanging Mass A block of mass 4 kg hangs vertically from a spring with constant k = 100 N/m which is attached to the ceiling and initially is not stretched or compressed. The block is initially held at rest by an external force. The block is then released and falls...
  41. V

    Displacement and acceleration ( SHM? )

    Homework Statement A small body is undergoing simple harmonic motion on a frictionless horizontal surface with an amplitude of 0.13m. At a point 0.05 m from equilibrium the velocity is 0.24 m/s. a.) what is the period? What is the displacement and acceleration when the velocity is ±0.10 m/s...
  42. H

    Simple Pendulum SHM Problem: Calculating Angular Frequency for Maximum Amplitude

    Homework Statement Consider, as shown in the picture, a penulum of mass m=0.52g, hanging on an ideal rope of length l=0.31m. A force is exerted to this pendulum as shown in the picture. The horizontal component of the force is: \displaystyle {{F}_{x}}={{F}_{0}}\cos \left( \omega t \right)...
  43. H

    How Do You Calculate Angular Frequency for a Sphere Oscillating in a Cylinder?

    Homework Statement Esphere of radious R which oscilates inside a cylinder of radious 5R. Calculate the angular frequency for small oscilations. Homework Equations The Attempt at a Solution I hate Newton to solve SHM problems where weight is acting so I opted for energy but I cannot find out...
  44. H

    Find the angular frequency for small oscilations of the following SHM

    Homework Statement A rod of length L and mass M can rotate respect to an articulation fixed to the wall. The other extreme of the rod is attached to a spring of constant k. When the system is in equilibrium the rod keeps horizontal. Find the angular frequency for small oscilations respect to...
  45. S

    Complex exponential description of SHM

    Hey, I'm currently reading a textbook which is attempting to derive the equation for a standing wave from first principles. I understand most steps with the exception of one. It derives a sinusoidal function {x = A \sin \omega t} from a second order ODE, but then immediately interchanges...
  46. E

    Question related to SHM and free body diagrams

    Homework Statement Draw three free-body diagrams showing the forces acting on a toy suspended by a vertical spring. The diagrams should show the situations when the toy is at its equilibrium position, and above and below the equilibrium position. Homework Equations The Attempt at a...
  47. E

    Pendulum SHM: Vector Direction of Weight vs. Tension

    I've seen in many sites that a pendulum restoring force Fnet = mg sin theta... Why did we actually get the vector direction of the weight and not the vector of the tension.. Simply, as in centrepetal force.. It would be Tsin theta would be the net restoring force? Thanks!
  48. E

    Exploring SHM: Types, Formulas, and Resources for A Level Physics Students

    Well, I've been into the Simple Harmonic Motion topic.. In my book, it's quite a small portion.. However, i know that it is much bigger. Can someone list me the types of SHM and formulas needed... Particularly about Pendulums and Springs... For example, I've read in a separate book something...
  49. M

    Prove that Vmax = (pi/2)*Vavg (SHM)

    Homework Statement For a particle in simple harmonic motion, show that Vmax = (pi/2)*Vavg where Vavg is the average speed during one cycle of the motion. Homework Equations x(t) = A*cos(ωt) (SHM mathematical model) v(t) = -Vmax*sin(ωt) Fave = 1/(b-a)∫f(x)dx The Attempt at a...
  50. M

    Vertical SHM. Find f with A and drop height

    Homework Statement A spring is standing upright on a table with its bottom end fastened to the table. A block is dropped from a height of 3.0cm above the top of the spring. The block sticks to the top end of the spring and then oscillates with an amplitude of 10cm. What is the oscillation...
Back
Top