Group Abstract Group Abstract

Message Boards Message Boards

0
|
8K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

How can I define function with another function?

POSTED BY: Milan Žák
2 Replies

It works now. Thank you very much. I didn't think of that.

POSTED BY: Milan Žák

On my system it works fine. The error message is probably from a conflict between your current assignement for Ampl and Equation and some other assignments that you gave earlier in the session and that is still in memory. Try with Clear[Ampl,Equation]; Ampl[t_] := A*Exp[Alpha*t] Equation[t_] := -5*Exp[-4*Ampl[t]] + 3*Ampl[t] - 4*Ampl[t]^2 + 2

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard