LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: multiplying array elements with their indexes

Index 0 1 2 3 4 Value

  - 4 3 1 2 0 Result -0 4 9 1 16 need soluation for this problem

0 Kudos
Message 1 of 5
(3,068 Views)

Hi pankaj,

 

with this question you needed to hijack on old and unrelated thread?

I moved your question into its own thread…

 

need soluation for this problem

General rule: this forum will not solve your homework for you.

It will assist in solving problem, but it doesn't exist to provide solutions!

 

Can you elaborate on your problem?

Can you provide the mathematics behind this problem?

Can you show us your VI? What exactly you have problems with?

What is a "-0"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,061 Views)

-0 is, as we all know, the additive inverse neutral element... so we finally have a group that is really "abgeschlossen" Smiley Tongue

 

sorry it is late ..


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 5
(3,037 Views)
0 Kudos
Message 4 of 5
(3,030 Views)

pankaj2385 wrote:

  - 4 3 1 2 0 Result -0 4 9 1 16


Is this the expected and correct result? Or is this the incorrect result you currently get? Show us your code!

It seems the correct result for the array on the left would be: 0, 3, 2, 6, 0. Right?

0 Kudos
Message 5 of 5
(3,005 Views)