Function as variable for another function

Function as variable for another function - Is it possible to use function as variable for function if in this functon is if statement.. - Сообщения

#1 Опубликовано: 27.09.2020 17:24:11
Rihards

Rihards

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

Группа: User

function doesnt work if in argument function there is if

is it possible to add function as argument to another function if in that function is if statement?
#2 Опубликовано: 27.09.2020 17:41:02
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

I guess that you have an unit issue, instead to ask "x=1" try with "x=1*'m".
Best regards
Alvaro.

#3 Опубликовано: 27.09.2020 17:51:46
Rihards

Rihards

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

Группа: User

Цитата

I guess that you have an unit issue, instead to ask "x=1" try with "x=1*'m".
Best regards
Alvaro.



no i tried with out any units.. as far as i can tell its if there is if in the function i cant use it as argument for another function even if it plots perfect as i imagine..111fff.PNG

so i played around even further:
it seems that: i can make boolean operations with x and i can use if if x is not evaluated.. but if in if statement there is x then it shows that x is not defined.? is this bug?
#4 Опубликовано: 27.09.2020 19:46:38
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

This is an "if-issue". It can't be integrate, nor derivate (sometimes) and also can't be called in this way. As workaround use cases.

Clipboard01.jpg

Best regards.
Alvaro.
#5 Опубликовано: 27.09.2020 20:45:03
Jean Giraud

Jean Giraud

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

Группа: User

If you have no plot => you have no project.

PlotFirst.PNG
#6 Опубликовано: 27.09.2020 21:07:15
Jean Giraud

Jean Giraud

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

Группа: User

Smath Bible is largely in Samples

Integrate Discontinuous_1.sm (24 КиБ) скачан 39 раз(а).
#7 Опубликовано: 27.09.2020 21:17:25
Jean Giraud

Jean Giraud

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

Группа: User

Integral 0Discrete Cumulative 10 styles.sm (179 КиБ) скачан 33 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений