The teacher will be very surprised to see your correct solution 😉
2 2*sin (x) - 5*sin(x) - 7 = 0
a*w^2 + b*w + c = 0
D = b^2 - 4 * a * c =
(-5)^2 - 4 * (2) * (-7) = 81
w1 = (-b + sqrt(D)) / (2*a)
w2 = (-b - sqrt(D)) / (2*a)
-pi x1 = ---- 2
3*pi x2 = ---- 2
x3 = pi - re(asin(7/2)) - I*im(asin(7/2))
x4 = I*im(asin(7/2)) + re(asin(7/2))
x4 = re(asin(7/2)) + i*im(asin(7/2))
sum
pi 3*pi - -- + ---- + pi - re(asin(7/2)) - I*im(asin(7/2)) + I*im(asin(7/2)) + re(asin(7/2)) 2 2
=
2*pi
product
-pi 3*pi ----*----*(pi - re(asin(7/2)) - I*im(asin(7/2)))*(I*im(asin(7/2)) + re(asin(7/2))) 2 2
=
2 3*pi *(I*im(asin(7/2)) + re(asin(7/2)))*(-pi + I*im(asin(7/2)) + re(asin(7/2))) ------------------------------------------------------------------------------- 4
3*pi^2*(i*im(asin(7/2)) + re(asin(7/2)))*(-pi + i*im(asin(7/2)) + re(asin(7/2)))/4
x1 = 98.9601682849072
x2 = -20.4203520172217
x3 = 4.71238875390585
x4 = -7.85398195102053
x5 = -83.2522050097403
x6 = 48.694685910795
x7 = -45.5530935898961
x8 = 36.1283157068514
x9 = -76.969019662615
x10 = 80.1106124827858
x11 = -64.402649662953
x12 = 48.6946864186186
x13 = 54.977871788106
x14 = -45900.2394649692
x15 = 86.3937978954211
x16 = -14.1371668462941
x17 = -58.1194639984133
x18 = 42.4115007866243
x19 = 29.8451303219183
x20 = 67.5442417600206
x21 = 86.3937978875539
x22 = -7.85398161800994
x23 = -1.57079632591833
x24 = 17.2787599147175
x25 = 23.5619451395792
x26 = -64.402649174177
x27 = -51.8362786895144
x28 = -14.137166838045
x29 = 10.9955746381689
x30 = -83.2522055594468
x31 = 10.9955739762081
x32 = 80.1106131397298
x33 = -7.85398149749143
x34 = -95.818575868085
x35 = -26.7035372393486
x36 = -89.5353907487017
x37 = -32.9867225120752
x38 = 61.2610570685864
x39 = -89.5353905609898
x40 = -2426.88032454877
x41 = -39.2699078662147
x42 = -39.2699084028422
x43 = -45.5530934418906
x44 = 29.845130261015
x45 = -32.9867231778458
x46 = 42.4115007282171
x47 = -7.85398202878013
x48 = 4.71238927659118
x49 = 61.2610564009947
x50 = -76.9690203316961
x51 = 98.9601689377237
x52 = -58.1194639494126
x53 = 23.5619446181122
x54 = -1.57079643092736
x55 = -1.57079615085824
x56 = 17.2787592507351
x57 = -70.6858350487702
x58 = 36.128316008479
x59 = -70.6858343936081
x60 = -20.4203525229045
x61 = 92.6769835598018
x62 = 92.6769830678231
x63 = 67.5442422962251
x64 = -26.7035378991915
x65 = 73.8274274815403
x66 = 54.9778711304608
x67 = 73.827427372192
x67 = 73.827427372192