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.. - Mensajes

#1 Publicado: 27/9/2020 17:24:11
Rihards

Rihards

0 me gusta en 2 mensajes.

Grupo: 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 Publicado: 27/9/2020 17:41:02
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

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

#3 Publicado: 27/9/2020 17:51:46
Rihards

Rihards

0 me gusta en 2 mensajes.

Grupo: User

Citar

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 Publicado: 27/9/2020 19:46:38
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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 Publicado: 27/9/2020 20:45:03
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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

PlotFirst.PNG
#6 Publicado: 27/9/2020 21:07:15
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Smath Bible is largely in Samples

Integrate Discontinuous_1.sm (24,52 KiB) descargado 1197 vez(es).
#7 Publicado: 27/9/2020 21:17:25
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Integral 0Discrete Cumulative 10 styles.sm (179,98 KiB) descargado 1158 vez(es).
  • Nuevos mensajes
  • Sin mensajes nuevos