News:

  • June 07, 2026, 07:50:54 AM

Login with username, password and session length

Author Topic: XY Curve  (Read 68878 times)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: XY Curve
« Reply #15 on: May 13, 2016, 10:52:26 AM »
LERP's only going to give straight segments hooked together.  MATH can give you the real curve (or several real curves over segmented domains stitched together the same way the LERP approximation does with straight lines).

Math nerds. ::)
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #16 on: May 13, 2016, 10:52:39 AM »
For example...

MATH Y0 "(X0 || X1) && !C42"

is the same as

Code: [Select]
X0    C42        Y0
-] [-+-]/[--------( )
     |
 X1  |
-] [-+


Like I was saying before, in certain scenarios MATH actually IS the best way to do boolean logic, like the 1 box for 32 rungs trade.  Weird, but true.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #17 on: May 13, 2016, 10:54:09 AM »
Math nerds. ::)

Why, thank ya! [tips hat]   ;)
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: XY Curve
« Reply #18 on: May 13, 2016, 10:54:33 AM »
You either have a typo, or you have found an undocumented usage of !.  ;)
Nice catch Mike! ;D
I have a bad habit of holding down SHIFT for 2 keystrokes... It manifests itself in all kinds of strange code. Im really glad for Microsofts auto-complete in Visual Studio, or else my C# code would never work.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: XY Curve
« Reply #19 on: May 13, 2016, 10:56:57 AM »
Why, thank ya! [tips hat]   ;)

Franj is actually a Carnegie-Mellon math major who happens to write software. He does Calculus for funsies. I can spell Calculus correctly 2 times out of 3. If I have spell check.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #20 on: May 13, 2016, 10:59:25 AM »
What's Cal-cool-us?  [Stand and Deliver reference]

What does it say that there are actually math nerd movies and I love them?
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #21 on: May 13, 2016, 11:05:01 AM »
Franj is actually a Carnegie-Mellon math major who happens to write software. He does Calculus for funsies.

Yeah, I'm a [not very well] recovering addict myself.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: XY Curve
« Reply #22 on: May 13, 2016, 11:08:20 AM »
Yeah, I'm a [not very well] recovering addict myself.

Member of the local "Friends of Isaac N" chapter?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #23 on: May 13, 2016, 11:15:30 AM »
I haven't solved an indefinite integral in three days.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: XY Curve
« Reply #24 on: May 13, 2016, 11:28:19 AM »
It wasn't that bad to have Calculus with Physics I, II, III, but I knew I was in the "nerd" group when the MATH major Prob/Stat class ALSO had Calculus.

Engineers at CMU only had to take the "Prob/Stat for Engineers", which did NOT have Calculus.  There were 3 levels of Prob/Stat at CMU:
Prob Stat for Humanities
Prob Stat for Engineers
Prob Stat for Math

Funny, but I don't EVER remember there being
Shakespeare for Math/Engineers
Shakespeare for Humanities
or
World History for Math/Engineers
World History for Humanities

 ;D

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #25 on: May 13, 2016, 12:11:06 PM »
Exactly.  We have to have their stuff or we're not "well rounded", whereas they only have to do the dumbed down version of our stuff.  I guess it's not considered critical whether the artsy-fartsy types are "well rounded" or not!   :D
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: XY Curve
« Reply #26 on: May 13, 2016, 02:05:51 PM »
Mathematics is the language with which God has written the Universe - Galileo

That's all I have to say about that - Forrest Gump (concurred by franji1)

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: XY Curve
« Reply #27 on: May 13, 2016, 02:11:48 PM »
We need a "Like" button.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: XY Curve
« Reply #28 on: May 13, 2016, 02:28:11 PM »
We need a "Like" button.
That would be nice, but PLEASE don't use the forum software that AD uses. I still cannot check for new posts without going through 4 clicks minimum, and you still can't tell for sure if you have checked them all...
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: XY Curve
« Reply #29 on: May 13, 2016, 05:21:59 PM »
My company is lucky they didn't have major math intensive projects. My highest math was high school Algebra and Geometry (though I loved Physics and Chemistry). My degree was a BA in History (not even 'Calculus for Humanities' - though in a Logic class I proved part of our textbook was wrong). I was saved by Electronics training in the Air Force.
An output is a PLC's way of getting its inputs to change.