This paper considers a class of mechanical systems with uncertainties appearing in all the mass, damping, and stiffness matrices. Two cases, linear fractional and randomly occurring uncertainty formulations, are considered. Since sampled-data controllers have an advantage of implementing with microcontroller or digital computer to lower the implementation cost and time, a robust stochastic sampled-data controller is considered with *m* sampling intervals whose occurrence probabilities are given constants and satisfy Bernoulli distribution. A discontinuous type Lyapunov functional based on the extended Wirtinger's inequality is constructed with triple integral terms and sufficient conditions that promises the robust mean square asymptotic stability of the concerned system are derived in terms of linear matrix inequalities (LMIs). In an aim to reduce the conservatism, a newly introduced concept called the second-order reciprocally convex approach is employed in deriving the bound for some cross terms that arise while maneuvering the derivative of Lyapunov functional. The obtained LMIs can be easily solved through any of the standard available software. Finally, numerical examples are given to verify the effectiveness of the proposed theoretical results.