What is the method used to calculate depreciation for federal income taxes(USA)?

Yours is not really a math question but....

Most large business in the U.S. use what is termed the Modified Accelerated Cost Recovery System (MACRS). There are of course exceptions. Most importantly, small business can use the method referred to as Section 179 expensing.