2
$\begingroup$

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?

$\endgroup$
  • $\begingroup$ Show us the code you used. $\endgroup$ – MarcoB Apr 15 '18 at 14:38
  • 1
    $\begingroup$ So, are you asking about Mathematica or WolframAlpha? If the latter, it's off topic here. $\endgroup$ – corey979 Apr 15 '18 at 15:54
5
$\begingroup$

It's working just fine,

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

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

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.