Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Please help with simplfying a floor/ceiling function

  1. Apr 20, 2004 #1
    note; This is NOT a homework assignment please help me because i need to know this properly for a test i have tomorrow

    Given is a question Floor[ Ceiling [x-1/2] - 7/5 ] and they ask to graph it.

    i'm fine with graphing it but simplfying this i what i'm a bit confused on

    my first step was Floor [ Ceiling [ x ] - 1/2 - 7/5 ] and theres a mistake in the way i removed the 1/2 why?

    please help
  2. jcsd
  3. Apr 20, 2004 #2

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    because floor{x-y] does not equal floor[x] - y for a start? floor is not linear like that. replace the word lfoor there with ceiling.

    simplify it? ok, ceiling is an integer valued function, so if i take off 7/5 from an integer and then take the floor of that, that's the same as taking off the other 3/5 isn't it? so it simplifies to ceiling[x-1/2] - 2
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Please help with simplfying a floor/ceiling function