Page 7 of 7 FirstFirst ... 567
Results 91 to 99 of 99

Thread: Math problem I'm too stupid to solve

  1. #91
    Join Date
    25th December 2003 - 20:57
    Bike
    None
    Location
    NZ
    Posts
    2,271

    -Indy
    Hey, kids! Captain Hero here with Getting Laid Tip 213 - The Backrub Buddy!

    Find a chick who’s just been dumped and comfort her by massaging her shoulders, and soon, she’ll be massaging your prostate.


  2. #92
    Join Date
    7th April 2009 - 19:32
    Bike
    VFR400 NC30 "Silver Surfer"
    Location
    Mt Eden, Auckland
    Posts
    959
    Quote Originally Posted by Indiana_Jones View Post
    -Indy
    Quit loitering, you're making the place look untidy!

  3. #93
    Join Date
    16th September 2004 - 16:48
    Bike
    PopTart Katoona
    Location
    CT, USA
    Posts
    6,542
    Blog Entries
    1
    Quote Originally Posted by jono035 View Post
    2) use the highest signal levels possible. There is a reason most of the analogue SCADA stuff is done 0-10V
    Ha i wish.
    4-20mA seems to be common, as does 0-10v then there is PT100 and a few hundred others.
    Then you have to chop and change them through the 100's of stupid protocols.

    Make the IT world seem like a piece of piss after the BS in SCADA.
    Reactor Online. Sensors Online. Weapons Online. All Systems Nominal.

  4. #94
    Join Date
    11th September 2007 - 14:15
    Bike
    Triumph America 2004
    Location
    Auckland
    Posts
    176
    Quote Originally Posted by Winter View Post
    Mind block or something, help me out here.


    range one = 0 to 65,536
    range two = -150 to +150
    value in range one (35325) = what value in range two?


    Steps needed to work this out? they told me I needed pay attention in maths if I wanted to work in computers... I didn't believe them :S
    I'm useless at maths and I run your internets

    Take that any way you wish
    I'm back on KB, goodbye to any chance of a productive work day...

  5. #95
    Join Date
    29th January 2007 - 13:48
    Bike
    A Hazard!
    Location
    Bideford
    Posts
    603
    Blog Entries
    1
    Quote Originally Posted by DMCD View Post
    I'm useless at maths and I run your internets

    Take that any way you wish
    HAHA...I've taken it the wrong way....LOL
    Your picture's in my wallet and I'm sitting on it. And if that isn't love, I don't know what is

  6. #96
    Join Date
    7th April 2009 - 19:32
    Bike
    VFR400 NC30 "Silver Surfer"
    Location
    Mt Eden, Auckland
    Posts
    959
    Quote Originally Posted by avgas View Post
    Ha i wish.
    4-20mA seems to be common, as does 0-10v then there is PT100 and a few hundred others.
    Then you have to chop and change them through the 100's of stupid protocols.

    Make the IT world seem like a piece of piss after the BS in SCADA.
    4-20mA is really good for longer runs because it is a low impedance signal therefore is relatively immune to most noise sources. Being able to take power from the comms loop is also pretty useful, makes it much easier to have isolated comms or self-powered sensors. It also inherently provides fault detection (current less than 4mA = fault).
    The downside is that everything is much more expensive with it and you really have to run everything as balanced loops rather than a bunch of single ended signals and a ground (for slow stuff). You also have to be quite careful when it comes to cable resistance or it can be easy to run into signal clipping issues.

  7. #97
    Join Date
    3rd March 2004 - 22:43
    Bike
    Guzzi
    Location
    In Paradise
    Posts
    2,490
    Quote Originally Posted by jrandom View Post
    First range would make more sense if it was 0 to 65535 (FFFF hex), ie, 65536 distinct values. I'd assume that that's just an error in the form of the question.

    Assuming you have no other information than that brain-dead question form, presumably written by someone who was too stupid to get a real job and has therefore ended up teaching, I'd expect that you're supposed to be using an unsigned 16-bit number to represent a range of -150 to 150 decimal.

    Which means that you divide 301 decimal (the number of values in your represented range) by 65536 decimal (the number of values in your 16-bit integer) and then multiply the result by 35325 and add the result to your minimum value.

    In other words, 12.24.

    But, really, I wouldn't have a clue what I'm on about here. Pay no attention to anything I write.

    (Edited 302 to 301. See, I told you I had no clue. And edited the result to be added to -150, etc. This whole thread is stupid.)

    Well it looks good.

    Skyryder
    Free Scott Watson.

  8. #98
    Join Date
    7th April 2009 - 19:32
    Bike
    VFR400 NC30 "Silver Surfer"
    Location
    Mt Eden, Auckland
    Posts
    959
    Quote Originally Posted by Skyryder View Post
    Well it looks good.

    Skyryder
    Yeah, looks good but unfortunately is wrong

    You have to divide by 300, it isn't integer mathematics...

  9. #99
    Join Date
    2nd January 2009 - 19:08
    Bike
    Bikeless.NNnnnooooooooo!
    Location
    PhuBia PDR Laos
    Posts
    1,638
    Blog Entries
    10
    Quote Originally Posted by Winter View Post
    Mind block or something, help me out here.


    range one = 0 to 65,536
    range two = -150 to +150
    value in range one (35325) = what value in range two?


    Steps needed to work this out? they told me I needed pay attention in maths if I wanted to work in computers... I didn't believe them :S
    35325/65536=0.5390167

    150 - (-150) or 150 + 150 = 300

    0.5390167 x 300 = 161.70501

    161.70501 - 150 = 11.70501

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •