| Nasser Abbasi 2007-03-31, 8:10 am |
|
"farshad" <farshad.kooshesh@gmail.com> wrote in message
news:ef52ef1.1@webcrossing.raydaftYaTP...
> My problem in renaming my mfile solved but I still cant solve my
> equation.
>
> my equation is:
>
> (a*b*(pi/x)^2-36)/(6*(a+b))-(pi/x)/tan(pi/x)=0
>
> where a,b are reading from input
> a=input ('a')
> b=input ('b')
>
> and 0<x<inf
>
> please help me how I can find x.
> thank you.
You can't get a closed form solution for this, it invoves inverse trig
functions.
(you did not give what values to use for a,b, I am trying these)
syms x positive
a=1
b=2
solve( '(a*b*(pi/x)^2-36)/(6*(a+b))-(pi/x)/tan(pi/x)=0','x')
??? Error using ==> solve
Unable to find closed form solution.
maple gives an expression in terms of RootOf, the best you can get
[color=darkred]
[color=darkred]
ans =
pi/RootOf(tan(_Z)*_Z^2-18*tan(_Z)-9*_Z)
Nasser
|