# Unable to find explicit solutions to an equation

5 views (last 30 days)
Plamen Bonev on 14 Sep 2021
Commented: Plamen Bonev on 15 Sep 2021
Hi,
I am trying to resolve the following equation :
x*atan(1/x)=y for x
My code is:
syms x y
eqn=(x*atan(1/x))==y
eqn=rewrite(eqn, 'log');
solx=solve(eqn, x, 'IgnoreAnalyticConstraints',1)
pretty(solx)
But I am getting the following error :
Any ideas?
Thank you in advance.
##### 0 CommentsShowHide -1 older comments

Sign in to comment.

### Accepted Answer

Walter Roberson on 14 Sep 2021
There is no closed form formula for that.
##### 2 CommentsShowHide 1 older comment
Plamen Bonev on 15 Sep 2021
Thank you so much Walter :)

Sign in to comment.

### More Answers (1)

Image Analyst on 14 Sep 2021
I'm not sure what you want to "resolve" or solve. This is what I see when I plot it:
fontSize = 20;
x = linspace(-2*pi, 2*pi, 1000);
y = x .* atan(1./x);
plot(x, y, 'LineWidth', 2);
grid on;
xlabel('x', 'FontSize', fontSize);
ylabel('y', 'FontSize', fontSize);
title('y = x .* atan(1./x)', 'FontSize', fontSize);
Now, explain exactly what is supposed to be equal to what.
##### 11 CommentsShowHide 10 older comments
Plamen Bonev on 15 Sep 2021
Thanks a lot Walter.

Sign in to comment.

### Categories

Find more on Solver Outputs and Iterative Display 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!