MathGroup Archive 2006

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

Search the Archive

Re: Plotting Cosh(x)?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67094] Re: [mg67073] Plotting Cosh(x)?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 9 Jun 2006 01:07:51 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200606080854.EAA12437@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

In Mathematica, arguments of functions are enclosed in square brackets 
[] and NOT in parentheses () -- unless, that is, you're trying to use 
TraditionalForm input (which can be dangerous due to its possible 
ambiguity).

So you want:

   Plot[Cosh[x],{x,-1,1}]

In what you had, the parentheses are just grouping symbols, so the 
expression fed to Plot is a product of the symbols Cosh and x.


dimzi101 at gmail.com wrote:
> When trying this:
> 
> Plot[Cosh(x), {x, -1, 1}]
> 
> I constantly get errors!
> 
> Im trying to plot some catenaries using table (for various values), and
> this is stopping me from doing so.
> 
> Any suggestions?
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: RE: Plotting Cosh(x)?
  • Next by Date: Re: Re: Two questions (1) Sollve and (2) Precision
  • Previous by thread: Re: Plotting Cosh(x)?
  • Next by thread: Re: Plotting Cosh(x)?