Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

RE: Problem with funktion with four variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31626] RE: [mg31618] Problem with funktion with four variables
  • From: "David Park" <djmp at earthlink.net>
  • Date: Mon, 19 Nov 2001 03:11:06 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Manuel,

If you look at the left hand side of your definition in full form you will
see that the v sub 0 pattern is not actually a pattern at all.

test[Times[Blank[], Subscript[v, 0]], Pattern[\[Gamma], Blank[]],
  Pattern[H, Blank[]], Pattern[m, Blank[]]]

The simplest solution is just to use v0 (without a subscript) in the
definition. After all, it is only a dummy variable anyway.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> From: Manuel Prinz [mailto:manuel.prinz at t-online.de]
To: mathgroup at smc.vnet.net
>
> Hello Guys
>
> If I define this
>
> \!\(test[\(v\_0\) _, \ \[Gamma]_, \ H_, \
>       m_] :=
> \((\(\(-m\)*H\)\/\[Gamma]\^2*Cosh[ArcSinh[v\_0*\[Gamma]\/H]] -
>         m\/\[Gamma]*ArcSinh[v\_0*\[Gamma]\/H]*v\_0)\)\)
>
> and then try to calculate test[14,500,100,80] nothing happens!
>
> What could be the problem?
>
>
> Thanks!
>
>
> Manuel (Mathematica 4.0)
>



  • Prev by Date: Re: Problem with funktion with four variables
  • Next by Date: Re: Problem with funktion with four variables
  • Previous by thread: Re: Problem with funktion with four variables
  • Next by thread: Re: Problem with funktion with four variables