Using mathmatica, solving single equation

  • Thread starter Thread starter kougou
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving a single equation using Mathematica. The user initially inputs "solve[x^2+2x-2==0,x]" but receives an incorrect output due to improper capitalization. The correct command is "Solve[x^2+2x-2==0,x]", which successfully resolves the equation. This highlights the importance of syntax in Mathematica commands.

PREREQUISITES
  • Basic understanding of Mathematica syntax
  • Familiarity with algebraic equations
  • Knowledge of case sensitivity in programming languages
  • Experience with function usage in Mathematica
NEXT STEPS
  • Explore Mathematica's documentation on equation solving
  • Learn about case sensitivity in programming languages
  • Investigate advanced functions in Mathematica for solving systems of equations
  • Practice using Mathematica for different types of mathematical problems
USEFUL FOR

Students, educators, and researchers who utilize Mathematica for mathematical problem-solving, particularly those new to the software or programming syntax.

kougou
Messages
80
Reaction score
0
Hi

I am trying to use mathmatica to solve single equation:

So :I enter "solve[x^2+2x-2==0,x]"
But that is what I get:

input[1]=solve[x^2+2x-2==0,x]
output[1]=solve[ false,0]

Why doesn't it solve the equation
 
Physics news on Phys.org
Did you capitalize "Solve"?
 
kougou said:
Hi

I am trying to use mathmatica to solve single equation:

So :I enter "solve[x^2+2x-2==0,x]"
But that is what I get:

input[1]=solve[x^2+2x-2==0,x]
output[1]=solve[ false,0]

Why doesn't it solve the equation

Write "solve" with capital "s"

Solve[x^2+2x-2==0,x]

ehild

TSny beat me :)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
15
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K