Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How can I make Alice multiply numbers?
Old
HalBen18
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2014
Location: Cedar Hill, TX
Post 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?
   
Reply With Quote
Sure
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Sure - 02-26-2014, 09:07 AM

Quote:
Originally Posted by HalBen18 View Post
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.
   
Reply With Quote
Thank you!
Old
HalBen18
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2014
Location: Cedar Hill, TX
Smile Thank you! - 02-26-2014, 03:13 PM

Thank you for your help! I finished it, no problem, thanks to you.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.