Mister Exam

Other calculators


cos2x+5sinx+2=0

cos2x+5sinx+2=0 equation

The teacher will be very surprised to see your correct solution 😉

v

Numerical solution:

Do search numerical solution at [, ]

The solution

You have entered [src]
cos(2*x) + 5*sin(x) + 2 = 0
$$\left(5 \sin{\left(x \right)} + \cos{\left(2 x \right)}\right) + 2 = 0$$
Detail solution
Given the equation
$$\left(5 \sin{\left(x \right)} + \cos{\left(2 x \right)}\right) + 2 = 0$$
transform
$$5 \sin{\left(x \right)} + \cos{\left(2 x \right)} + 2 = 0$$
$$- 2 \sin^{2}{\left(x \right)} + 5 \sin{\left(x \right)} + 3 = 0$$
Do replacement
$$w = \sin{\left(x \right)}$$
This equation is of the form
a*w^2 + b*w + c = 0

A quadratic equation can be solved
using the discriminant.
The roots of the quadratic equation:
$$w_{1} = \frac{\sqrt{D} - b}{2 a}$$
$$w_{2} = \frac{- \sqrt{D} - b}{2 a}$$
where D = b^2 - 4*a*c - it is the discriminant.
Because
$$a = -2$$
$$b = 5$$
$$c = 3$$
, then
D = b^2 - 4 * a * c = 

(5)^2 - 4 * (-2) * (3) = 49

Because D > 0, then the equation has two roots.
w1 = (-b + sqrt(D)) / (2*a)

w2 = (-b - sqrt(D)) / (2*a)

or
$$w_{1} = - \frac{1}{2}$$
$$w_{2} = 3$$
do backward replacement
$$\sin{\left(x \right)} = w$$
Given the equation
$$\sin{\left(x \right)} = w$$
- this is the simplest trigonometric equation
This equation is transformed to
$$x = 2 \pi n + \operatorname{asin}{\left(w \right)}$$
$$x = 2 \pi n - \operatorname{asin}{\left(w \right)} + \pi$$
Or
$$x = 2 \pi n + \operatorname{asin}{\left(w \right)}$$
$$x = 2 \pi n - \operatorname{asin}{\left(w \right)} + \pi$$
, where n - is a integer
substitute w:
$$x_{1} = 2 \pi n + \operatorname{asin}{\left(w_{1} \right)}$$
$$x_{1} = 2 \pi n + \operatorname{asin}{\left(- \frac{1}{2} \right)}$$
$$x_{1} = 2 \pi n - \frac{\pi}{6}$$
$$x_{2} = 2 \pi n + \operatorname{asin}{\left(w_{2} \right)}$$
$$x_{2} = 2 \pi n + \operatorname{asin}{\left(3 \right)}$$
$$x_{2} = 2 \pi n + \operatorname{asin}{\left(3 \right)}$$
$$x_{3} = 2 \pi n - \operatorname{asin}{\left(w_{1} \right)} + \pi$$
$$x_{3} = 2 \pi n - \operatorname{asin}{\left(- \frac{1}{2} \right)} + \pi$$
$$x_{3} = 2 \pi n + \frac{7 \pi}{6}$$
$$x_{4} = 2 \pi n - \operatorname{asin}{\left(w_{2} \right)} + \pi$$
$$x_{4} = 2 \pi n + \pi - \operatorname{asin}{\left(3 \right)}$$
$$x_{4} = 2 \pi n + \pi - \operatorname{asin}{\left(3 \right)}$$
The graph
Sum and product of roots [src]
sum
0
$$0$$
=
0
$$0$$
product
1
$$1$$
=
1
$$1$$
1
Numerical answer [src]
x1 = -21.4675497995303
x2 = -65.4498469497874
x3 = 87.4409955249159
x4 = -46.6002910282486
x5 = 112.573736753634
x6 = 93.7241808320955
x7 = 30.8923277602996
x8 = -2.61799387799149
x9 = -38.2227106186758
x10 = 22.5147473507269
x11 = -88.4881930761125
x12 = 791.15774992903
x13 = -96.8657734856853
x14 = 43.4586983746588
x15 = -101.054563690472
x16 = -19.3731546971371
x17 = -15.1843644923507
x18 = -34.0339204138894
x19 = 56.025068989018
x20 = 72.7802298081635
x21 = 3.66519142918809
x22 = 62.3082542961976
x23 = -71.733032256967
x24 = 110.479341651241
x25 = -45867.7763411866
x26 = -40.317105721069
x27 = -25.6563400043166
x28 = -90.5825881785057
x29 = 47.6474885794452
x30 = 28.7979326579064
x31 = -0.523598775598299
x32 = -8.90117918517108
x33 = -239.284640448423
x34 = -13.0899693899575
x35 = -78.0162175641465
x36 = -57.0722665402146
x37 = 97.9129710368819
x38 = -52.8834763354282
x39 = -50.789081233035
x40 = -59.1666616426078
x41 = -31.9395253114962
x42 = 49.7418836818384
x43 = 18.3259571459405
x44 = 81.1578102177363
x45 = 24.60914245312
x46 = 9.94837673636768
x47 = 68.5914396033772
x48 = -69.6386371545737
x49 = 53.9306738866248
x50 = -643.502895210309
x51 = 74.8746249105567
x52 = 79.0634151153431
x53 = -63.3554518473942
x54 = -6.80678408277789
x55 = 35.081117965086
x56 = 41.3643032722656
x57 = -75.9218224617533
x58 = 12.0427718387609
x59 = 16.2315620435473
x60 = -82.2050077689329
x61 = -27.7507351067098
x62 = 91.6297857297023
x63 = 60.2138591938044
x64 = 5.75958653158129
x65 = -44.5058959258554
x66 = 37.1755130674792
x67 = 100.007366139275
x68 = 85.3466004225227
x69 = 66.497044500984
x70 = -94.7713783832921
x71 = -84.2994028713261
x71 = -84.2994028713261
The graph
cos2x+5sinx+2=0 equation