# How can i find the solution of the equation when the R.H.S also contains the unknown??

1 view (last 30 days)

Show older comments

I have this eqaution that need to be plotted between s_y and beta. But the problem is that, the R.H.S also contains the quantity beta but under a different math term. This is the eqation:

beta=acosd((((R^2-((R*u*sin(beta))/(R-d))^2)^0.5*(R-d))/(R*u))-(s_y/u));

Except for Beta, all the values are known and s_y has been defined as

s_y=0:0.1:35;

How can i do this?? meaning, how can i solve for beta? am new to matlab and just learning the basics. So if anybody is able to help me with this,I ll be grateful.....

### Accepted Answer

Walter Roberson
on 23 Apr 2013

Assuming radians,

atan2(sqrt(-(-d+R-s_y+u) .* (-d+R+s_y-u) .* (-d+R+s_y+u) .* (-d+R-s_y-u)) ./ (u.*s_y), (R.^2-2.*R.*d-u.^2+d.^2-s_y.^2) ./ (u.*s_y))

and also the negative of that.

##### 2 Comments

Walter Roberson
on 24 Apr 2013

### More Answers (0)

### See Also

### Community Treasure Hunt

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

Start Hunting!