What is Compression: Definition and 632 Discussions

Lossless compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data. By contrast, lossy compression permits reconstruction only of an approximation of the original data, though usually with greatly improved compression rates (and therefore reduced media sizes).
By operation of the pigeonhole principle, no lossless compression algorithm can efficiently compress all possible data. For this reason, many different algorithms exist that are designed either with a specific type of input data in mind or with specific assumptions about what kinds of redundancy the uncompressed data are likely to contain.
Lossless data compression is used in many applications. For example, it is used in the ZIP file format and in the GNU tool gzip. It is also often used as a component within lossy data compression technologies (e.g. lossless mid/side joint stereo preprocessing by MP3 encoders and other lossy audio encoders).
Lossless compression is used in cases where it is important that the original and the decompressed data be identical, or where deviations from the original data would be unfavourable. Typical examples are executable programs, text documents, and source code. Some image file formats, like PNG or GIF, use only lossless compression, while others like TIFF and MNG may use either lossless or lossy methods. Lossless audio formats are most often used for archiving or production purposes, while smaller lossy audio files are typically used on portable players and in other cases where storage space is limited or exact replication of the audio is unnecessary.

View More On Wikipedia.org
  1. G

    Isobaric Compression: Homework Help for Ideal Gas Laws

    Howdy all, I have a final coming up, and I'm having a very difficult time grasping a few concepts about the ideal gas laws, specifically a problem with isobaric compression. Homework Statement Alright, the intro to the problem is: A quantity of ideal gas is slowly compressed to 1/3 of...
  2. U

    Why Does RMS Velocity Increase During Adiabatic Compression?

    rms velocity and compression. Please help! Homework Statement Explain why the rms velocity of a gas increases when it is adiabatically compressed. Homework Equations None The Attempt at a Solution I know that compressing a gas decreases the volume, but I don't know details on...
  3. I

    Calculating Pressure for Candle Compression

    Hi doing a group project on making tea candles! Silly topic but anyway... my part is to calculate the pressure needed to make a candle and having trouble with the calculations... final dimension needs to be a 38mm diameter and 16mm height using rotary compression to do this... candle...
  4. Femme_physics

    Mechanics of Materials - Shear and Compression

    Homework Statement http://img62.imageshack.us/img62/9815/mechmatt.jpg P = 235 kN d = 50mm (diameter of the axis) t = 20 mm t1 = 12 mm Safety coeffecient = 2.0 σy = 320 MPa Check the axis for strength (shear and compression) Homework Equations...
  5. L

    Three spring two mass system, compression of the middle spring

    Homework Statement I decided to revise my mechanics course and came across a problem involving a system with three springs (say, different k's) and two masses (say different). The s1-m1-s2-m2-s3 system has the outer springs connected to walls of infinite mass. I was interested in what...
  6. R

    Isothermic compression question. Need help

    Homework Statement The question I am stuck on is "0.253 m of gas is compressed isothermally from a pressure of 1 bar until its volume is 0.0313 m. Calculate the heat energy transfer. " Homework Equations I understand that work done = Heat transfer because it is isothermal but the equation...
  7. D

    Solving for Compression of Unstretched Spring

    Block 2 (mass 1.10 kg) is at rest on a frictionless surface and touching the end of an unstretched spring of spring constant 144 N/m. The other end of the spring is fixed to a wall. Block 1 (mass 1.70 kg), traveling at speed v1 = 3.60 m/s, collides with block 2, and the two blocks stick...
  8. B

    Mass flow in Vapor Compression Cylce HELP

    Hi guys, I'm doing some calculations on a vapor compression cycle system for my Master Thesis. My question is: Does the mass flow change when the refrigerant flows through the (electronic) expansion valve (assuming steady state flow)? I assume that it doesn't but I can't seem to get...
  9. W

    Quick question re. 1dB compression of an RF mixer

    I am quite inexperienced with actually using mixers, so when I was bombarded with specifications by a data sheet I was a bit intimidated at first. I think I have learned what most of the metrics mean thanks to a great deal of resources available online. I just have one question. The data sheet...
  10. N

    How realistic is a time compression vacation destination with a high rate?

    Hi! Could you help me, please, in a hypothetical situation that involve advanced physics knowledge? I am going to write a science fiction novel, and in order to avoid major scientific mistake, I would need your help. Is it possible, according existing physics theories, to find in cosmos an...
  11. C

    Find the maximum spring compression

    Homework Statement A horizontal spring with k = 71 N/m has one end attached to a wall and the other end free. An 95 g wad of putty is thrown horizontally at 3.7 m/s directly toward the free end. Find the maximum spring compression. Homework Equations W=1/2kx^2 The Attempt at a...
  12. S

    Otto cycle with polytropic compression and expansion (thermodynamics)

    Homework Statement attached as pdf (problem 1) (part b)Homework Equations w=p2v2-p1v1 / n-1 w=mR(T2-T1) / 1-nThe Attempt at a Solution I was able to determine the pressure and temperatures at all points, but to find the work i appear to need the volume, I also looked at w=h2-h1 but I am not...
  13. T

    Showing equation of state is inaccurate based on compression factor

    Homework Statement If I was using an equation of state as so: Vm = (RT/P) - (aRT^2)/P, where the constant a is always positive, I would be able to determine that the compression factor is Z = Vm/Vm° = 1− a ⋅T . This leads me to the conclusion that there is something seriously wrong with...
  14. A

    Compression Fittings VS. Weld Fittings

    I need to install 4 bar stainless steel piping system (40 meters length, 20 Tee, 40 Elbow) . do you recommend using compression fittings or welded fittings. I know that compression fittings is easy to assemble but they have leakage problems. Butt-Welded fittings on the other hand would...
  15. Y

    Gravity: A Matter of Spacetime Compression?

    I have always thought of gravity as being a phenomenon related to matter. I have always envisioned it as a "contraction" in spacetime reaching out in all directions from an object. What I mean by contraction is that the closer you get to a body of mass the more spacetime is compressed. Due...
  16. H

    Spring with masses on either side - force constant and compression remain the same?

    Homework Statement A spring is compressed by 0.100m from its equilibrium position, and two blocks of masses 3kg and 5kg are resting motionless on each side on a frictionless surface. The spring has a force constant of 20 N/m, and a rope holds the block in position against the compressed...
  17. tiny-tim

    Medical Tension instead of compression on human spine?

    in most mammals, the spine is usually horizontal in monkeys swinging from branch to branch, the spine has evolved to operate vertically under tension in humans (and other animals that walk on two legs), the spine is in compression when vertical did humans evolve from swinging monkeys...
  18. K

    Is a 5K Temperature Rise Normal in Water Compression from 2 to 200 Bar?

    Hi PF! I'm modeling a system using EES in which compression of water occurs from approximately 2 bar to 200 bar. During the compression, the temperature rises from 300K to 305K. There's no heat transfer and the pump works as an ideal machine. I remember my thermo professor saying that...
  19. B

    Isothermal compression vs thermally isolated compression

    1. Homework Statement Two equal masses of an ideal gas initially at the same temperature and pressure are compressed to half of their initial volumes, one of them isothermally, and the other while thermally isolated from its surroundings. Which one of the following is the same for both...
  20. J

    How Much Force Can a Human Femur Withstand Before Breaking?

    Homework Statement The Femur bone in the human leg has a minimum effective cross section of about 3.0 cm2 How much compressible force can it withstand before breaking Homework Equations Compressive Strength (bone)(N/m2) = 170 x 106 P = F/A The Attempt at a Solution Not sure what a...
  21. R

    Calculate Compression Stress for 500 kg Car Tire Ring

    A 500 kg car uses 10 kg aluminum alloy tire ring, what is the compression stress on one of the wheel rings if the contact area is 0.10 m^2 with the tire so the model answer is stress = F\A 127.5\0.1 = 12,750 Pa where did we get the force from ? 127.5 ?
  22. A

    Spring Constants and compression

    Homework Statement A 5.0kg mass is hanging from a spring scale and is slowly lowered onto a vertical spring. The scale reads in Newtons. a) what does the scale read when the mass is not in contact with the spring? b)the scale reads 20N when the lower spring is compressed by 2.0cm. show...
  23. F

    Hooke's Law for Compression: Is the Constant the Same as for Extension?

    Homework Statement is the hooke's constant same for compression as well as extension of all the materials and springs? Homework Equations Force = hooke's constant * extension [ to a limit] The Attempt at a Solution
  24. L

    Physics of a punch: compression, stress/strain, etc.

    Hello, I am working on a project for my physics class and I'm not sure how to proceed. I decided to do mine on the physics of a punch, and I have a few ideas of how I can collect data, but I'm not sure if I'm looking at it the right way. I was going to make a soft clay block and find it's...
  25. M

    Isothermal compression of a gas and the associated entropy change.

    1 mole of an ideal gas is compressed isothermally from 1 to 10 bar at 298 K. Calculate the total entropy change associated with this process if it is carried out 1) Reversibly 2) Irreversibly S (system) =nRln(vf/vi) for an isothermal process. I think I am getting a bit...
  26. O

    Computer Science compression question

    1. A streaming Netflix movie is usually 720 by 480 pixels. The color for each pixel takes 3 bytes to encode, and a feature film shows 24 frames (individual still images) per second. a.) How many kilobytes are needed to encode one frame, without compression? b.) How many GB are there in a...
  27. P

    Shear Stress & Hole Compression

    Dear forum, I need some guidence on how to solve shear stress on a pin and the hole compression due to force load on the pin. I haven't provided number as I can work those out later, but simply I am asking for a step by step! [PLAIN]http://img835.imageshack.us/img835/8623/problemsb.jpg
  28. D

    Mass vs. compression with rollers

    Let's say the is a piece of wood with a few legs supporting it. There is a weight on it that weighs 500 lbs on the wood with rollers under it so it can move. Next to that is a clamp, let's say weighing 50 lbs, clamped onto the wood that is exerting the same amount of pressure onto the wood as...
  29. D

    Mass vs Compression: How Do They Exert Pressure?

    I'm curious about how mass and compression differ in how they exert pressure. For example: You have a piece of wood. On the woods sits a 100lb weight. Somewhere else on the wood is a bolt going through it with a nut on the other side. This bolt and nut is tightened so that it exerts 100lbs of...
  30. B

    How Does Friction Affect Spring Compression and Energy Loss?

    Homework Statement A horizontal uncompressed spring of constant k= 3 N/m and negligible mass lies on a frictionless floor. The right end of the spring rests against a vertical wall. A block of mass m=0.180 kg with initial velocity v0= 1.0 m/s is incident to the spring from the left. The spring...
  31. P

    Why Does Compressing Hydrogen Increase Explosion Risks?

    It is repeatedly mentioned that "compressing hydrogen carries a significant risk of explosion"?. But why does compression of hydrogen carry explosion risk? Is it true for all gases?
  32. P

    Spring compression as a launcher and velocity at a certain point

    Homework Statement A game uses a spring launcher to shoot a puck with mass of 0.5kg along a frictionless track as shown in the diagram. The spring has a k value of 600 N/m. By how much does the spring need to be compressed to launch the puck and have it go around the inside of the loop...
  33. J

    Max Spring Compression Calculation

    Homework Statement A 500g block is dropped from a height of 60cm above the top of a vertical spring whose force constant k = 120 N/m. Find the max. compression of the spring.Homework Equations Fsp = -kxThe Attempt at a Solution m = 500, height above horizontal = 60cm, k = 120 N/m I know the...
  34. J

    Spring compression - Conservation of Energy

    Spring compression -- Conservation of Energy Homework Statement So far I'm only working on part A. I didn't know whether to create separate posts for each part I had trouble with or just put the whole thing in one post. Homework Equations KE = 1/2mv^2 PE = mgh Uelas = 1/2kx^2The Attempt at a...
  35. E

    Spring compression to complete a loop (energy)

    Homework Statement An 840kg roller-coaster car is launched from a giant spring of constant k=31kN/m into a frictionless loop-the-loop track of radius 6.2m. What is the minimum amount that the spring must be compressed if the car is to stay on the track? Homework Equations Wspring=0.5kx^2...
  36. B

    Horizontally mounted compression spring

    I am working on a swinging component. The component can swing with a varying amount of forces, which I need to control. I can not use an extension spring, because the widely varying amounts of force. I am hopeful that I will be able to use a pair of compression springs, yet I would need them to...
  37. T

    How Does Beam Support Type Influence Buckling Direction?

    Hey guys, Got a quick question here; A simply supported beam of square cross-section is under compression. Which is the preferred direction for buckling? Why? Does your answer change if the beam is clamped at both ends?
  38. K

    Heat transfer from gas to liquid during compression

    Hi, Im working on a model where I need to look into the rate of heat transfer from a gas that's being compressed by a "liquid piston" of water. So basically a closed container containing a fixed amount of air n of volume V, is filled with water from the bottom until the volume of the air...
  39. B

    Spring Constant and Compression Problem

    Homework Statement The potential energy stored in the compressed spring of a dart gun, with a spring constant of 62.50 N/m, is 0.540 J. Find by how much is the spring is compressed. Homework Equations I know that F=-k*change in x and also spring= 1/2kx^2 The Attempt at a Solution...
  40. D

    Find max compression of spring, block on incline

    Homework Statement A 5 kg block is placed near the top of a frictionless ramp, which makes an angle of 30o degrees to the horizontal. A distance d = 1.3 m away from the block is an unstretched spring with k = 3000 N/m. The block slides down the ramp and compresses the spring. Find the maximum...
  41. A

    Finding Max Compression of Spring with 500g Block

    Homework Statement A 500 g block is released from rest and slides down a frictionless track that begins 2.00 m above the horizontal. At the bottom of the track, where the surface is horizontal, the block strikes and sticks to a light spring with a spring stiffness constant 20.0 N/m. Find the...
  42. M

    Compression Conundrum: Why Does WinRAR Reach 84% at Best?

    I have discovered something weird that I want someone to explain to me. The program in question is winRAR, haven't tested others. Here's the thing. That program at its best is able to compress random data(a piece of some transcendental number) to exactly 84 percent. However should you choose...
  43. K

    Could gravity be described as distance compression?

    Two people leave from parallel points in space and head to other parallel points the same distance apart. Person 1 travels through empty space outside any gravitational influence, and it takes him 1 day to reach his destination. Person 2 comes close to a black hole on the way. It takes him 10...
  44. A

    What is the difference between compression ratio and cut off ratio?

    I know the cut off ratio is of the specific volumes, but is that it? And what exactly do they tell you
  45. I

    Calculating Heat of Compression in a Fluid?

    I have air figured out, but what about in a fluid? Say an injector that goes from 0psi to 4000psi. How would I calculate that? Also, when the fuel shoots out of the injector, does the instant expansion cause it to cool back down to the temp it was at 0psi?
  46. K

    Max Compression of Spring with Friction: Solve Now!

    A 1 kg puck slides at 20m/s along ice, then hits and compresses a spring with a constant of 35N/M. When it first hits the spring, the puck experiences a frictional force of 4.0 N opposing its motion. What is the maximum compression of the spring? Homework EquationsKE=1/2mv^2 The...
  47. M

    Calculating Spring Compression from Toy Car Collision

    Homework Statement A toy car with a mass of m=.079 kg crashes into a spring with constant k=69 N/m. If the car was going v=1.10 m/s, then how far will the spring compress? Homework Equations I think you could use the equation for Elastic Potential Energy but I'm not sure what to do with...
  48. B

    Effect of Multiple Springs with Different Spring Constants on Plate Compression

    If i were to attach 2 helical springs (of same uncompressed length but different Spring constants) to metal plates on both ends and then apply a compressive stress on one of the plates, will both the springs compress the same? even though they hold a different tendency for compression...
  49. B

    Change in entropy for adiabatic compression

    Homework Statement A sample of 8.02*10^-1 moles of nitrogen gas (\gamma=1.4) occupies a volume of 2*10^-2m^3 at pressure 1*10^5pa and temperature 300K. The gas is adiabatically compressed to half its original volume. What is the change in entropy of the gas? Homework Equations...
  50. Y

    1-D Inelastic Block Collision and Spring Compression w/photo

    Homework Statement Homework Equations The Attempt at a Solution Here is the work that I've done. This is an even problem in my book so the answer is not given. The professor did gave the answer to this problem as .33m. The most recent answer I got is .4m which means block b...
Back
Top