I'm trying to evaluate a cell that contains the following Eq.:
Mathematica 10 returns the following error: "Solve::nsmet: This system cannot be solved with the methods available to Solve."
I checked and it's correctly written. I also tried it in Wolfram Alpha online and it interprets well and solves it, as you can see in this screenshot
A couple things.
Wolfram Alpha is very helpful in fixing any syntax errors, while Mathematica is not.
You have a couple of typos in the equations you typed in. using kM instead of k M or k*M -- what you have is the single variable kM, instead of the multiplied variables k * M.
Also, I would not use capital letters as variable names, because there might be a conflict with a built-in Mathematica symbol. You also clear the symbol La, while the equation uses L.
I also defined the constants before using Solve, since I got an error otherwise.
Note that you did this substitution manually when posing the problem to W|A.
In:= ClearAll[k, f, m, l, d]
In:= f = 0.02
l = 12.0
d = 0.02
k = 1.4
In:= Solve[(4 f l/
d) == ((1 -
m^2)/(k m^2)) + (((k +
1)/(2 k)) (Log[((k + 1) m^2)/(2 + ((k - 1)*m^2))])), m]
Mathematica is busy trying to solve the equation as I type this, and gives no error messages. (There may be no symbolic solution, which is what you asked for with Solve.)
I would try something besides Solve, such as Solve, or FindRoot. I suspect that W|A does the same thing in order to give a numerical value so quickly.
Read the documentation.
I'm sorry, I must have made some mistake editing the post, because variables were being properly multiplied with the " * " symbol in my code.
I used the FindRoot function and it worked. thanks for taking the time to answer!
I've run into this problem, too. It turns out that the forum software interprets anything between two asterisks as italics. In fact, anything between two sets of double asterisks is bold and anything between two sets of triple asterisks is bold italics.