If you are talking electrical power, take a sample as an array of double of the current, same for voltage, use the RMS block on both I, V and multiply the result.
add all the outcome / example 15, 64, 21, 7, 10, 3 = 120. Then divide the sum of all the numbers by the number of numbers/ example, take 120 divided by 6=20. So the average number out of all the...