Range Function Power Bug

Range Function Power Bug - Mensajes

#1 Publicado: 21/1/2021 15:08:22
Tow Wai Lim

Tow Wai Lim

0 me gusta en 42 mensajes.

Grupo: User

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.

Capture8.JPG

Page5.sm (9,89 KiB) descargado 1294 vez(es).
#2 Publicado: 21/1/2021 16:15:00
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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.

VectorEval.PNG
#3 Publicado: 21/1/2021 16:22:18
Tow Wai Lim

Tow Wai Lim

0 me gusta en 42 mensajes.

Grupo: User

I tried to vectorize the following. What have I done wrong?
Page6.sm (5,22 KiB) descargado 1362 vez(es).

Capture9.JPG
#4 Publicado: 21/1/2021 16:40:37
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

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.
#5 Publicado: 21/1/2021 16:43:05
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Delete thehat are you trying to do? Everything is defined, yet, you have a range for the answer. Are you looking to plot?
#6 Publicado: 21/1/2021 16:55:12
Tow Wai Lim

Tow Wai Lim

0 me gusta en 42 mensajes.

Grupo: User

I am trying to plot and integrate, but no luck

Page4.sm (20,72 KiB) descargado 1307 vez(es).
#7 Publicado: 21/1/2021 16:59:52
Tow Wai Lim

Tow Wai Lim

0 me gusta en 42 mensajes.

Grupo: User

I just need to put a very small values instead of zero.

Capture10.JPG
#8 Publicado: 21/1/2021 17:04:49
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 (35,03 KiB) descargado 1363 vez(es).


#9 Publicado: 21/1/2021 17:25:02
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

For inspiration. Heat Capacity Function1.sm (20,42 KiB) descargado 1715 vez(es).
Let me know if you cannot open it. Jean had an issue when I posted it yesterday
#10 Publicado: 22/1/2021 12:02:43
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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
  • Nuevos mensajes
  • Sin mensajes nuevos