Rank: Member Groups: Registered
Joined: 07/01/2021(UTC) Posts: 27
|
Hi, How can I equate power of range to the following? How can we solve this error, anything power should be 1. When a range is square, the return answer is total of square value. Page5.sm (10kb) downloaded 2 time(s).Edited by user 21 January 2021 21:10:36(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: davidlimtw How can I equate power of range to the following? How can we solve this error, anything power should be 1.
As you evaluate over a vector, use the vectorize operator.
|
|
|
|
Rank: Member Groups: Registered
Joined: 07/01/2021(UTC) Posts: 27
|
I tried to vectorize the following. What have I done wrong? Page6.sm (6kb) downloaded 3 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,368 Was thanked: 829 time(s) in 525 post(s)
|
Originally Posted by: davidlimtw I tried to vectorize the following. What have I done wrong? .... Hi. There the problem is 0^0, it is undefined, at least in SMath environment, and probably it's the best choice: return an error if appear. That for the vectorization. About w^0, without vectorization, seems that SMath try to do a scalar product, like in w^2. Remember that a^0 = 1 for a <> 0 it's by definition, not by any theorem. Best regards. Alvaro. Edited by user 21 January 2021 22:42:56(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Delete thehat are you trying to do? Everything is defined, yet, you have a range for the answer. Are you looking to plot?
|
|
|
|
Rank: Member Groups: Registered
Joined: 07/01/2021(UTC) Posts: 27
|
I am trying to plot and integrate, but no luck Page4.sm (21kb) downloaded 3 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 07/01/2021(UTC) Posts: 27
|
I just need to put a very small values instead of zero.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: davidlimtw I am trying to plot and integrate, but no luck
No luck because NO function, always plot the function you want to integrate. Pure suggestion attached ... Jean Page4.sm (36kb) downloaded 6 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
For inspiration. Heat Capacity Function1.sm (21kb) downloaded 26 time(s).Let me know if you cannot open it. Jean had an issue when I posted it yesterday
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: ElSid Let me know if you cannot open it. Jean had an issue when I posted it yesterday Oh ! Elsid ... wrong format. Our Win systems are not companions ! Take care ... Jean
|
|
|
|
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.