How Do You Graph the Function f(x) = x - [[x]]?

  • Context: High School 
  • Thread starter Thread starter brhum
  • Start date Start date
  • Tags Tags
    Graph
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
brhum
Messages
1
Reaction score
0
How do you graph f(x) = x - [[x]]
 
Physics news on Phys.org
Well that will depend upon what "[[x]]" means! If it is the "floor" function, you should be able to calculate a few values at, say 0.5, 0.7, 0.9, 1.2, 1.4, 1.7, 2.5. 2.7, 2.9 and see for your self.
 
brhum said:
How do you graph f(x) = x - [[x]]

Do you see that [[x]] is same as [x]? Plotting f(x) should be trivial once you notice that.

(assuming [x] denotes the floor function)