SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Calling function that call functions
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. I can't call a function which uses a call for functions too. How to solve that? Example in the attached. function_1v.sm (18kb) downloaded 24 time(s).Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
I guess f(a) isn't recognized as a function in the call df(f(a)...) as f(a) evaluates to a number, not a function. Use df(f(x)... instead, with x being something undefined. Edited by user 02 April 2019 16:11:22(UTC)
| Reason: Not specified |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi Martin. You're right! Thanks. Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. Again, here ... how to solve this other? bound_ode.sm (17kb) downloaded 17 time(s).Thanks in advanced Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Razonar Hi. I can't call a function which uses a call for functions too. How to solve that? Hola Alvaro, I understand what you are attempting, sorry: can't doctor quick. IMHO, a better approach would be the coding of the Mathcad numerical derivative, which returns as scalar as well. The beginning of the code was given Mathcad 8 Pro. It is in fact more advanced than the rough Newton as proposed. If you are willing: I can retrieve this code. Buenos dias ... Jean Derivative erf(x).sm (7kb) downloaded 18 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Calling function that call functions
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.