function for solving for a variable in an equation given a range of values for another variable

I want to solve eqn for r given a range of values for b
b = 0:0.01:pi;
eqn=(4/(6-8*r*(cos(b)-1)))+((sqrt(4+16*r*(cos(b)-1)))/(6-8*r*(cos(b)-1)))) <= 1;
I've seen vpasolve and just solve, but I do not see how to apply those functions to my problem. Any help would be appreciated!

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Asked:

on 3 Oct 2018

Edited:

on 3 Oct 2018

Community Treasure Hunt

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

Start Hunting!