How to plot $40b^2x-9b​^2-60bx+72​b-144=0$

1 回表示 (過去 30 日間)
Atom
Atom 2019 年 7 月 14 日
編集済み: Atom 2019 年 7 月 14 日
How to get a (b,x)-plot of the curve where b varies from 0 to 10 and x varies from 0 to 1
I have tried the following
ezplot('40*b^2*x-9*b^2-60*b*x+72*b-144')
axis([0 10 0 1])
But not getting the curve after b=6.2. Is there any better way to plot it.

採用された回答

Rik
Rik 2019 年 7 月 14 日
It shouldn't be too hard to pry out x from this equation. Getting out b is a bit more tricky.
40b^2x-9b^2-60bx+72b-144=0
-9b^2+72b-144=-40b^2x+60bx
x=(-9b^2+72b-144)/(-40b^2+60b)
%in Matlab syntax:
Fun=@(b) (-9*b.^2+72*b-144)./(-40*b.^2+60*b);
  1 件のコメント
Atom
Atom 2019 年 7 月 14 日
編集済み: Atom 2019 年 7 月 14 日
Thanks a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by