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>
 
 
 - Re: functions