SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
The problem with the function of the vector
Rank: Newbie
Groups: Registered
Joined: 03/04/2020(UTC) Posts: 6 Location: Спб
|
Please help with the pr Zadanie 2.sm (10kb) downloaded 17 time(s).oblem. For some reason, the program does not like the range j, why it is not clear. Thanks for the help
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 03/04/2020(UTC) Posts: 6 Location: Спб
|
Originally Posted by: Andrey007 Please help with the pr Zadanie 2.sm (10kb) downloaded 17 time(s).oblem. For some reason, the program does not like the range j, why it is not clear. Thanks for the help
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 03/04/2020(UTC) Posts: 6 Location: Спб
|
The problem with the function of the vector
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1332 time(s) in 876 post(s)
|
Hello
Andrey007
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 (13kb) downloaded 18 time(s). |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Sorry for some gross mistake ... deleted. You can use Smath code floor/ceiling Zadanie 2_1[floor].sm (16kb) downloaded 22 time(s).
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 03/04/2020(UTC) Posts: 6 Location: Спб
|
Thanks for the help, be healthy!
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
The problem with the function of the vector
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.