public static Dictionary<string, object> TensileStrength(double F_y, double F_u, double A_e, double A_g, string Code = "AISC360-10")
        {
            //Default values
            double phiP_n = 0;


            //Calculation logic:
            TensionMember tm = new TensionMember();
            phiP_n = tm.GetDesignTensileCapacity(F_y, F_u, A_g, A_e);

            return new Dictionary<string, object>
            {
                { "phiP_n", phiP_n }
 
            };
        }
        /// <summary>
        ///     Effective area for tensile strength
        /// </summary>
        /// <param name="ShearLagCaseId">  Defines the type of tension element for shear lag calculation </param>
        /// <param name="U">  Shear lag factor  </param>
        /// <param name="A_n">  Net area of member   </param>
        /// <param name="A_g">  Gross cross-sectional area of member (used is parameter IsBoltedSplice is set to true)  </param>
        /// <param name="A_connected">  Area of directly connected elements (to be used for Case 3 from AISC Table D3.1) when variable IsPartiallyWeldedWithTransverseWelds is set to true </param>
        /// <param name="IsPartiallyWeldedWithTransverseWelds"> Identifies whether this is a tension members where the tension load is transmitted only by transverse welds to some but not all of the cross-sectional elements </param>
        /// <param name="IsBoltedSplice">  Identifies whether member is spliced using bolted plates </param>
        /// <param name="Code"> Applicable version of code/standard</param>
        /// <returns name="A_e"> Effective net area </returns>


        
        public static Dictionary<string, object> EffectiveNetArea(string ShearLagCaseId,double U,double A_n,
            double A_g,
            double A_connected,
            bool IsPartiallyWeldedWithTransverseWelds =false,
            bool IsBoltedSplice = false, string Code = "AISC360-10")
        {
            //Default values
            double A_e = 0;


            //Calculation logic:

            TensionMember tm = new TensionMember();
            A_e = tm.GetEffectiveNetArea(A_n, U, A_g, A_connected, IsPartiallyWeldedWithTransverseWelds, IsBoltedSplice);

            return new Dictionary<string, object>
            {
                { "A_e", A_e }
 
            };
        }