LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CLD-R Exam 1, Question 19


@Kevin_Price wrote:

Wouldn't that be 3!*2?

6*4*2 = 3*2 * 2*2 * 1*2 = (3*2*1)*2 = 3!*2

Oops, nope.

6*4*2 = 48

(3!) * 2 = 12

Looks like you were applying the Distributive law to multiplication by accident....

-Kevin P


You're right, clearly i'm in the wrong, but the idea was that "decrease by 2" should be possible with factorial.

6*4*2 = 3*2 * 2*2 * 1*2 = (3*2*1)*2*2*2 = 3!*2^3 = 48 😉

Or Generalized:

x!(step n) = (x/n)!*n^x 

Let's try with 12!step 3

12*9*6*3 = 1944

(12/3)!*3^4 = 4!*3^4 = 24*81 = 1944  Yay! \o/

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 21 of 21
(291 Views)