how to convert explicit function to implicit?

4 vues (au cours des 30 derniers jours)
M
M le 21 Août 2021
Commenté : M le 21 Août 2021
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 commentaires
Rik
Rik le 21 Août 2021
This seems doable with fairly basic algebra. What have you tried so far?
M
M le 21 Août 2021
it seems simple but when I tried to solve by hand, it becomes complicated...

Connectez-vous pour commenter.

Réponse acceptée

Wan Ji
Wan Ji le 21 Août 2021
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 commentaire
M
M le 21 Août 2021
Many thanks, yeah, it is complicated by hand

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by