how to convert explicit function to implicit?

조회 수: 4 (최근 30일)
M
M 2021년 8월 21일
댓글: M 2021년 8월 21일
Hi, I have an equation and I want y be as a fuction, in fact, I 'd like a function in which x is independent variable and y is dependent to x,could you please help me how to do it?
A is a complicated equation but doesn't have "y" in it so it is not important what it is, a and b also have values.
  댓글 수: 2
Rik
Rik 2021년 8월 21일
This seems doable with fairly basic algebra. What have you tried so far?
M
M 2021년 8월 21일
it seems simple but when I tried to solve by hand, it becomes complicated...

댓글을 달려면 로그인하십시오.

채택된 답변

Wan Ji
Wan Ji 2021년 8월 21일
If you feel bored solving it by hand, just use matlab!
syms a y x b A
eq = a*y - x*(a+1) - A*(x^2-b*a^2*(y-x)^2);
y = solve(eq, y)
the answer is
y =
-((4*b*A^2*x^2 + 4*b*A*x + 1)^(1/2) - 2*A*a*b*x + 1)/(2*A*a*b)
((4*b*A^2*x^2 + 4*b*A*x + 1)^(1/2) + 2*A*a*b*x - 1)/(2*A*a*b)
  댓글 수: 1
M
M 2021년 8월 21일
Many thanks, yeah, it is complicated by hand

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by