how to convert explicit function to implicit?

4 visualizaciones (últimos 30 días)
M
M el 21 de Ag. de 2021
Comentada: M el 21 de Ag. de 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 comentarios
Rik
Rik el 21 de Ag. de 2021
This seems doable with fairly basic algebra. What have you tried so far?
M
M el 21 de Ag. de 2021
it seems simple but when I tried to solve by hand, it becomes complicated...

Iniciar sesión para comentar.

Respuesta aceptada

Wan Ji
Wan Ji el 21 de Ag. de 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)

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by