math - Finding capable function in an equation with Mathematica or Matlab -


i want find function f(xi) suffices following equation:

(vi-xi)f(xi)'=f(xi)

when xi = k*vi, vi constant , xi variable.

anyone know howto describe problem in mathematica or matlab? great thanks!

mathematica

eq = (vi - xi) d[f[xi], xi] == f[xi]; dsolve[eq, f[xi], xi]  (* {{f[xi] -> c[1]/(vi - xi)}} *) 

matlab

syms vi xi f(xi) dsolve( (vi -xi)*diff(f)==f)  ans =  c2/(vi - xi) 

maple

restart; dsolve((vi - xi)*diff(f(xi),xi)=f(xi),f(xi)); (*  f(xi) = _c1/(vi-xi) *) 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -