Calling function that call functions

Calling function that call functions - Сообщения

#1 Опубликовано: 02.04.2019 09:34:25
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

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 (17 КиБ) скачан 38 раз(а).

Best regards.
Alvaro.
#2 Опубликовано: 02.04.2019 10:09:35
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

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
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Alvaro Diaz Falconi 02.04.2019 10:14:00
#3 Опубликовано: 02.04.2019 10:13:54
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi Martin. You're right! Thanks.
Best regards.
Alvaro.
#4 Опубликовано: 02.04.2019 10:50:57
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi. Again, here ... how to solve this other?

bound_ode.sm (16 КиБ) скачан 33 раз(а).

Thanks in advanced
Alvaro.
#5 Опубликовано: 02.04.2019 11:11:12
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (6 КиБ) скачан 35 раз(а).
#6 Опубликовано: 02.04.2019 11:24:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... Ridder numerical derivative code.

Unsolved Ridder Deriv.sm (42 КиБ) скачан 39 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений