MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

a small problem from a newbee...


hi ...i m writing a function in which i have to assign the solution of
a ode to a variable..i wrote the function like this...but it doesnot
work..cud u suggest a alternative...

Vzf=Function[x,DSolve[{y''[x] - g1*y[x] + g2*Cosh[k*x]/Cosh[k] +
        g3 == 0, y[-1] == 0, y[1] == 0}, y, x]; Vz = y[x] /. %]

the program doesnot work bcoz thres no output wheni put a ; after
solution to the ode...so the assignment doesnot work..
plss help me out...i just cannot find a solution


  • Prev by Date: Re: Re: usage messages in packages
  • Next by Date: Re: Re: Portable Notebooks and Filenames[]
  • Previous by thread: Re: General 3-state stochastic matrix
  • Next by thread: Re: a small problem from a newbee...