El profesor se sorprenderá mucho al ver tu solución correcta😉
sin(x) - cos(x) = sin(x)*cos(x) - 1
suma
-pi ---- 2
=
-pi ---- 2
producto
-pi 0*---- 2
=
0
0
x1 = 61.2610560135899
x2 = 12.566370533874
x3 = -58.1194646457881
x4 = -62.8318524095045
x5 = 25.1327419136169
x6 = -45.5530932572002
x7 = 29.8451295891186
x8 = 80.1106129178143
x9 = -95.8185758767507
x10 = -20.4203530608003
x11 = -43.9822971734361
x12 = 29.8451302893131
x13 = 36.128315625042
x14 = -64.4026493724979
x15 = -69.1150375737657
x16 = 50.2654824466409
x17 = -70.6858354628987
x18 = 73.8274267116444
x19 = -18.8495552478121
x20 = -56.5486673107702
x21 = -7.85398153747495
x22 = -75.3982228790968
x23 = 36.1283157569992
x24 = 56.5486685440599
x25 = -75.3982237548528
x26 = 12.56637055198
x27 = 0.0
x28 = 31.4159270176119
x29 = 12.5663714044132
x30 = -100.530964475063
x31 = -31.4159266116304
x32 = -1.57079628696689
x33 = -20.4203522519909
x34 = 75.3982241816808
x35 = 86.3937965285887
x36 = 18.8495567368657
x37 = 43.9822971701757
x38 = -81.6814085611621
x39 = -94.2477793945563
x40 = -39.2699085257577
x41 = 23.561944852513
x42 = 17.2787588543598
x43 = -31.4159257366739
x44 = 100.53096482977
x45 = 69.1150390747687
x46 = 98.9601680532554
x47 = 23.5619440880554
x48 = -64.4026492363396
x49 = 94.247779801954
x50 = -83.2522056899827
x51 = -50.265482230238
x52 = -76.9690205997163
x53 = -81.6814090332292
x54 = -89.5353904226499
x55 = 62.83185389134
x56 = -1.57079645372352
x57 = 42.4115003907531
x58 = 67.5442419287291
x59 = -7.85398153304084
x60 = -51.8362787068688
x61 = -25.1327404181779
x62 = -12.5663701465418
x63 = 92.6769829667986
x64 = 48.694685802642
x65 = 80.1106128990558
x66 = -95.8185750622391
x67 = 94.247779609359
x68 = 50.2654827189292
x69 = 4.71238863845357
x70 = 54.9778708897927
x71 = -26.7035383044763
x72 = 86.3937978720351
x73 = -64.402650208681
x74 = 37.6991120984757
x75 = -6.28318506589477
x76 = -58.1194640202663
x77 = 10.9955737264682
x78 = 1093.27424250837
x79 = 94.2477793871032
x80 = 42.4115007092014
x81 = -37.699111462662
x82 = -89.5353907798707
x83 = -14.1371668650747
x84 = 6.28318528550506
x85 = 56.5486676811266
x86 = -87.9645943524975
x87 = -14.1371675301292
x88 = -45.5530936167463
x89 = 73.8274274429507
x90 = 67.5442412378265
x91 = -32.9867234367057
x92 = 81.6814092628738
x93 = 666.017643509464
x94 = -37.6991118743796
x95 = 87.964594338336
x96 = 6.28318563074868
x96 = 6.28318563074868