Solving Basic Math Problems in Mathematica

  • Context: Mathematica 
  • Thread starter Thread starter sharp
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary

Discussion Overview

The discussion revolves around using Mathematica to solve basic mathematical problems, particularly those involving exponents, as part of a Finance Math class. Participants share their experiences and seek assistance with specific equations they are trying to solve.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • One participant expresses difficulty in using Mathematica for simple exponent problems and shares specific equations they are trying to solve.
  • Another participant suggests utilizing the Help Browser in Mathematica for guidance and provides an example of how to format equations for solving.
  • A third participant shares a specific command for solving one of the equations and notes a warning that may arise regarding inverse functions, suggesting the use of an alternative command for complete solutions.
  • A later reply indicates appreciation for the provided help and mentions challenges in finding relevant information in the Mathematica help resources.

Areas of Agreement / Disagreement

Participants generally agree on the usefulness of Mathematica's Help Browser, but there is no consensus on the best approach to solving the equations presented, as different methods and commands are suggested.

Contextual Notes

Some participants mention warnings related to the use of inverse functions in Mathematica, indicating potential limitations in the solutions provided. There is also a noted difficulty in navigating the help resources effectively.

Who May Find This Useful

This discussion may be useful for individuals learning to use Mathematica, particularly those encountering challenges with basic mathematical problem-solving in a finance context.

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 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K