My Math Forum  

Go Back   My Math Forum > Math Forums > Math Software

Math Software Math Software - Mathematica, Matlab, Calculators, Graphing Software

Reply
 
LinkBack Thread Tools Display Modes
September 11th, 2011, 04:34 AM   #1
 
Joined: Mar 2011

Posts: 23
Thanks: 0

Mathematica : always increasing function ?

Is there a way to print an always increasing positive integer, each time the function is called ? Lets call that function ff[], then I need it to do the following in Mathematica :

In: ff[]
Out: 1

In: ff[]
Out: 2

In: ff[]
Out: 3

In: ff[]
Out: 4

etc.

How can I define that function ?
Cham is offline  
 
Reply

  My Math Forum > Math Forums > Math Software

Tags
function, increasing, mathematica


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
increasing function panky Calculus 1 October 17th, 2011 05:48 AM
Mathematica: export text file with increasing integer Cham Math Software 0 September 8th, 2011 01:32 PM
Increasing function johnny Calculus 0 April 5th, 2011 07:06 AM
Increasing function f(x) johnny Calculus 2 March 7th, 2011 02:11 PM
Increasing function puneet Calculus 2 August 31st, 2008 07:58 AM





Copyright © 2014 My Math Forum. All rights reserved.