Alice Community How can I make Alice multiply numbers?
 User Name Remember Me? Password

 Thread Tools Display Modes
 How can I make Alice multiply numbers?
 HalBen18 Junior Member   Status: Offline Posts: 12 Join Date: Jan 2014 Location: Cedar Hill, TX How can I make Alice multiply numbers? - 02-25-2014, 02:39 PM I am trying to get Alice to do Einstein's formula. I have it set to have the user enter the mass and I have set up the speed of light squared. However, I can't seem to find a function where I can have the two multiplied. mass times speed of light. Is there a way to do this?
 Sure
MrMoke
Senior Member

Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Sure - 02-26-2014, 09:07 AM

Quote:
 Originally Posted by HalBen18 I am trying to get Alice to do Einstein's formula. I have it set to have the user enter the mass and I have set up the speed of light squared. However, I can't seem to find a function where I can have the two multiplied. mass times speed of light. Is there a way to do this?
Once you set the value of a variable to a specific number in the code such as "set burger to 2", you can click the down arrow next to the 2, then find math in the dropdown, and go from there.

 Thank you!
 HalBen18 Junior Member   Status: Offline Posts: 12 Join Date: Jan 2014 Location: Cedar Hill, TX Thank you! - 02-26-2014, 03:13 PM Thank you for your help! I finished it, no problem, thanks to you.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge