Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Help to build array' topicStudent Support Forum > General > "Help to build array"

Next Comment >Help | Reply To Topic
Author Comment/Response
efirvida
04/12/12 6:32pm

Hi all
I want to make a function that by passing the parameters rpm1, rpm2, zMin, zMax, give me as a result one array, or table with the response of this function.

rpm1 = 1200; rpm2 = 1800; zMin = 17; zMax = 200;

u[rpm1_, rpm2_] = rpm2/rpm1;

While[zMin <= zMax, Print[zMin, " ", Round[zMin u[rpm1, rpm2]]];
zMin++;]

URL: ,

Subject (listing for 'Help to build array')
Author Date Posted
Help to build array efirvida 04/12/12 6:32pm
Re: Help to build array jf 04/13/12 11:13am
Re: Re: Help to build array efirvida 04/13/12 11:53am
Next Comment >Help | Reply To Topic