Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: What is the difference between a corner case and edge case?

by FamousLongAgo (Friar)
on Jan 13, 2003 at 13:25 UTC ( [id://226447]=note: print w/replies, xml ) Need Help??


in reply to Re: What is the difference between a corner case and edge case?
in thread What is the difference between a corner case and edge case?

That's a good example. Within an engineering community, stress and strain have an exact meaning (stress => compression, strain => tension), and people who misuse the terms brand themselves as weenies. Or, at least, non-engineers. I'm worried there's an equally sharp (and useful) distinction I'm missing here.

  • Comment on Re: Re: What is the difference between a corner case and edge case?

Replies are listed 'Best First'.
Nitpick about Re: Re: What is the difference between a corner case and edge case?
by Louis_Wu (Chaplain) on Jan 13, 2003 at 19:26 UTC
    I offer this nitpick about non-computer issues to the monestary in the interests of academic completeness.
    Within an engineering community, stress and strain have an exact meaning (stress => compression, strain => tension), and people who misuse the terms brand themselves as weenies. Or, at least, non-engineers.

    Non-engineer, definitely. :) Strain can be thought of as a measure of movement, and stress as a measure of force. Your example sounds to me like you're saying "I weigh 17 inches." - nonsense. So here's a mini-tutorial on stress, strain, and the like, because I know you're dying to learn about solid mechanics today.

    Stress is essentially a measure of how much force exists in a unit area of something - a basic expresion is s=p/a (though stress should be written sigma - σ). Stress can be thought of as pressure. Take a pencil, put the point down on your desk, and press on the eraser head - it doesn't hurt. Would it hurt if you had the eraser head on the desk and your palm was pressing against the pencil lead? There is less pencil area for the force of your hand to act on, so the stress is higher. (BTW, if you really want me to, I can explain bending stresses (s=M*c/I) as well.)

    Strain is a measure of the change of length of something - expressed as e=change/length (and e should be written epsilon - ε). If I have a spring which is an inch long, and I compress it, it may change length .5 inches. If I take a spring which is 10 inches long, but otherwise identical, and I compress it, I'll get much more length change than .5 inches. Strain is a ratio measure of length change.

    A reason that lay-people often use the terms interchangably is that the two are related. Hook's law is an empirical relationship which states that stress and strain are directly related : s=e*E (or σ=ε*E for those browsers which support HTML entities). The constant 'E' is Young's Modulus, also called the Modulus of Elasticity; you can think of it as a measure of how much force it takes to compress a spring, the two concepts are very close.

    I don't know what jmcnamara meant when he offered up his example - I'll assume that he knew what stress and strain are. So now you know a little about solid mechanics.


      I don't know what jmcnamara meant when he offered up his example - I'll assume that he knew what stress and strain are.

      Indeed I do. I have a masters degree in Mechanical Engineer. :-)

      That was a very clear explanation of the mechanical concepts. I was referring instead to the vernacular use: "He is under a lot of stress at work, I hope he can take the strain".

      And just to out nit-pick you. Hook's law only applies for elastic materials in their elastic range. And even for elastic materials you can have stress without strain and strain without stress. But let's not get into all of that. ;-)

      --
      John.

        I have a masters degree in Mechanical Engineer.
        What was your specialty in school? What are you doing now?
        • Hook's Law - yeah, I didn't want to explain 'empirical law' or try to describe the stress-strain curve & the various stress states represented.
        • Stress without strain isn't too hard to explain, point to a big bridge and explain the gaps in the roadway. "Thermal expansion", if constrained, leads to stress with no motion.
        • Stain without stress is the opposite side of that coin. Those bridges actually move without any forces being applied to them, they expand as they get warmer.
        But let's not get into all of that.

        I agree, let's not bore anyone with mechanics. ;)

      I'm a lay-person, so I'd like to add one point. Outside of physics and engineering, strain and stress are used to describe how we are feeling or the effect something is having on us. For example "My kids are stressing me out." or "This job is a strain on my marriage." You could argue that in some small way your definition still works, but people are generally describing feelings which do not correspond neatly to engineering concepts. If I say "All of those trucks are putting a lot of strain on that bridge," I would not be thinking about your definition, but rather the more common definition - the bridge is dealing with something difficult and might break. I might say the same about a relationship "All of those long nights at the office are putting a strain on my marriage." Again, talking about dealing with something difficult (long hours) and something that might break (the marriage). I agree that way back when, these definitions came from physics/engineering, but now they are in the public domain and so they've taken on a life all their own. The original definitions are just one definition.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://226447]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found