Clear Filters
Clear Filters

how to solve this equation?

1 view (last 30 days)
Gagan Bansal
Gagan Bansal on 6 Mar 2019
Answered: Star Strider on 6 Mar 2019
Hello
i have this equation:
x=((10/11)^5.5)*((1+0.1*m^2)^5.5)/m
I want to calculate the values of 'm' by putting values of 'x' from 1 to 60 with interval of .01 and then store all the values of m in a matrix array.

Answers (1)

Star Strider
Star Strider on 6 Mar 2019
Are you absolutely certain you want to do this?
This code:
syms m x
Eqn = x == ((10/11)^5.5)*((1+0.1*m^2)^5.5)/m;
[sm,parms,cndx] = solve(Eqn, m, 'ReturnConditions',true);
that because of the fractional exponent, produces a 22-degree polynomial:
vpasm =
-3.1622776601683793319988935444327i
3.1622776601683793319988935444327i
(0.59202525240178083265618624864146*root(z^22 + (34860391506276308541159338147840*x^2*z^20)/111075950513479913205450575329 + (552384952714027907217549469242274644617007279112835037134848000*x^4*z^18)/12337866782473038594087556930907531233679671657017103458241 + (5251733376487346941160836540430428071460816952419991896171299595991764288452352445629071360000*x^6*z^16)/1370440280171882875829607380209003313786697543160863199244638210825566478521728976336289 + (33286814834714056038533333076601324942531363735689209345082718267906785752560843524522772132126776733353439326211198156800000*x^8*z^14)/152222956742051609837417466026252129894278374785288216778835780056098728582217653888704412602912474078957801630814081 + (147686177817189213275985707024838946125399279811708587181765684771524786517476527769147537368610128965206020319036401641236169191816313631898220678348800000*x^10*z^12)/16908309610095718127506208687221727556278823964557505289437443440164507137850971447602758847338562761365129266421596653066302148818760396084407649 + (468036179888432311238460066656571399357360878734376427685057052323506249724795791903482582181045398672155132718364493311100234325400449265684505901699377740093326658489135107407872000000*x^12*z^10)/1878106561517588832987808463850842148684870868862986099744369505062771229836552864333642465346793698416179301424740885482515936129433952867874589206572031389196007333218291521 + (1059475614935890660027787268890650915302497640949491805196797301033130866038840741758734104596926384829653552076744880276670173732031649948017687301217725024710219611494376658571318994202774961364457258955571200000000*x^14*z^8)/208612471486169615532150899065582927134218296810733377314370392068797905951658779409965950225705402196437483083462143691864145480555769499041500183025302218497615830611580750270877111571118679135892485409 + (1678806124000817802769738075971996363111702153293037180275547087007242041381697527772577382116403897052892204662958503225054401051223289853301931379142130977791902161590289920267346065026015188721129192600130141184965474588292871266238464000000000*x^16*z^6)/23171828559292515658661323831394183467840514254666551333770726282936933522514025711380167973287178915630323962732566909366851685560841200947335221757730441574432837722890320802342891356550180604286924755782857863774749118166787874561 + (1773449658963720004234539072900904135652868831298015363588735290311710488319083695745419254993966390027288313270821659993806708726357892123338601307096049605100175025631425758623061125012417862421651172482398398573494968023763177223883778651866882703059364132652318720000000000*x^18*z^4)/2573832882358816022112784063721903541849501928219128265635805149778283769384869825650838060375232938597449049334088365497829057193202634274457333714342012659632078517908753541982286004342628764829306876987212359380284521962183218316806979259039167801458533305569 + z^2*((1124057262329954197924869111982347480409188549877249687374234606940637737500600561850088326165452426853517666062649213321405277075063271949728301556794017055924227195006051453014677244717465234381270370518527137993043912448324074203022203287189938469508010494752425802652976304513729746391384719360000000000*x^20)/285890933870855215570338029321566535305342342584653269204662637685744039604832558707645644654198112852303278772235257312856224832929341144229835216243864638698596985439000141973714996748022725727239704277555377890047757311677604711564129356046403982577459197820213068956200248462659209707201 - (323843605291696989363992554750267691279290639622627389371042172843888543308792555027136613922299399192299324582906899058223693979817269562987221439905181615874427878842506178183147052387349146145983628285556392109699211973479508317788965369038655290145296090419774031283733463384368804051498124013833610021292332385749591654400000000000*x^22)/31755607222891672292162034599786572098065141341238348029133377688147202093249429007827278906342165920340324855171829803753836953818052325455079531058508977743020039071672237512170796484231974501725010836151065403159080651343456716475109848458412060267519745599557343536594131776504213358077298213438407361117907084244129) + (323843605291696989363992554750267691279290639622627389371042172843888543308792555027136613922299399192299324582906899058223693979817269562987221439905181615874427878842506178183147052387349146145983628285556392109699211973479508317788965369038655290145296090419774031283733463384368804051498124013833610021292332385749591654400000000000*x^22)/31755607222891672292162034599786572098065141341238348029133377688147202093249429007827278906342165920340324855171829803753836953818052325455079531058508977743020039071672237512170796484231974501725010836151065403159080651343456716475109848458412060267519745599557343536594131776504213358077298213438407361117907084244129, z, 1))/x
that you will then need to evaluate for each value of ‘x’.
I leave you to it.

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!