(xy^3)/(1+y^2) = 8/5 graph in matlab

To plot the equation (xy^3)/(1+y^2) = 8/5 in MATLAB, we first need to rearrange it as y = f(x):

y = [(8/5)*(1+y^2)]^(1/3) / x

We can then create a vector of x values, compute the corresponding y values using this equation, and plot them using the 'plot' function.

main.m
% Define range of x values
x = linspace(-10, 10, 1000);

% Compute corresponding y values
y = ((8/5)*(1+y.^2)).^(1/3) ./ x;

% Plot the graph
plot(x, y)
title('(xy^3)/(1+y^2) = 8/5')
xlabel('x')
ylabel('y')
207 chars
12 lines

This will generate a graph of the equation, with the x-axis ranging from -10 to 10 and the y-axis determined by the equation. The 'title', 'xlabel', and 'ylabel' functions are used to add labels to the graph.

gistlibby LogSnag