Antiderivative of a piecewise function
Geogebra doesn't compute the antiderivative for piecewise functions correctly. For different values of the integration constant, the graph of the antiderivative remains wrong yet, according to the 1st Fundamental Theorem of Calculus. The following file contains an example, where g(x) should be the antiderivative of f(x). The values of g(x) should be 0 for x<1 and the ramp should start at (1, 0) and end at (4, 6). Is it a GeoGebra bug?
P.S. The same problem occurs with GeoGebra Classic 5.0.527.0-d (27 February 2019).
OS: Windows 10