f(x) = If[x < 2, 3 - x, (0.5 * x^(2))]
teksti1 = LaTeX(f, true, true)
A = Point(f)
A_1: (0, y(A))
u = Vector(A, A_1)
piirto1: PolyLine[(2.3680E0,2.9758E-1), (2.3411E0,3.5050E-1), (2.3007E0,3.6815E-1), (2.2470E0,4.0343E-1), (2.0588E0,4.0343E-1), (1.8840E0,4.0343E-1), (1.8034E0,3.8579E-1), (1.7496E0,3.6815E-1), (1.6824E0,3.6815E-1), (1.6421E0,3.5050E-1), (1.5883E0,3.1522E-1), (1.5211E0,2.7994E-1), (1.4807E0,2.2701E-1), (1.4673E0,1.5644E-1), (1.4673E0,-9.0556E-2), (1.4673E0,-2.8462E-1), (1.4807E0,-3.9048E-1), (1.5076E0,-4.9633E-1), (1.5345E0,-5.4926E-1), (1.5480E0,-6.0219E-1), (1.5883E0,-6.3747E-1), (1.6421E0,-6.7276E-1), (1.6824E0,-6.9040E-1), (1.8840E0,-6.9040E-1), (2.0185E0,-6.9040E-1), (2.0857E0,-6.7276E-1), (2.1663E0,-6.1983E-1), (2.2604E0,-5.6690E-1), (2.3142E0,-5.1397E-1), (2.3276E0,-4.6105E-1), (2.3680E0,-3.9048E-1), (2.3948E0,-3.0227E-1), (2.4217E0,-1.9641E-1), (2.4755E0,-7.2914E-2), (2.5024E0,3.2941E-2), (2.5024E0,1.0351E-1), (2.5024E0,1.9172E-1), (2.4889E0,2.7994E-1), (2.4217E0,3.1522E-1), (2.3545E0,3.5050E-1), (2.1932E0,3.5050E-1), (2.0857E0,3.5050E-1), (�,�), (-5.0255E0,2.2701E-1), (-4.9717E0,2.2701E-1), (-4.8911E0,2.2701E-1), (-4.8104E0,2.0937E-1), (-4.7701E0,1.9172E-1), (-4.6491E0,1.7408E-1), (-4.0845E0,1.7408E-1), (-3.4930E0,1.7408E-1), (-3.1839E0,1.7408E-1), (-3.0629E0,1.7408E-1), (-2.9822E0,1.5644E-1), (-2.8881E0,1.5644E-1), (-2.8343E0,1.3880E-1), (-2.7940E0,1.2115E-1), (-2.1219E0,1.2115E-1), (-1.5573E0,1.2115E-1), (-9.2549E-1,1.2115E-1), (-2.6680E-1,1.2115E-1), (3.2468E-1,1.2115E-1), (4.5911E-1,1.2115E-1), (1.1044E0,1.3880E-1), (1.4270E0,1.3880E-1), (1.5480E0,1.3880E-1), (1.4942E0,2.2701E-1), (1.4539E0,2.6229E-1), (1.1985E0,4.0343E-1), (1.0640E0,4.9164E-1), (9.8337E-1,5.2693E-1), (9.1616E-1,5.4457E-1), (9.8337E-1,5.7986E-1), (1.0237E0,5.6221E-1), (1.0640E0,5.4457E-1), (1.1312E0,5.2693E-1), (1.1716E0,4.9164E-1), (1.2522E0,4.5636E-1), (1.3194E0,4.2107E-1), (1.3598E0,3.8579E-1), (1.4539E0,2.7994E-1), (1.5211E0,1.7408E-1), (1.5480E0,1.2115E-1), (1.5883E0,8.5868E-2), (1.6286E0,5.0583E-2), (1.2657E0,5.0583E-2), (1.1581E0,5.0583E-2), (1.1178E0,3.2941E-2), (1.0506E0,1.5298E-2), (1.0909E0,-2.3440E-3), (1.1716E0,1.5298E-2), (1.2522E0,3.2941E-2), (1.3329E0,3.2941E-2), (1.4807E0,5.0583E-2), (1.5748E0,5.0583E-2), (1.5480E0,-2.3440E-3), (1.4404E0,-1.6113E-1), (1.3463E0,-3.1991E-1), (1.2791E0,-3.7284E-1), (1.2253E0,-4.9633E-1), (1.1850E0,-5.3162E-1), (1.1312E0,-6.1983E-1), (1.1044E0,-6.9040E-1), (�,�), true]