MathGroup Archive 2004

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

Search the Archive

functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45481] functions
  • From: lorenzo.keegan at handbag.com
  • Date: Sat, 10 Jan 2004 00:00:29 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

Can you help me?

How do write expressions in Mathematica for functions and sequences
such as the following:

      f(x) = {1/x,  x is irrational
             {x^2,  x rational
and

      f(n) = 1/n, n odd
             n^2, n even

I am a new user and find the manual rather daunting.

Best wishes
Laurence Keegan





  • Follow-Ups:
    • Re: functions
      • From: Selwyn Hollis <sh2.7183@misspelled.erthlink.net>
    • Re: functions
      • From: Selwyn Hollis <sh2.7183@misspelled.erthlink.net>
  • Prev by Date: how to delete duplicate items in the same list
  • Next by Date: upside-down pdf export
  • Previous by thread: RE: Re: how to delete duplicate items in the same list
  • Next by thread: Re: functions