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!

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

質問済み:

2018 年 10 月 3 日

編集済み:

2018 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by