Thread Closed

plots over Z in mathematica and maple

 
Share Thread Thread Tools
Jun20-07, 12:50 PM   #1
 

plots over Z in mathematica and maple


im sorta new to using maple and mathematica for number theoretical functions, is there any way I can plot the values of an integer defined function in either of these programs? thanks
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Bird's playlist could signal mental strengths and weaknesses
>> Minus environment, patterns still emerge: Computational study tracks E. coli cells' regulatory mechanisms
>> Bacterium uses natural 'thermometer' to trigger diarrheal disease, scientists find
Jun20-07, 01:08 PM   #2
 
Blog Entries: 5
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
There are probably numerous ways to do this in Mathematica (not familiar with Maple). The simplest I can think of right now is: make a table of the values you want and use ListPlot to display them.

For example

F[n_]:=n!
ListPlot[F/@Range[1,5]]

The first line defines your function (I suppose you already have that). In the second line, Range creates a list {1, 2, 3, 4, 5} and then maps each element to the function. The result is a list {F[1], F[2], ..., F[5]} which is then sent to ListPlot for display.

Hope that helps :)
Jun20-07, 04:31 PM   #3
 
thats perfect, thanks a lot
Thread Closed
Thread Tools


Similar Threads for: plots over Z in mathematica and maple
Thread Forum Replies
3D Data Plots in Mathematica 5.2 Math & Science Software 0
Maple/Mathematica Help Math & Science Software 1
Maple contour plots from an array Math & Science Software 0
Mathematica - Joining Plots Math & Science Software 0
Maple plots Math & Science Software 0