Skip to contents

Actual Cost (AC).

Usage

ac(actual_costs, time_period)

Arguments

actual_costs

Vector of actual costs incurred at each time period.

time_period

Current time period.

Value

The function returns the Actual Cost (AC) of work completed.

Examples

actual_costs <- c(9000, 18000, 36000, 70000, 100000)
time_period <- 3

ac <- ac(actual_costs, time_period)
cat("Actual Cost (AC):", ac, "\n")
#> Actual Cost (AC): 36000