| 1 | initial version |
It is, i think, the following function f...
def g(x): return abs( 2*RR( abs(x)/2 ).frac() - 1 )
def f(x): return pi * g(x/pi)
In a picture...
plot( g, -3, 3, aspect_ratio=1 )
plot( f, -3*pi, 3*pi, aspect_ratio=1 )
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.