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

    How Does Charge -Q Exhibit Simple Harmonic Motion?

    Homework Statement Two identical particles, each having charge +q, are fixed in space and separated by a distance d. A third particle with charge -Q is free to move and lies initially at rest on the perpendicular bisector of the two fixed charges a distance x from the midpoint between the...
  2. M

    How Does Adding Weight Affect the Oscillation of a Board on Rollers?

    Homework Statement The following problem is taken from the MCAT Prep book ExamKrackers 1001 Physics Problems A board with mass m and center of mass C sits on fixed, rotating rollers separated by a distance L. The coefficient of friction between the board and the rollers is u. The board...
  3. B

    What Is the Maximum Angle to Rotate a Swing Before a Pencil Slips Off?

    Homework Statement You set your pencil on the very edge of a swing and start rotating the swing to see how far you can wind it up before the pencil slips off while unwinding. The swing is simply a rope hanging from a tree and passing through the center of a flat plywood board. The rope has...
  4. R

    Deriving the Equation for Spring Deflection of a Dropped Mass

    i have the following question and i have no idea how to answer it can any please help out... consider a Mass M which is dropped a height z onto a spring of stiffness k N/m. when the mass hits the spring, the spring will deflect a distance x before the mass stops moving down. show that the...
  5. G

    Vertical Displacement of Particle on Spring: k,m and x in Equations

    Need to show that the vertical displacement of a particle on a spring is \ddot{x} + 100x = 0 \frac{1}{2}kx^2 + \frac{1}{2}m\dot{x}^2=C k\dot{x}x + m\dot{x}\ddot{x}=0 Then since m=0.4, k=40. \ddot{x}+100x=0 what has happened to gravitational potential energy? why isn't...
  6. A

    Calculating Amplitude in Simple Harmonic Motion

    My question is with part c, more specifically the calculating of the amplitude part. http://img691.imageshack.us/img691/1750/shmquestion.jpg The answer to the question is: [PLAIN][PLAIN]http://img80.imageshack.us/img80/8921/shmanswer.jpg I do not understand how to arrive at this...
  7. L

    How Do You Calculate Oscillation Parameters for a Mass on a Spring?

    Hi: Would somebody kindly check I have approached this problem correctly, please? Thank you. Homework Statement A 0.2kg mass is suspended from a light spring, producing an extension of 5.0cm. a) Calculate the force constant of the spring. The mass is now pulled down a further 2.0cm and...
  8. U

    What is the relationship between 1D potential and simple harmonic motion?

    1D Potential 1. Homework Statement Given: U(x) = U_0 - U_n*e^-(kx^2), U_0, U_n and k are all constant. i) What is the maximum E for the particle to remain in potential? ii) Show that the potential has a minimum at x = 0. iii) If a particle of mass m is placed near the minimum at x = 0, and...
  9. G

    SHM Question - starting at x=A, find when passes through x=0

    Homework Statement A mass oscillating in SHM starts at x=A and has a period of T. At what time, as a fraction of T, does it first pass through x=0? Homework Equations x(t) = Acos(wt + \varphi) The Attempt at a Solution I'm not sure if this means I set x(t) = A, or if the \varphi = -A? Also...
  10. S

    Understanding Hooke's Law and SHM: A 4kg Mass on a Spring with k = 40n/m

    hooke's law and shm help please Homework Statement a 4 kg mass is placed on a spring (k = 40n/m) which hangs vertically. the mass is allowed to oscillate in shm. the maximum distance the mass travels in anyone direciton is 30cm Homework Equations k = 40 n/m distance = 30 cm mass = 4...
  11. Z

    Equation of motion for system of springs- SHM

    Homework Statement I don't want to write the whole question as it is very long and I just have one query.. Basically the question involves a particle attached to three different springs which have fixed end points. In the question the mass of the particle is m, and the other constants used...
  12. P

    Angular SHM of a dipole in electric field

    I was reading some topics related to electrostatics where i came across ANGULAR SHM OF A DIPOLE. I could understand everything in SHM. but i can't relate it with electric field. I've some doubts based on the conventions used here... can any1 help me... and this is it... it's given that...
  13. S

    SHM of Mass Oscillating between Two Identical Springs

    [b]1. The problem statement, all variables and given/known A mass m is connected between two identical springs (along a y-axis) with identical spring constants k. The equilibrium length of each spring is L, but they are stretched to twice this length when m is in equilibrium. By analyzing the...
  14. S

    Program that will draw a(t) knowing x(t) in SHM

    A few days ago I carried out an experiment about Simple harmonic motion. In the attachment I added the scheme of the laboratory. I have collected the following data : time(s), displacement(m), velocity(ms-1) I can obviously plot the graph of x(t). However, the next task is to draw a graph...
  15. K

    SHM mass and spring constant with given frequency

    Homework Statement With a block of mass m, the frequency of a block-spring system is 1.5Hz. When 80g is added, the frequency drops to 0.9Hz. Find m and the spring constant k. Homework Equations T=1/f w=2pi/T so w= 2pi*f w^2=k/m so k=mw^2 T=2pi*sqrt(m/k) The Attempt at a...
  16. R

    Finding Spring Stiffness and Effective Mass for Suspended Beam

    Homework Statement A cable is used to suspend a 400 kg safe. It is being lowered at 6 m/s, when it stops suddenly. Find the maximum dynamic tension and the frequency of vibration. k=2(105 N/m Homework Equations Newton's 2nd law The Attempt at a Solution Well I easily found the...
  17. I

    Solve Oscillator (not SHM) Homework: Potential Energies & Time Periods

    Homework Statement For a certain oscillator the net force on the body with mass {m} is given by F_x = - cx^3. a) What is the potential energy function for this oscillator if we take U = 0 at x = 0? b) One-quarter of a period is the time for the body to move from x = 0 to x = A. Calculate...
  18. I

    Calculating Frequency in SHM with Amplitude, Velocity, and Mass

    I feel like an idiot for not being able to answer this question, it seemed so simple yet so complicated in my head. Homework Statement Have to find frequency, given the amplitude, velocity, and mass. I don't have numbers as it was off an exam I just took. Guessing it was v=5 m/s; A=10m...
  19. V

    Finding the damping constant from SHM

    Homework Statement I doing a investigation coursework at the moment for physics A2. I am investigating how the viscosity of oil is affected by the temperature. I am attemping to prove the viscosity decreasing by showing that the damping constant decreases. I have attached a excel workbook...
  20. Chewy0087

    Solving String SHM in Homework: Period & Speed

    Homework Statement A particle of mass 0.5kg is attached to one end of a light elastic string, natural length 1.2m, it has a modulus of elasticity of 29.4N. When at rest it lies 1.4m directly beneath A. The particle is then displaced 1.75m directly below A & released from rest. Find the...
  21. U

    Simple Harmonic Motion (SHM) with Spring and Block: Homework Solutions

    Homework Statement Consider the simple harmonic motion of a block attached to a spring on a horizontal surface (assume no damping to begin with). At t = 0, the potential energy in the spring is 25% of the maximum potential energy during this motion. Moreover, the kinetic energy of the block...
  22. D

    Finding the Time in a SHM Problem

    Homework Statement Bungee Man is a superhero who does super deeds with the help of Super Bungee cords. The Super Bungee cords act like ideal springs no matter how much they are stretched. One day, Bungee Man stopped a school bus that had lost its brakes by hooking one end of a Super Bungee...
  23. J

    Finding amplitude? SHM problem

    Finding amplitude? SHM problem Homework Statement A 245 g mass attached to a horizontal spring oscillates at a frequency of 3.70 Hz. At t =0s, the mass is at x= 4.40 cm and has v_x = -25.0 cm/s. Determine: Homework Equations I got the first two The Period= .27027 s The Angular Frequency=...
  24. K

    Find amplitude with SHM (Simple Harmonic Motion)

    Homework Statement It is a three part question in which I have successfully answered the first two of the questions. Part. 1 A weight suspended from a spring is seen to bob up and down over a distance of 10 cm twice each second. What is the frequency? 2 Hz is the...
  25. M

    SHM Motion Q: Find Block's Speed at Position(s)?

    There's an example question from my textbook that I'm confused about: A 500 g block on a spring is pulled a distance of 20 cm and released. The subsequent oscillations are measured to have a period of 0.80 s. At what position or positions is the block's speed 1.0 m/s? The book solves this...
  26. A

    Simple Harmonic Motion and Gravitation: Solving for r(t)

    I'm working on a problem on relating gravitation and simple harmonic motion. The idea is that a mass dropped in a hole drilled through the Earth will oscillate (no friction, etc). The question asks this: "Show that the motion of the mass is simple harmonic motion and find a formula for r(t)"...
  27. N

    SHM block on a string questions

    Homework Statement A block of unknown mass is attached to a spring with a spring constant of 8.3 N/m and undergoes simple harmonic motion with an amplitude of 12.0 cm/s. For the block, calculate its: a) mass, b) period of motion, c) maximum acceleration and d) energy. I can...
  28. I

    Effect of dropping putty on a block doing SHM

    Hi here's the problem i need help with. a block is attached to a spring and performs SHM along a horizontal straight line. a piece of putty is dropped vertically so that it sticks to the block when it lands on it. refer to the attached figure. Discuss qualitatively the effects of this...
  29. A

    Partridge in a pear tree (SHM)

    A partridge of mass 5.05 kg is suspended from a pear tree by an ideal spring of negligible mass. When the partridge is pulled down 0.100 m below its equilibrium position and released, it vibrates with a period of 4.15 s. i figured out the first three parts, but part four has me stuck. What...
  30. M

    Calculate Velocity of Mechanical Bucking Bull at Cal State Chico

    Homework Statement While visiting friends at Cal State Chico, you pay a visit to the Crazy Horse Saloon. This fine establishment features a 200- kg mechanical bucking bull that has a mechanism that makes it move vertically in simple harmonic motion. Whether the “bull” has a rider or not, it...
  31. M

    Particle in a conservative force field + SHM

    Homework Statement I read online in several places that any particle in motion in a conservative force field undergoes simple harmonic motion for small amplitudes. I am attempting to prove this is true out of my own curiosity, but I don't know if I have the tools necessary to prove it. My math...
  32. P

    Solving a Simple Pendulum Problem with SHM Model

    Homework Statement A simple pendulum has a mass of 0.250 kg and a length of 6.00 m. It is displaced through an angle of 10.0° and then released. Solve this problem by using the simple harmonic motion model for the motion of the pendulum. (a) What is the maximum speed? (b) What is the...
  33. L

    Quantum SHM with Finite Potential and Hermite Polynomials

    Let it be V=(1/2)m(w^2)(x^2) for -L<x<L and V=A finite for x elsewhere. is it obvious to use the wavefunction for the SHO that has infinite limits for the (-L,L) region and the usual decay of tunneling for the parts outside x</L/, and then play with the boundary conditions to determine the...
  34. M

    SHM Math Explodes (Req: help finding Real parts)

    Homework Statement I'm not attempting a specific problem, I'm just trying to find a correct way of doing the math behind simple harmonic motion ODEs... The example problem I've given myself (based on the books I'm using) is a dashpot with constant c, spring with constant k and a mass m...
  35. P

    Multiple choice questions about SHM

    Homework Statement 1.Reflection goes with a. longitudnal wave b.trasnsverse wave c. both d.neither 2. if mass of teh bob on a springs are increased, howe whould that affet the period of the vibrations? 3. if a spring is released fr. progressively larger displacments, how owould this...
  36. S

    How to Find the Amplitude in SHM with Only K and Mass?

    Homework Statement If provided only the spring constant K and the mass of an object undergoing simple harmonic motion how do you find the amplitude? Homework Equations Angular Frequency = sqrt (k/m) Period = 1/t The Attempt at a Solution Using the two equations above you can derive...
  37. M

    Solve Acceleration Due to Gravity on Distant Planet

    Homework Statement To measure the acceleration due to gravity on a distant planet, an astronaut hangs a 0.060-kg ball from the end of a wire. The wire has a length of 1.5 m and a linear density of 3.1 multiplied by 10-4 kg/m. Using electronic equipment, the astronaut measures the time for a...
  38. X

    Is angular SHM also related to UCM ?

    Hi all, I have learned that linear SHM is just projection of UCM onto one axis. Is angular SHM also related to UCM ? Moreover, I have also learned that theta = theta0 * sin(wt+P) where theta is angular displacement, theta0 is angular amplitude and P is phase constant. Where does this...
  39. R

    How Do You Calculate the Amplitude of Forced Oscillation in SHM?

    Homework Statement A 2 kg object hangs from a spring, the mass of which can be discounted. When the object is attached, the spring extends by 2.5cm. The top of the spring is then oscillated up and down in SHM with an amplitude of 1mm. If Q=15 for the system, find w_0 (angular frequency) and...
  40. W

    Energy considerations in LC oscillations. How is it in SHM?

    Homework Statement Hi When you set up an LC (tank) circuit there is oscillation due to charge and discharge of capactor and storage of energy in the inductor. How do you prove that it is simple harmonic? And also how do you prove (mathematically) energy is conserved in an undamped LC...
  41. E

    Does the derivation of the SHM formula require calculus?

    It's not a homework question, but I wanted to attempt to derive it on my own. I was lookin for some clues online, and I believe I saw a website using derivatives. Can it be done using pure algebra and trigonometry?
  42. H

    Significance of spring mass in SHM.

    Homework Statement So, we are considering a spring-mass system, in which the mass at the end of the spring, M, is comparable to the mass of the spring, m. Using Newtons laws, I have to calculate, how significant the mass of the spring is. Homework Equations Mass at the end of the...
  43. L

    Physical Pendulum attached to spring in SHM. Find Equation of Motion

    Homework Statement Uniform Rod of length 0.2m and mass 0.2kg pivoted at one end. THe other end of attached to a horizontal spring with spring constant 3.0N/m. The spring is neither stretched nor compressed when the rod is perfectly vertical. You can also assume that the force due to the...
  44. J

    SHM problem, involves a laser.

    I am struggling with the following question: My attempt so far is: (in the diagram h is supposed to be A) (i have also assumed the pulse time is negligible, so the mass starts at the resultant velocity) The set of homework questions this has come from is supposed to be related to...
  45. B

    Conservation of momentum and SHM of a spring

    Homework Statement A spring of negligible mass and force constant k = 400 N/m is hung vertically, and a 0.200-kg pan is suspended from its lower end. A butcher drops a 2.2-kg steak onto the pan from a height of 0.40 m. The steak makes a totally inelastic collision with the pan and...
  46. S

    Harmonic Motion in Earth and Moon: A Comparative Study

    Suppose that, on Earth, a mass is suspended on a vertical string and is executing an harmonic motion with Period: T Amplitude: A Angular frequency: \omega Now all the system is put in the Moon. What changes that system will have? Thanks for you help
  47. K

    What Is the Maximum Amplitude for SHM Without Slipping?

    Homework Statement A block is on a horizontal surface (a shake table) that is moving back and forth horizontally with simple harmonic motion of frequency 1.3 Hz. The coefficient of static friction between block and surface is 0.59. How great can the amplitude of the SHM be if the block is not...
  48. P

    Hooke's Law & SHM Homework: Solution Attempt

    Homework Statement See attachment (titled "Statement.jpg") Homework Equations F = ma F = -kx U = K = (1/2)kx^2 I'm assuming there are more... The Attempt at a Solution My first attempt at this soultion was to use energy methods. The force applied for some time t0 will...
  49. K

    SHM Platform Block Displacement

    Hey all, I trying to get somewhere with the following problem and am not having much luck. Any tips or suggestions would be appreciated! I found that the block leaves the platform at y=2.5 cm though. A platform is in SHM in the vertical direction with an amplitude of 5cm and freq. of 10/pi...
  50. K

    Finding Block's Maximum Height in SHM Platform

    Hey all, I trying to get somewhere with the following problem and am not having much luck. Any tips or suggestions would be appreciated! I found that the block leaves the platform at y=2.5 cm though. A platform is in SHM in the vertical direction with an amplitude of 5cm and freq. of...
Back
Top