I have an expression containing 3 variables. Two of which are datasets ( p and k) I want to compute this expression for every p and k and have a list of sigma. I am very basic at Mathematica. How can I write a loop over this expression for the data set to have a list of sigma?
p = Import["C:\\Users\\Maryestein\\onlyp.csv", "Dataset"]
K = Import["C:\\Users\\Maryestein\\onlyk.csv", "Dataset"]
Sigma_i^2 =
9/(2*Pi^2)* [Sin[K_i*R] - K_i*R*Cos[K_i*R]]^2/(K_i*R)^6*p_i*
K_i^2*(K_i - K_ (i - 1))