In am new to Mathematica and just learning how to use it.
I have encountered a rather unusual problem, most operations, such as + - / * work fine, at least when I used the numpad to type them in. However, I cannot get the power operation to work consistently. Somtimes mathematica will resolve and expression such as 2^2, other times it will not. The problem also occurs with the alternatives, such as ctrl + ^ and power[2, 2]. I do not understand why it is working so inconsistently. Can you please provide me with help regarding this function?
Did you mean: " … then Shift + Enter … " each time when you wrote " … then enter … "
Like you, I am only beginning to use Mathematica, but usually it requires Shift + Enter to evaluate an expression.
But you probably already know this.
Good Luck.
Actually I did not realize that, because I only had to press enter for Mathematica to evaluate most of the expressions I was using. But your right, by pressing shift + enter, it is now consistently evaluating these expressions.
Please see the virtual book for an overview of how to use Mathematica. You are using Wolfram|Alpha in Mathematica instead of using Mathematica directly. When you use Wolfram|Alpha in Mathematica, you will notice big orange equal signs to the left of your code. This means you aren’t using Mathemtica directly, but using Woflram|Alpha.
When you use Mathematica directly Ctrl+Enter is always needed to evaluate an expression.
Sean - thanks for the useful insights about the relationships between Mathematica and Wolfram|Alpha.
Can you elaborate - for Mr Barbieri and me - on the difference between Shift+Enter and Ctrl+Enter?
Shift+Enter seems to evaluate an expression, whereas Ctrl+Enter seems only to rewrite and return the expression in an alternate format.
Thanks, Ed