Mathematica Solving Basic Math Problems in Mathematica

  • Thread starter Thread starter sharp
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion centers on learning how to use Mathematica for solving basic finance math problems involving exponents. The user encountered errors while attempting to solve simple equations such as (1.036)^n = 2.154 and others. A response highlights the importance of using the correct syntax in Mathematica, specifically the use of double equal signs for equations. An example is provided, demonstrating how to solve the equation (1.036)^n == 2.154, which yields a solution for n. Additionally, a warning is noted regarding the potential limitations of the Solve function, suggesting the use of Reduce for more comprehensive solutions. The user expresses a desire to improve their Mathematica skills, acknowledging the challenges of finding relevant help within the software's Help Browser.
sharp
Messages
7
Reaction score
0
Hey guys I'm trying to learn to use mathematica and can't get even the most simple stuff to run.

Today I was trying to use it to solve some very simple problems for my Finance Math class but all I got were errors.

These are some of the problems I was trying:
a) (1.036)^n = 2.154
b) 5225(1.0255)^-n = 3750
c) [525(1.048)^n -1] / (1.048)^1/4 -1 = 3125

It's not hard stuff just some super basic review of exponents questions we had on the first day. What I really want is to start learning mathematica and this is a start.

Thanks for the help.
 
Physics news on Phys.org
Mathematica has a pretty good Help Browser. Why not use it? Anyway, this is how you solve an equation (I'll use x^2=1 as an example):

Solve[x^2==1,x]

Notice the double equal sign.
 
In Math'ca for Windows version 5.x,

Solve[(1.036)^n == 2.154]

followed by Num pad Enter ("gray" Enter) or Shift-Keyboard Enter

produces

{{n -> 21.696}}

P.S. It also produces the warning
Solve::ifun: Inverse functions are being used by Solve, so some solutions may not be found; use Reduce for complete solution information.

P.P.S. NSolve[(1.036)^n == 2.154] produces exactly the same result (and warning).
 
Last edited:
Thanks guys that's just what I needed. I do try to use the help in Mathematica but I rarely find what I'm looking for.
 

Similar threads

Replies
3
Views
2K
Replies
1
Views
2K
Replies
2
Views
5K
Replies
5
Views
3K
Replies
2
Views
3K
Replies
2
Views
3K
Replies
6
Views
4K
Replies
1
Views
4K
Back
Top