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

Next Comment >Help | Reply To Topic
Author Comment/Response
Mac
09/18/12 03:23am

All I want in the world is to ask the user to input the value for a variable Q and then run a do iteration of a function using that value of Q, but for the life of me I can not find anything in the input tutorials that really explains how to do that or gives examples. I know it is probably really simple, but I am a dunce when it comes to programming. Here is my do command:

Do[Print[S = (Q + 1.107924375)/(i - 25)], {i, 50, 26, -1}]

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
Next Comment >Help | Reply To Topic