Problem differentiating exponential function in Maxima

Click For Summary
SUMMARY

The forum discussion centers on differentiating the exponential function using Maxima software. A user encountered an unexpected output when attempting to differentiate the expression diff(1-exp^(-t/R*C),t);. The confusion arose from the lack of parentheses, which altered the order of operations, leading to an incorrect interpretation of the formula. The correct differentiation requires proper grouping of terms, specifically 1/(R*C) instead of C/R.

PREREQUISITES
  • Familiarity with Maxima software for symbolic computation
  • Understanding of differentiation and exponential functions
  • Knowledge of order of operations in mathematical expressions
  • Basic understanding of Lisp programming language
NEXT STEPS
  • Review Maxima documentation on differentiation functions
  • Learn about proper use of parentheses in mathematical expressions
  • Explore the relationship between Lisp and Maxima for better programming practices
  • Study the properties of exponential functions and their derivatives
USEFUL FOR

This discussion is beneficial for mathematicians, software developers using Maxima, and students learning about differentiation and symbolic computation.

bitrex
Messages
190
Reaction score
0
Hey everyone, I'm new to using the Maxima software and I'm having some trouble. When I enter the following formula to be evaluated:

diff(1-exp^(-t/R*C),t);

I get the following output:

[tex]\frac{log\left( exp\right) \,C}{{exp}^{\frac{t\,C}{R}}\,R}[/tex]

This doesn't look right, even if I simplify the numerator. Am I doing something wrong?
 
Physics news on Phys.org
No, it is correct.
At least if log(exp) really means ln(e^1)

I think you are confused by the fact that you've (presumably) forgotten to but parentheses around the RC factor, 1/R*C=C/R not 1/(R*C).
 
Yes, that's the problem. I swear parenthesis and order of operations are going to be the death of me; I once took a course in Lisp. I still have nightmares. From what I understand, Maxima is written in and programmed by using Lisp. :cry:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K