Range Function Power Bug

Range Function Power Bug - Сообщения

#1 Опубликовано: 21.01.2021 15:08:22
Tow Wai Lim

Tow Wai Lim

0 сообщений из 42 понравились пользователям.

Группа: 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 КиБ) скачан 20 раз(а).
#2 Опубликовано: 21.01.2021 16:15:00
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 21.01.2021 16:22:18
Tow Wai Lim

Tow Wai Lim

0 сообщений из 42 понравились пользователям.

Группа: User

I tried to vectorize the following. What have I done wrong?
Page6.sm (5 КиБ) скачан 24 раз(а).

Capture9.JPG
#4 Опубликовано: 21.01.2021 16:40:37
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 Опубликовано: 21.01.2021 16:43:05
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: 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 Опубликовано: 21.01.2021 16:55:12
Tow Wai Lim

Tow Wai Lim

0 сообщений из 42 понравились пользователям.

Группа: User

I am trying to plot and integrate, but no luck

Page4.sm (20 КиБ) скачан 23 раз(а).
#7 Опубликовано: 21.01.2021 16:59:52
Tow Wai Lim

Tow Wai Lim

0 сообщений из 42 понравились пользователям.

Группа: User

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

Capture10.JPG
#8 Опубликовано: 21.01.2021 17:04:49
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 24 раз(а).


#9 Опубликовано: 21.01.2021 17:25:02
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

For inspiration. Heat Capacity Function1.sm (20 КиБ) скачан 54 раз(а).
Let me know if you cannot open it. Jean had an issue when I posted it yesterday
#10 Опубликовано: 22.01.2021 12:02:43
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений