Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'User input variable?' topicStudent Support Forum > General > "User input variable?"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
09/18/12 8:43pm

One simple way to do this is

In[1]:= Q=Input["Enter the value for Q"];
Do[Print[S=(Q+1.107924375)/(i-25)],{i,50,26,-1}]

From In[1]:= 0.124317
From In[1]:= 0.129497
<snip>
From In[1]:= 3.10792

URL: ,

Subject (listing for 'User input variable?')
Author Date Posted
User input variable? Mac 09/18/12 03:23am
Re: User input variable? Bill Simpson 09/18/12 8:43pm
Re: Re: User input variable? mac 09/19/12 4:52pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic