/// <summary> /// Calculates approximate fundamental period (T_a) where the seismic force-resisting system consists entirely of concrete or steel moment resisting frames /// </summary> /// <param name="T_a">Approximate fundamental period, in s</param> /// <param name="N">Number of stories above the base</param> /// <param name="note"></param> /// <returns></returns> public static double Eqn_12_8_8(int N, ref RecordedCalculation Calculation, string note = null) { string equationNumber = "12.8-8"; string expression = @"0.1 N"; string resultDisplay = @"T_a"; SubCalculation subCalc = new SubCalculation(_standard, @"Calculate the approximate fundamental period", Chapter, SectionNumber, equationNumber, expression, resultDisplay); subCalc.AddVariable(new LaTexVariable("N", N)); double result = 0.1 * N; subCalc.Result = new Time(result); if (note != null) { subCalc.AddNote(note); } Calculation.AddCalculation(subCalc); return(result); }