Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

a small problem from a newbee...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58193] a small problem from a newbee...
  • From: dibyadeep at gmail.com
  • Date: Wed, 22 Jun 2005 01:55:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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...