Use a for loop to calculate factorial(10):
f=10Γ9Γ8Γ7Γ6Γ5Γ4Γ3Γ2Γ1
(b) Now use factorial() function and compare the answers. 2. The following series can be written with a shorthand form of sigma notation (A). Use for loop syntax to calculate this arithmetic series:1
β
+ 2Γ3
1
β
+ 3Γ4
1
β
+β¦+ nΓ(n+1)
1
β
A=β nΓ(n+1)
1
β
;n=[1:10000]
β
(b) Now use a vector operation instead of a loop to calculate
A