The problem with the function of the vector

The problem with the function of the vector - Messaggi

#1 Pubblicato: 07/04/2020 11:49:26
Andrey007

Andrey007

0 apprezzamenti in 7 post.

Gruppo: User

Please help with the prZadanie 2.sm (9,86 KiB) scaricato 1457 volta(e).oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help
#2 Pubblicato: 07/04/2020 16:16:24
Andrey007

Andrey007

0 apprezzamenti in 7 post.

Gruppo: User

File non trovato.
Wrote

Please help with the prFile non trovato.oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help



#3 Pubblicato: 07/04/2020 16:19:22
Andrey007

Andrey007

0 apprezzamenti in 7 post.

Gruppo: User

The problem with the function of the vector
#4 Pubblicato: 07/04/2020 19:47:33
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Hello [userlink]Andrey007[/userlink]

Here there is your code adaped to SS syntax.

To loop the (scalar) functions through the values of a vector (1-column matrix) you can use vectorize or a for/while function.

Since in A=0 Kg(A) is indeterminate (0/0) and Kn(a) is an infinity and you can't plot that I've started the range from the 2nd value within the original range.

Zadanie 2_1.sm (12,66 KiB) scaricato 1452 volta(e).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Pubblicato: 08/04/2020 09:29:23
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Sorry for some gross mistake ... deleted.
You can use Smath code floor/ceiling


Zadanie 2_1[floor].sm (15,05 KiB) scaricato 1269 volta(e).
#6 Pubblicato: 08/04/2020 17:48:42
Andrey007

Andrey007

0 apprezzamenti in 7 post.

Gruppo: User

Thanks for the help, be healthy!
  • Nuovi post
  • Nessun nuovo post