The problem with the function of the vector

The problem with the function of the vector - Poruke

#1 Objavljeno: 7. 4. 2020. 11:49:26
Andrey007

Andrey007

0 svidjanja u 7 postova.

Grupa: User

Please help with the prZadanie 2.sm (9,86 KiB) preuzeto 1491 put(ova).oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help
#2 Objavljeno: 7. 4. 2020. 16:16:24
Andrey007

Andrey007

0 svidjanja u 7 postova.

Grupa: User

Fajl nije pronađen.
Wrote

Please help with the prFajl nije pronađen.oblem. For some reason, the program does not like the range j, why it is not clear.
Thanks for the help



#3 Objavljeno: 7. 4. 2020. 16:19:22
Andrey007

Andrey007

0 svidjanja u 7 postova.

Grupa: User

The problem with the function of the vector
#4 Objavljeno: 7. 4. 2020. 19:47:33
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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) preuzeto 1479 put(ova).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Objavljeno: 8. 4. 2020. 09:29:23
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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


Zadanie 2_1[floor].sm (15,05 KiB) preuzeto 1299 put(ova).
#6 Objavljeno: 8. 4. 2020. 17:48:42
Andrey007

Andrey007

0 svidjanja u 7 postova.

Grupa: User

Thanks for the help, be healthy!
  • Novi postovi
  • Nema novih postova