2

I want to have a close look on 1/2x+1/2*Cantor function,the website told me I can use CantorStaircase to draw it,but when I use it,Wolframalpha just always told me that they can't interpret.What should I do?

1 Answers1

5

It's working just fine,

f[x_] := 1/2 x + 1/2*CantorStaircase[x]

Plot[f[x], {x, 0, 1}]

enter image description here

Henrik Schumacher
  • 106,770
  • 7
  • 179
  • 309
zhk
  • 11,939
  • 1
  • 22
  • 38