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

#1 Pubblicato: 27/09/2020 17:24:11
Rihards

Rihards

0 apprezzamenti in 2 post.

Gruppo: 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 Pubblicato: 27/09/2020 17:41:02
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

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

#3 Pubblicato: 27/09/2020 17:51:46
Rihards

Rihards

0 apprezzamenti in 2 post.

Gruppo: User

Citazione

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

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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 Pubblicato: 27/09/2020 20:45:03
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

PlotFirst.PNG
#6 Pubblicato: 27/09/2020 21:07:15
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Smath Bible is largely in Samples

Integrate Discontinuous_1.sm (24,52 KiB) scaricato 1202 volta(e).
#7 Pubblicato: 27/09/2020 21:17:25
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Integral 0Discrete Cumulative 10 styles.sm (179,98 KiB) scaricato 1162 volta(e).
  • Nuovi post
  • Nessun nuovo post