Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Razonar  
#1 Posted : 02 April 2019 15:34:25(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

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.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 02 April 2019 16:09:35(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,984
Germany

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.

function_1v.png

Edited by user 02 April 2019 16:11:22(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 02/04/2019(UTC)
Offline Razonar  
#3 Posted : 02 April 2019 16:13:54(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi Martin. You're right! Thanks.
Best regards.
Alvaro.
Offline Razonar  
#4 Posted : 02 April 2019 16:50:57(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

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.
Offline Jean Giraud  
#5 Posted : 02 April 2019 17:11:12(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Razonar Go to Quoted Post
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).
Offline Jean Giraud  
#6 Posted : 02 April 2019 17:24:38(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... Ridder numerical derivative code.

Unsolved Ridder Deriv.sm (43kb) downloaded 20 time(s).
Users browsing this topic
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.