Hello everybody,
I'd like to solve for y = y(x) the following equation
that contains derivatives on both x and log(x).
When I input the equation as
syms y(x) feq = diff( log(y), log(x) ) + diff( log(diff(y,x)), log(x) ) + diff( y, log(x) )*log(x) + y ... == 1 + f;
I always get an error about the log in the differentiation
Second argument must be a variable or a nonnegative integer specifying the number ofdifferentiations.
I have tried to input it as a system of equations
syms y(x,z) feq1 = diff( log(y), x ) + diff( log(diff(y,z)), x ) + diff( y, x )*x + y ... == 1 + f;eq2 = x == log(z);
But when I try to solve it
odes = [eq1;eq2];sol = dsolve(odes);
I get an error that
Symbolic ODEs must have exactly one independent variable.
I'm likely doing something wrong in managing the equations.
Can someone help me, please?
Thanks,
Patrizio
Best Answer