MATLAB: Solving trigonometrique equation

equation

i' trying to solve an equation gl, here is my gl
((1914395125376111*cos(11*l - 1340942370879007/2251799813685248))/137438953472 + (2526006349762399*cos(6*l + 601216080167739/281474976710656))/68719476736 + (5551008649296113*cos(14*l + 2201186513981901/2251799813685248))/34359738368 + (2703175247662479*cos(l - 2138310215651343/4503599627370496))/274877906944 + (7727193800114081*cos(7*l + 2358821156283979/2251799813685248))/274877906944 + (3005182957015781*cos(8*l + 6550718244076801/4503599627370496))/549755813888 + (2798282009780949*cos(13*l + 2422000669225141/1125899906842624))/274877906944 + (4381498846626241*cos(2*l - 2760676364039603/4503599627370496))/68719476736 + (5195596330089955*cos(9*l - 955407310784827/1125899906842624))/4398046511104 + (4283832231480287*cos(12*l + 1328975301242451/2251799813685248))/274877906944 + (319058507991827*cos(3*l - 2386323336519813/1125899906842624))/17179869184 + (8565880236954101*cos(4*l - 7976661568215245/4503599627370496))/549755813888 + (7032466615413815*cos(5*l - 90504710205909/35184372088832))/137438953472 + (7875184432683961*cos(10*l - 8852985541510177/4503599627370496))/549755813888 + (869283699842899*cos(17*l - 3721741038118125/72057594037927936))/33554432 + (5967817131778667*cos(16*l + 6037948451057291/4503599627370496))/4294967296 + (4156444311081259*cos(15*l - 3974306900975167/4503599627370496))/34359738368)*((5967817131778667*sin(16*l + 6037948451057291/4503599627370496))/68719476736 + (1108385149621669*sin(15*l - 3974306900975167/4503599627370496))/137438953472 + (1392287363909899*sin(11*l - 1340942370879007/2251799813685248))/1099511627776 + (3368008466349865*sin(6*l + 601216080167739/281474976710656))/549755813888 + (6344009884909843*sin(14*l + 2201186513981901/2251799813685248))/549755813888 + (2703175247662479*sin(l - 2138310215651343/4503599627370496))/274877906944 + (8831078628701807*sin(7*l + 2358821156283979/2251799813685248))/2199023255552 + (3005182957015781*sin(8*l + 6550718244076801/4503599627370496))/4398046511104 + (6888078793306951*sin(13*l + 2422000669225141/1125899906842624))/8796093022208 + (4381498846626241*sin(2*l - 2760676364039603/4503599627370496))/137438953472 + (4618307848968849*sin(9*l - 955407310784827/1125899906842624))/35184372088832 + (5711776308640383*sin(12*l + 1328975301242451/2251799813685248))/4398046511104 + (3403290751912821*sin(3*l - 2386323336519813/1125899906842624))/549755813888 + (8565880236954101*sin(4*l - 7976661568215245/4503599627370496))/2199023255552 + (1406493323082763*sin(5*l - 90504710205909/35184372088832))/137438953472 + (6300147546147169*sin(10*l - 8852985541510177/4503599627370496))/4398046511104 + (6545194916464181*sin(17*l - 3721741038118125/72057594037927936))/4294967296) - ((5967817131778667*sin(16*l + 6037948451057291/4503599627370496))/4294967296 + (4156444311081259*sin(15*l - 3974306900975167/4503599627370496))/34359738368 + (1914395125376111*sin(11*l - 1340942370879007/2251799813685248))/137438953472 + (2526006349762399*sin(6*l + 601216080167739/281474976710656))/68719476736 + (5551008649296113*sin(14*l + 2201186513981901/2251799813685248))/34359738368 + (2703175247662479*sin(l - 2138310215651343/4503599627370496))/274877906944 + (7727193800114081*sin(7*l + 2358821156283979/2251799813685248))/274877906944 + (3005182957015781*sin(8*l + 6550718244076801/4503599627370496))/549755813888 + (2798282009780949*sin(13*l + 2422000669225141/1125899906842624))/274877906944 + (4381498846626241*sin(2*l - 2760676364039603/4503599627370496))/68719476736 + (5195596330089955*sin(9*l - 955407310784827/1125899906842624))/4398046511104 + (4283832231480287*sin(12*l + 1328975301242451/2251799813685248))/274877906944 + (319058507991827*sin(3*l - 2386323336519813/1125899906842624))/17179869184 + (8565880236954101*sin(4*l - 7976661568215245/4503599627370496))/549755813888 + (7032466615413815*sin(5*l - 90504710205909/35184372088832))/137438953472 + (7875184432683961*sin(10*l - 8852985541510177/4503599627370496))/549755813888 + (869283699842899*sin(17*l - 3721741038118125/72057594037927936))/33554432)*((1392287363909899*cos(11*l - 1340942370879007/2251799813685248))/1099511627776 + (3368008466349865*cos(6*l + 601216080167739/281474976710656))/549755813888 + (6344009884909843*cos(14*l + 2201186513981901/2251799813685248))/549755813888 + (2703175247662479*cos(l - 2138310215651343/4503599627370496))/274877906944 + (8831078628701807*cos(7*l + 2358821156283979/2251799813685248))/2199023255552 + (3005182957015781*cos(8*l + 6550718244076801/4503599627370496))/4398046511104 + (6888078793306951*cos(13*l + 2422000669225141/1125899906842624))/8796093022208 + (4381498846626241*cos(2*l - 2760676364039603/4503599627370496))/137438953472 + (4618307848968849*cos(9*l - 955407310784827/1125899906842624))/35184372088832 + (5711776308640383*cos(12*l + 1328975301242451/2251799813685248))/4398046511104 + (3403290751912821*cos(3*l - 2386323336519813/1125899906842624))/549755813888 + (8565880236954101*cos(4*l - 7976661568215245/4503599627370496))/2199023255552 + (1406493323082763*cos(5*l - 90504710205909/35184372088832))/137438953472 + (6300147546147169*cos(10*l - 8852985541510177/4503599627370496))/4398046511104 + (6545194916464181*cos(17*l - 3721741038118125/72057594037927936))/4294967296 + (5967817131778667*cos(16*l + 6037948451057291/4503599627370496))/68719476736 + (1108385149621669*cos(15*l - 3974306900975167/4503599627370496))/137438953472).
i try solve(gl == 0,l) but matlab show me an error 'Memory out of range'. i think i should format my equation but i don't how (matlab show me my equation in form (a/b) but didn't calculate it. any help would be appreciate . Thank you Lafi

Best Answer

  • You will never get an analytical result here.
    vpasolve(g1)
    ans =
    -0.04489097131344154920928045475445