f(x) = If[1 ≤ x ≤ 2, (6 * (1 / 4 - (x - 1.5)^(2))), 0]
a = Integral(f, 1, 2)
piirto1: PolyLine[(1.2961E0,1.2231E0), (1.3000E0,1.2014E0), (1.3010E0,1.1617E0), (1.3030E0,1.1111E0), (1.3039E0,9.1244E-1), (1.3030E0,8.3658E-1), (1.3000E0,8.0406E-1), (1.2991E0,7.6433E-1), (1.2981E0,7.2459E-1), (1.2961E0,6.9569E-1), (1.2961E0,6.6679E-1), (1.2952E0,6.2705E-1), (1.2942E0,5.4397E-1), (1.2922E0,4.1392E-1), (1.2932E0,3.4529E-1), (1.2961E0,3.0555E-1), (1.2961E0,2.6943E-1), (1.2981E0,2.4053E-1), (1.2981E0,8.8805E-2), (1.2981E0,2.3781E-2), (1.3000E0,4.5456E-2), (NaN,NaN), (1.2981E0,2.1885E-1), (1.3088E0,2.0801E-1), (1.3176E0,1.8273E-1), (1.3284E0,1.5744E-1), (1.3391E0,1.3215E-1), (1.3518E0,1.1409E-1), (1.3635E0,9.2417E-2), (1.3753E0,6.7130E-2), (1.3889E0,4.9068E-2), (1.4007E0,2.7394E-2), (1.4094E0,2.1067E-3), (1.4114E0,3.1006E-2), (NaN,NaN), (1.3000E0,6.5234E-1), (1.3059E0,6.4512E-1), (1.3196E0,6.1622E-1), (1.3401E0,5.6926E-1), (1.3586E0,5.3674E-1), (1.3782E0,5.0785E-1), (1.3860E0,4.8617E-1), (1.3997E0,4.6450E-1), (1.4094E0,4.5727E-1), (1.4192E0,4.3560E-1), (1.4348E0,4.0670E-1), (1.4505E0,3.7057E-1), (1.4602E0,3.5612E-1), (1.4720E0,3.2722E-1), (1.4856E0,3.1277E-1), (1.5052E0,2.7665E-1), (1.5228E0,2.4053E-1), (1.5413E0,2.0801E-1), (1.5540E0,1.8995E-1), (1.5677E0,1.6828E-1), (1.5882E0,1.2854E-1), (1.5970E0,1.0325E-1), (1.6087E0,8.1580E-2), (1.6253E0,5.6293E-2), (1.6380E0,3.1006E-2), (1.6517E0,2.1067E-3), (1.6644E0,-1.2343E-2), (1.6732E0,-2.6793E-2), (NaN,NaN), (1.3118E0,9.7023E-1), (1.3245E0,9.5940E-1), (1.3352E0,9.3411E-1), (1.3450E0,9.1966E-1), (1.3626E0,9.0521E-1), (1.3997E0,8.4741E-1), (1.4446E0,7.6794E-1), (1.4720E0,7.1737E-1), (1.4915E0,6.7402E-1), (1.5169E0,6.3789E-1), (1.5423E0,5.9454E-1), (1.5638E0,5.4397E-1), (1.6146E0,4.6450E-1), (1.6380E0,4.2115E-1), (1.6537E0,3.8502E-1), (1.6673E0,3.6335E-1), (1.6820E0,3.4529E-1), (1.6967E0,3.2000E-1), (1.7103E0,2.9832E-1), (1.7181E0,2.8388E-1), (1.7260E0,2.6943E-1), (1.7455E0,2.3691E-1), (1.7592E0,2.1163E-1), (1.7689E0,1.8995E-1), (1.7846E0,1.6105E-1), (1.7963E0,1.3938E-1), (1.8080E0,1.2493E-1), (1.8178E0,1.0325E-1), (1.8295E0,8.1580E-2), (1.8422E0,6.3518E-2), (1.8627E0,1.6556E-2), (1.8735E0,-1.5057E-3), (1.8686E0,3.1006E-2), (NaN,NaN), (1.3176E0,1.1436E0), (1.3235E0,1.1364E0), (1.3411E0,1.1147E0), (1.3684E0,1.0858E0), (1.3899E0,1.0569E0), (1.4114E0,1.0497E0), (1.4258E0,1.0404E0), (1.4433E0,1.0281E0), (1.4618E0,1.0147E0), (1.4793E0,1.0020E0), (1.4935E0,9.9191E-1), (1.5169E0,9.7746E-1), (1.5462E0,9.4856E-1), (1.5638E0,9.2689E-1), (1.6107E0,8.6186E-1), (1.6351E0,8.2574E-1), (1.6498E0,7.9684E-1), (1.6986E0,7.2459E-1), (1.7201E0,6.8847E-1), (1.7377E0,6.5957E-1), (1.7474E0,6.4512E-1), (1.7572E0,6.2344E-1), (1.7670E0,6.0177E-1), (1.7885E0,5.7287E-1), (1.8051E0,5.4397E-1), (1.8197E0,5.1146E-1), (1.8432E0,4.7895E-1), (1.8617E0,4.4643E-1), (1.8744E0,4.1392E-1), (1.8871E0,3.8141E-1), (1.8998E0,3.4890E-1), (1.9096E0,3.2000E-1), (1.9291E0,2.7665E-1), (1.9418E0,2.5859E-1), (1.9350E0,2.9832E-1), (1.9272E0,3.1277E-1), (NaN,NaN), (1.3801E0,1.4037E0), (1.3928E0,1.4001E0), (1.4104E0,1.3857E0), (1.4212E0,1.3821E0), (1.4329E0,1.3821E0), (1.4446E0,1.3748E0), (1.4681E0,1.3532E0), (1.4896E0,1.3387E0), (1.5462E0,1.3026E0), (1.5706E0,1.2845E0), (1.5794E0,1.2665E0), (1.5941E0,1.2520E0), (1.6107E0,1.2376E0), (1.6224E0,1.2231E0), (1.6322E0,1.2014E0), (1.6439E0,1.1870E0), (1.6595E0,1.1653E0), (1.6673E0,1.1509E0), (1.6752E0,1.1364E0), (1.6879E0,1.1220E0), (1.7006E0,1.1075E0), (1.7142E0,1.0931E0), (1.7299E0,1.0714E0), (1.7455E0,1.0497E0), (1.7592E0,1.0280E0), (NaN,NaN), true]
teksti1 = LaTeX(f, true, true)
b = Integral(f, 1.3, 2)