Trigonometric function transformation and its application in software reliability modeling Authors: Dai-Nghia Vy, Van-Thuan Nguyen, Quyet-Thang Huynh, Trung-Nghia Phung, Hung-Cuong Nguyen, Mallikarjuna Reddy Kesama, Mallikarjuna Reddy Kesama, Mallikarjuna Reddy Kesama Published: 2025 ABSTRACT Context: Many models based on S-shaped functions demonstrate their advantages in non-homogeneous Poisson process software reliability modeling. However, three well-known types have been used without deep mathematical evaluation. Furthermore, some other promising S-shaped functions should be aimed at.Objectives: (1) Transform the sine function to change the domain and co-domain without losing the S-shaped pattern, and (2) Evaluate four types of S-shaped functions mathematically, including three well-known types and this newly considered type of transformation form of the trigonometric function.Methods: The transformation is taken by a four-step process, including horizontal and vertical shift, horizontal and vertical scale, to maintain the S-shaped form. The mathematical evaluation is performed using numerical analysis techniques in four aspects of function: special cases, domain, range, and limitations.Results: The first contribution is a deep mathematical appreciation of three well-known S-shaped functions. The second is the mathematical transformation of the trigonometric function to meet the real assumption. The last are the advantages and the applicability of this transformation in software reliability modeling.Conclusion: Besides three well-used S-shaped functions, the transformation of the trigonometric function has a new advantage. Most importantly, there is a possibility of using the trigonometric function to introduce a new software reliability model. 1 Introduction Over seven decades of affecting all the areas of human life [1], the number of developed software has exceeded 10 million. Software engineering [2], including methodology, programming language, framework, and tool, becomes increasingly complex to meet real-life requirements. Those complicated problems led to the insistence on maintaining the software quality. In the scope of this paper, the regarded topic is non-homogeneous Poisson process (NHPP) software reliability modeling (SRM), that is, the application of probability technique in evaluating one of software quality characteristics [3,4]. Among models belonging to the NHPP SRMs group [5], the S-shaped curves have been widely studied. This term S-shaped is based on the pattern of the letter S, the nineteenth letter of the Latin alphabet. The S-shaped curve increases continuously over time when the growth rate is time-dependent. Geometrically, an S-shaped curve is a merging of convex and concave parts. Some studied S-shaped functions [6–13] verify the usability of this shape. However, previous publications have not thoroughly reviewed those functions analytically. In addition, some well-known trigonometric functions contain some parts that are S-shaped. Notwithstanding, the domain and codomain of trigonometric functions are bounded, so it does not reflect real-life quantities. So this paper (1) deeply analyzes some used S-shaped functions to summarize the advantages and the flaws, and subsequently (2) discusses a new type of S-shaped function, the transformation of the trigonometric function. The rest of this article is organized into the following sections. The second section discusses the literature on the S-shaped functions in NHPP SRM. The next section introduces the transformation of the trigonometric function. The third section analyses those four S-shaped functions mathematically. Section 3 evaluates the applicability of the transformation in NHPP SRM. The last section summarizes all works and proposes some promising works to extend. 2 Software reliability modelling 2.1 NHPP SRM The software testing timeline is modeled using the Poisson process. The terminology non-homogeneous is reflected by the parameter of the Poisson distribution, which is a time-dependent function. By time t, the software system has a(t) faults while testers detected and removed m(t) of them. So there are still a(t)–m(t) faults. Consider a short period Δt from t to t + Δt, the number of detected faults is m(t) and m(t + Δt), respectively. Therefore, this period detects m(t+Δt)−m(t) faults. As Δt is a short time, assuming that the number of remaining faults, i.e., a(t)–m(t), and the fault detection rate, i.e., b(t), are constant. With notation of o(·) which limΔt→0o(Δt)=0, there is a relationship between those quantities: Let Δt→0, the differential equation is: The general solution [10] of Eq (2) is given by: where In most cases, researchers focus on m(0)=0 and t0 = 0, so (3) can be shortened to: where The main obstacle to proposing NHPP SRM is the integral calculation in Eq (5) when specific functions a(t) and b(t) are applied. 2.2 S-shaped functions in SRM The term S-shaped reflects the growth of the function and can be partitioned into 5 phases: Phase 1. Firstly, the function increases from a lower bound with a small growth rate. Phase 1. Firstly, the function increases from a lower bound with a small growth rate. Phase 2. Next, it increases the growth rate; therefore, the function increases more quickly. Phase 2. Next, it increases the growth rate; therefore, the function increases more quickly. Phase 3. The function goes through inflection point, which is the point that the first derivation of the function changes from positive to negative quantities. Phase 3. The function goes through inflection point, which is the point that the first derivation of the function changes from positive to negative quantities. Phase 4. The growth rate decreases, so the function increases more slowly. Phase 4. The growth rate decreases, so the function increases more slowly. Phase 5. Lastly, the function converges to the upper bound. Phase 5. Lastly, the function converges to the upper bound. Generally, the 2nd and 4th phases are the main parts of the S-shaped function, which are the convex and concave functions, respectively. There are some types of S-shaped functions in NHPP SRM that have been used as fault detection rates. First form [6,7] is Eq (7): Substitute into Eq (5): Inflection form [8–11] is in Eq (11): Substitute into Eq (5): And extended inflection form [12–14] is in Eq (11): Substitute into Eq (5): There are some studied models which use S-shaped functions in Table 1. 10.1371/journal.pone.0339286.t001Table 1Some existing NHPP SRMs.NoModelModeling functions1.Inflectiona(t)=a b(t)=b1+βe−btS-shaped [8] m(t)=a×ebt−1ebt+β 2.Delayeda(t)=a b(t)=b2tbt+1S-shaped [7]m(t) = a[1−(1 + bt)e−bt]3.PNZ [9]a(t)=a(1+αt) b(t)=b1+βe−bt m(t)=a1+βe−bt[(1−e−bt)(1−αb)+αt] 4.Phama(t)=aeαt b(t)=b1+βe−btexponential [10] m(t)=ab(eαt−e−bt)(α+b)(1+βe−bt) 5.Pham Zhang [11]a(t)=a−ke−αt b(t)=b1+βe−bt m(t)=11+βe−bt[a(1−e−bt)−bk(e−αt−e−bt)b−α] 6.Phama(t) = a(1 + bt)2 b(t)=b2tbt+1parameter [6]m(t) = a(bt + 1)(bt + e−bt−1)7.Cuong-Thanga(t)=a b(t)=1+kβe−bt1+βe−bt3-parameterS-shaped [14] [12] m(t)=a−aebkt(ebt+β1+β)k−1 8.Imperfect debugginga(t)=a b(t)=1+kβe−bt1+βe−btCuong-Thang3-parameter m(t)=a−aebkt(ebt+β1+β)k−1 S-shaped [14] [12] Some existing NHPP SRMs. 3 Trigonometric function transformation 3.1 Trigonometric function Originally, trigonometric functions were the ratios between angles of the right triangle. The first analysis consideration [15] of a trigonometric function is in 1669 by the derivation of the power series for the sine function of Isaac Newton. There are three famous trigonometric functions sine sin(t), cosine cos(t), and tangent tan(t). Their reciprocals are the cosecant, the secant, and the cotangent, respectively. Each of those six functions has a corresponding inverse function (e.g. sin−1t or sin−1(t) or arcsint) and hyperbolic functions (sinh(t), cosh(t), tanh(t), coth(t), sech(t), and csch(t)). The angle, i.e., the unit of the input of a trigonometric function, can be measured by degrees in geometry and radians in calculus, in which the value milestones are 360∘ and 2π and their multiples, respectively. Trigonometric functions are periodic functions which period is 2π or π, i.e. sin(t)=sin(t + 2π)=sin(t + 2kπ) and tan(t)=tan(t + π)=tan(t + kπ). The periodical of sin(t) is illustrated at the top of Fig 1. S-shaped as a part of sin(t) function. The rest of this manuscript studies the most well-known trigonometric function sin(t). As shown at the bottom of Fig 1, a part of the sin(t) function in [−π2,π2] has an S-shaped pattern. sin(t) increase in all of t∈[−π2,π2] while growth rate in [−π2,0) and (0,π2] are positive and negative, respectively. 3.2 Trigonometric function transformation sin(t) has an S-shaped form, but the lower bound, upper bound, and growth rate are fixed [16]. In the period [−π2,π2] of length π, the range of codomain is 2 when minsin(t)=−1 and maxsin(t)=1 and the inflection point is (x,y)=(0,0). To apply this trigonometric function, we need to transform it. Aspects that need to be transformed include (1) the domain range in which sin(t) remains an S-shaped pattern, (2) the codomain as a couple of (min, max), and (3) the position of the inflection point as a moment when sin(t) changes its behavior. As illustrated in Fig 2, those aspects can be met by the mathematical transformation of sin(t), which includes 4 steps: Step 1. From f(t)=sin(t), it is scaled vertically to change the range of codomain, i.e., maxsin(t)−minsin(t):f(t)=bsin(t) (13) Step 1. From f(t)=sin(t), it is scaled vertically to change the range of codomain, i.e., maxsin(t)−minsin(t):f(t)=bsin(t) (13) Step 2. From Eq (13), it is scaled horizontally to change the length of the period in which sin(t) remains in an S-shaped pattern:f(t)=bsin(βt) (14) Step 2. From Eq (13), it is scaled horizontally to change the length of the period in which sin(t) remains in an S-shaped pattern:f(t)=bsin(βt) (14) Step 3. From Eq (14), it is shifted horizontally to change the bounds of the function domain:f(t)=bsin(βt+φ) (15) Step 3. From Eq (14), it is shifted horizontally to change the bounds of the function domain:f(t)=bsin(βt+φ) (15) Step 4. From Eq (15), it is shifted vertically to change the bounds of the function codomain:b4(t)=bsin(βt+φ)+k (16) Step 4. From Eq (15), it is shifted vertically to change the bounds of the function codomain:b4(t)=bsin(βt+φ)+k (16) Transformation from f(t)=sin(t) to f(t)=bsin(βt+φ)+k. Table 2 shows the function b4(t) when some of variables vanishes. Because of their appearance in multiplication, b and β vanish when they take a value of 1. On the other hand, φ and k appear in addition, so they vanish when taking a value of 0. For example, when β=1 and φ=0, b4(t) becomes bsin(1.t+0)+k=b49(t)=bsin(t)+k. 10.1371/journal.pone.0339286.t002Table 2Function b4(t)=bsin(βt+φ)+k when some variables are vanished.CaseVanishment b4(t) b β φ k 1 b41(t)=bsin(βt+φ)+k m41(t)=[ecos(βt+φ)]bβekt∫0ta(τ)[bsin(βτ+φ)+k]ekτ[ecos(βτ+φ)]bβdτ 2 ✓ b42(t)=sin(βt+φ)+k m42(t)=[ecos(βt+φ)]1βekt∫0ta(τ)[sin(βτ+φ)+k]ekτ[ecos(βτ+φ)]1βdτ 3 ✓ b43(t)=bsin(t+φ)+k m43(t)=[ecos(t+φ)]bekt∫0ta(τ)[bsin(τ+φ)+k]ekτ[ecos(τ+φ)]bdτ 4 ✓ b44(t)=bsin(βt)+k m44(t)=[ecos(βt)]bβekt∫0ta(τ)[bsin(βτ)+k]ekτ[ecos(βτ)]bβdτ 5 ✓ b45(t)=bsin(βt+φ) m45(t)=[ecos(βt+φ)]bβ∫0ta(τ)[bsin(βτ+φ)]1[ecos(βτ+φ)]bβdτ 6 ✓ ✓ b46(t)=sin(t+φ)+k m46(t)=ecos(t+φ)ekt∫0ta(τ)[sin(τ+φ)+k]ekτecos(τ+φ)dτ 7 ✓ ✓ b47(t)=sin(βt)+k m47(t)=[ecos(βt)]1βekt∫0ta(τ)[sin(βτ)+k]ekτ[ecos(βτ)]1βdτ 8 ✓ ✓ b48(t)=sin(βt+φ) m48(t)=[ecos(βt+φ)]1β∫0ta(τ)[sin(βτ+φ)]1[ecos(βτ+φ)]1βdτ 9 ✓ ✓ b49(t)=bsin(t)+k m49(t)=[ecos(t)]bekt∫0ta(τ)[bsin(τ)+k]ekτ[ecos(τ)]bdτ 10 ✓ ✓ b410(t)=bsin(t+φ) m410(t)=[ecos(t+φ)]b∫0ta(τ)[bsin(τ+φ)]1[ecos(τ+φ)]bdτ 11 ✓ ✓ b411(t)=bsin(βt) m411(t)=[ecos(βt)]bβ∫0ta(τ)[bsin(βτ)]1[ecos(βτ)]bβdτ 12 ✓ ✓ ✓ b412(t)=sin(t)+k m412(t)=ecos(t)ekt∫0ta(τ)[sin(τ)+k]ekτecos(τ)dτ 13 ✓ ✓ ✓ b413(t)=sin(t+φ) m413(t)=ecos(t+φ)∫0ta(τ)[sin(τ+φ)]1ecos(τ+φ)dτ 14 ✓ ✓ ✓ b414(t)=sin(βt) m414(t)=[ecos(βt)]1β∫0ta(τ)[sin(βτ)]1[ecos(βτ)]1βdτ 15 ✓ ✓ ✓ b415(t)=bsin(t) m415(t)=[ecos(t)]b∫0ta(τ)[bsin(τ)]1[ecos(τ)]bdτ 16 ✓ ✓ ✓ ✓ b416(t)=sin(t) m416(t)=ecos(t)∫0ta(τ)sin(τ)1ecos(τ)dτ Function b4(t)=bsin(βt+φ)+k when some variables are vanished. 3.3 Applying trigonometric function transformation in NHPP SRM Substitute Eq (16) into (6), we have: Eq (5) becomes: To get a solution of Eq (18), we should choose one of the following ways: A suitable function a(τ). A suitable function a(τ). Considering the vanishment of some parameters of set {b,β,φ,k}. Considering the vanishment of some parameters of set {b,β,φ,k}. or apply both on one single use. Substitute each case of b4(t) from Table 2 into Eq (18), m4(t) are in Table 2. 4 Numerical analysis Let Υ(x) be a sign function of x. ∧ is an AND logic operator. 4.1 First form Let consider: If b = 0, b1(t) becomes a constant function of 0. If b≠0, we have: The domain of b1(t), ∂∂tb1(t), and ∂2∂t2b1(t) are: The range of b1(t), ∂∂tb1(t), and ∂2∂t2b1(t) are: Fig 3 illustrates b1(t) in some cases of parameters: green line in case of b = 1.5, light blue line in case of b = 0.5, red line in case of b = 1.0, and orange line in case of b = −1.0. Pure lines are in rational cases and dashed lines in others. Numerical illustration of b1(t). Limitations of b1(t) and ∂∂tb1(t) are in Table 3. So variation table of b1(t) when b > 0 and b < 0 are in Table 4 and Table 5, respectively. We can see that this form is not fully S-shaped because it only contains the two last phases of the S-shaped curve as described in sub-section 2.2. b1(t) does not have an early, quick growth period and an inflection point. In [−1b,+∞), it grows slowlier because the ∂2∂t2b1(t) is negative, then ∂∂tb1(t) is decreased. Furthermore, limt→+∞b1(t)=b reflects the convergence of this function to an upper bound as illustrated in Fig 3. 10.1371/journal.pone.0339286.t003Table 3Limitations of b1(t) and ∂∂tb1(t). t→ −∞ +∞ (−1b)− (−1b)+ b1(t)→ b + b − +∞ −∞ ∂∂tb1(t)→ 0 + 0 + +∞ +∞ Limitations of b1(t) and ∂∂tb1(t). 10.1371/journal.pone.0339286.t004Table 4Variation table of b1(t) when b > 0.t −∞ −1b 0 +∞ ∂2∂t2b1(t) +- +∞ +∞ ∂∂tb1(t) ↗ ↘ 00 +∞ ↗ bbb1(t) ↗ 0 ↗ −∞ Variation table of b1(t) when b > 0. 10.1371/journal.pone.0339286.t005Table 5Variation table of b1(t) when b < 0.t-∞0 −1b +∞ ∂2∂t2b1(t) +- +∞ +∞ ∂∂tb1(t) ↗ ↘ 00 +∞ ↗ 0b1(t) ↗ bb ↗ −∞ Variation table of b1(t) when b < 0. 4.2 Second form Let consider: We have some special cases: If (b,β)=(0,−1), b2(t) is indeterminate. If (b,β)=(0,−1), b2(t) is indeterminate. If b = 0 and β≠−1, b2(t) becomes constant function of 0. If b = 0 and β≠−1, b2(t) becomes constant function of 0. If β=0, b2(t) becomes constant function of b. If β=0, b2(t) becomes constant function of b. In other cases in next subsub-sections when b≠0 and β≠0, we have: The domain of b2(t), ∂∂tb2(t), and ∂2∂t2b2(t) are: The range of b2(t), ∂∂tb2(t), and ∂2∂t2b2(t) are: ∂2∂t2b2(t)=0⇔β>0~and~x2=lnβb, then inflection point of b2(t) is (x2,y2)=(lnβb,b2) when β>0. Limitations of b2(t), ∂∂tb2(t), and ∂2∂t2b2(t) are in Table 6. 10.1371/journal.pone.0339286.t006Table 6Limitations of b2(t) and ∂∂tb2(t). t→ −∞ +∞ (ln|β|b)− (ln|β|b)+ b > 0, β>0 b2(t)→ 0 + b − (b2)− (b2)+ ∂∂tb2(t)→ 0 + 0 + (b24)− (b24)− b > 0, β<0 b2(t)→ 0− b + −∞ +∞ ∂∂tb2(t)→ 0−0− −∞ −∞ b < 0, β>0 b2(t)→ b + 0− (b2)− (b2)+ ∂∂tb2(t)→ 0 + 0 + (b24)− (b24)− b < 0, β<0 b2(t)→ b − 0 + −∞ +∞ ∂∂tb2(t)→ 0−0− −∞ −∞ Limitations of b2(t) and ∂∂tb2(t). So variation table of b2(t) are in Tables 7, 8, 9, and 10. Fig 4 illustrates b2(t) in some cases of parameters: blue line in case of (b,β)=(3,2), red line in case of (b,β)=(2,3), green line in case of (b,β)=(1.2,−2.2), orange line in case of (b,β)=(−1.4,2.4), and purple line in case of (b,β)=(−1.6,−2.6). Pure lines are in rational cases and dashed lines in others. The triangle with the corresponding filled color is the inflection point of each curve. Numerical illustration of b2(t). 10.1371/journal.pone.0339286.t007Table 7Variation table of b2(t) when b > 0 and β >0.t −∞ lnβb +∞ ∂2∂t2b2(t) +0- b24 ∂∂tb2(t) ↗ ↘ 00b ↗ b2(t) b2 ↗ 0 Variation table of b2(t) when b > 0 and β >0. 10.1371/journal.pone.0339286.t008Table 8Variation table of b2(t) when b > 0 and β <0.t −∞ ln(−β)b +∞ ∂2∂t2b2(t) -+00 ∂∂tb2(t) ↘ ↗ −∞ −∞ +∞ ↘ b2(t)b0 ↘ −∞ Variation table of b2(t) when b > 0 and β <0. 10.1371/journal.pone.0339286.t009Table 9Variation table of b2(t) when b < 0 and β >0.t −∞ lnβb +∞ ∂2∂t2b2(t) +0- b24 ∂∂tb2(t) ↗ ↘ 000 ↗ b2(t) b2 ↗ b Variation table of b2(t) when b < 0 and β >0. 4.3 Third form Let consider: We have some special cases: If (b,β)=(0,−1), b2(t) is indeterminate. If (b,β)=(0,−1), b2(t) is indeterminate. If b = 0 and β≠−1, b3(t) becomes constant function of 0. If b = 0 and β≠−1, b3(t) becomes constant function of 0. If β=0, b3(t) becomes constant function of b. If β=0, b3(t) becomes constant function of b. If k = 1, b3(t) becomes constant function of b. If k = 1, b3(t) becomes constant function of b. If k = 0, b3(t) becomes b2(t). If k = 0, b3(t) becomes b2(t). In other cases in next subsub-sections when b≠0, β≠0, and k≠1, we have: The domain of b3(t), ∂∂tb3(t), and ∂2∂t2b3(t) are: The range of b3(t), ∂∂tb3(t), and ∂2∂t2b3(t) are: So ∂2∂t2b3(t)=0⇔β>0~and~x3=lnβb, then inflection point of b3(t) is (x3,y3)=(lnβb,b(k+1)2) when β>0. Table 11 are limitations of b3(t), ∂∂tb3(t), and ∂2∂t2b3(t). So variation table of b3(t) when b > 0, β>0, and k>1 are in Tables 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, and 25. 10.1371/journal.pone.0339286.t010Table 10Variation table of b2(t) when b < 0 and β <0.t −∞ ln(−β)b +∞ ∂2∂t2b2(t) -+00 ∂∂tb2(t) ↘ ↗ −∞ −∞ +∞ ↘ b2(t)0b ↘ −∞ Variation table of b2(t) when b < 0 and β <0. 10.1371/journal.pone.0339286.t011Table 11Limitations of b3(t) and ∂∂tb3(t). t→ −∞ +∞ (ln|β||b|)− (ln|β||b|)+ b > 0 and β>0 and k>1 b3(t)→ bk − b + (b(k+1)2)+ (b(k+1)2)− ∂∂tb3(t)→ 0−0− (−b2(k−1)4)+ (−b2(k−1)4)+ b > 0 and β>0 and k<1 b3(t)→ bk + b − (b(k+1)2)− (b(k+1)2)+ ∂∂tb3(t)→ 0 + 0 + (−b2(k−1)4)− (−b2(k−1)4)− b > 0 and β<0 and k>1 b3(t)→ bk + b − +∞ −∞ ∂∂tb3(t)→ 0 + 0 + +∞ +∞ b > 0 and β<0 and k<1 b3(t)→ bk − b + −∞ +∞ ∂∂tb3(t)→ 0−0− −∞ −∞ b < 0 and β>0 and k>1 b3(t)→ b − bk + (b(k+1)2)+ (b(k+1)2)− ∂∂tb3(t)→ 0−0− (−b2(k−1)4)+ (−b2(k−1)4)+ b < 0 and β>0 and k<1 b3(t)→ b + bk − (b(k+1)2)− (b(k+1)2)+ ∂∂tb3(t)→ 0 + 0 + (−b2(k−1)4)− (−b2(k−1)4)− b < 0 and β<0 and k>1 b3(t)→ b + bk − +∞ −∞ ∂∂tb3(t)→ 0 + 0 + +∞ +∞ b < 0 and β<0 and k<1 b3(t)→ b − bk + −∞ +∞ ∂∂tb3(t)→ 0−0− −∞ −∞ Limitations of b3(t) and ∂∂tb3(t). 10.1371/journal.pone.0339286.t012Table 12Variation table of b3(t) when b > 0, β >0, and k > 1.t −∞ lnβb +∞ ∂2∂t2b3(t) –0+00 ∂∂tb3(t) ↘ ↗ −b2(k−1)4 bk ↘ b3(t) b(k+1)2 ↘ b Variation table of b3(t) when b > 0, β >0, and k > 1. 10.1371/journal.pone.0339286.t013Table 13Variation table of b3(t) when b > 0, β >0, and 0 < k < 1.t −∞ lnβb +∞ ∂2∂t2b3(t) +0– −b2(k−1)4 ∂∂tb3(t) ↗ ↘ 00b ↗ b3(t) b(k+1)2 ↗ bk Variation table of b3(t) when b > 0, β >0, and 0 < k < 1. 10.1371/journal.pone.0339286.t014Table 14Variation table of b3(t) when b > 0, β >0, and –1 < k < 0.t −∞ ln(−kβ)b lnβb +∞ ∂2∂t2b3(t) +0– −b2(k−1)4 ∂∂tb3(t) ↗ ↘ 00b ↗ b3(t) b(k+1)2 ↗ 0 ↗ bk Variation table of b3(t) when b > 0, β >0, and –1 < k < 0. 10.1371/journal.pone.0339286.t015Table 15Variation table of b3(t) when b > 0, β >0, and k<–1.t −∞ lnβb ln(−kβ)b +∞ ∂2∂t2b3(t) +0– −b2(k−1)4 ∂∂tb3(t) ↗ ↘ 00b ↗ b3(t)0 ↗ b(k+1)2 ↗ bk Variation table of b3(t) when b > 0, β >0, and k<–1. Figs 5, 6, and 7 illustrate b3(t) in cases of parameters. Fig 5 illustrates when b > 0 and β>0 which are green line in case of (b,β,k)=(2,1,−0.5), blue line in case of (b,β,k)=(1.5,2,0.2), red line in case of (b,β,k)=(1,4,2), and orange line in case of (b,β,k)=(2,1,−1.2). Numerical illustration of b3(t) when b > 0 and β >0. Numerical illustration of b3(t) when b < 0 and β >0. Numerical illustration of b3(t) when β <0. 10.1371/journal.pone.0339286.t016Table 16Variation table of b3(t) when b > 0, β <0, and k > 1.t −∞ ln(−β)b ln(−kβ)b +∞ ∂2∂t2b3(t) +– +∞ +∞ ∂∂tb3(t) ↗ ↘ 00 +∞ ↗ b3(t)bkb ↗ 0 ↗ −∞ Variation table of b3(t) when b > 0, β <0, and k > 1. 10.1371/journal.pone.0339286.t017Table 17Variation table of b3(t) when b > 0, β <0, and 0 < k < 1.t −∞ ln(−kβ)b ln(−β)b +∞ ∂2∂t2b3(t) –+00 ∂∂tb3(t) ↘ ↗ −∞ −∞ +∞ ↘ b3(t)bbk ↘ 0 ↘ −∞ Variation table of b3(t) when b > 0, β <0, and 0 < k < 1. 10.1371/journal.pone.0339286.t018Table 18Variation table of b3(t) when b > 0, β <0, and k < 0.t −∞ ln(−β)b +∞ ∂2∂t2b3(t) –+00 ∂∂tb3(t) ↘ ↗ −∞ −∞ +∞ ↘ b3(t)bbk ↘ −∞ Variation table of b3(t) when b > 0, β <0, and k < 0. 10.1371/journal.pone.0339286.t019Table 19Variation table of b3(t) when b < 0, β >0, and k > 1.t −∞ lnβb +∞ ∂2∂t2b3(t) –0+00 ∂∂tb3(t) ↘ ↗ −b2(k−1)4 b ↘ b3(t) b(k+1)2 ↘ bk Variation table of b3(t) when b < 0, β >0, and k > 1. 10.1371/journal.pone.0339286.t020Table 20Variation table of b3(t) when b < 0, β >0, and 0 < k < 1.t −∞ lnβb +∞ ∂2∂t2b3(t) +0– −b2(k−1)4 ∂∂tb3(t) ↗ ↘ 00bk ↗ b3(t) b(k+1)2 ↗ b Variation table of b3(t) when b < 0, β >0, and 0 < k < 1. 10.1371/journal.pone.0339286.t021Table 21Variation table of b3(t) when b < 0, β >0, and –1 < k < 0.t −∞ lnβb ln(−kβ)b +∞ ∂2∂t2b3(t) +0– −b2(k−1)4 ∂∂tb3(t) ↗ ↘ 00bk ↗ 0 ↗ b3(t) b(k+1)2 ↗ b Variation table of b3(t) when b < 0, β >0, and –1 < k < 0. 10.1371/journal.pone.0339286.t022Table 22Variation table of b3(t) when b < 0, β >0, and k<–1.t −∞ ln(−kβ)b lnβb +∞ ∂2∂t2b3(t) +0– −b2(k−1)4 ∂∂tb3(t) ↗ ↘ 00bk ↗ b3(t) b(k+1)2 ↗ 0 ↗ b Variation table of b3(t) when b < 0, β >0, and k<–1. 10.1371/journal.pone.0339286.t023Table 23Variation table of b3(t) when b < 0, β <0, and k > 1.t −∞ ln(−kβ)b ln(−β)b +∞ ∂2∂t2b3(t) +– +∞ +∞ ∂∂tb3(t) ↗ ↘ 00 +∞ ↗ 0 ↗ b3(t)bbk ↗ −∞ Variation table of b3(t) when b < 0, β <0, and k > 1. 10.1371/journal.pone.0339286.t024Table 24Variation table of b3(t) when b < 0, β <0, and 0 < k < 1.t −∞ ln(−β)b ln(−kβ)b +∞ ∂2∂t2b3(t) –+00 ∂∂tb3(t) ↘ ↗ −∞ −∞ +∞ ↘ 0 ↘ b3(t)bkb ↘ −∞ Variation table of b3(t) when b < 0, β <0, and 0 < k < 1. 10.1371/journal.pone.0339286.t025Table 25Variation table of b3(t) when b < 0, β <0, and k < 0.t −∞ ln(−β)b +∞ ∂2∂t2b3(t) –+00 ∂∂tb3(t) ↘ ↗ −∞ −∞ +∞ ↘ b3(t)bkb ↘ −∞ Variation table of b3(t) when b < 0, β <0, and k < 0. Fig 6 corresponds with b < 0 and β>0. The parameters are similar to Fig 5 except b is negative: green line in case of (b,β,k)=(−2,1,−0.5), blue line in case of (b,β,k)=(−1.5,2,0.2), red line in case of (b,β,k)=(−1,4,2), and orange line in case of (b,β,k)=(−2,1,−1.2). The last illustration of this third form is Fig 7 when β<0: green line in case of (b,β,k)=(1.5,−2,−1), blue line in case of (b,β,k)=(1.5,−2,0.5), red line in case of (b,β,k)=(1,−4,1.5), orange line in case of (b,β,k)=(−1,−4,1.5), purple line in case of (b,β,k)=(−1.5,−2,0.5), and black line in case of (b,β,k)=(−1.5,−2,−1). The triangle with the corresponding filled color is the inflection point of each curve. Pure lines are in rational cases and dashed lines in others. 4.4 Fourth form Let consider: So And Special cases of b4(t) are listed in Table 2. Because sin(t) is a periodic function, it is necessary to evaluate the rational domain and the codomain of this function. Its period is 2π, so [−π,π] is considered initially. After it is scaled and shifted horizontally, the domain becomes [−π−φβ,π−φβ]. After sin(t)∈[−1,1] is scaled and shifted vertically, the codomain becomes [k−|b|,k+|b|]. sin(t) and cos(t) are continuous function, so limitations of b4(t), ∂∂tb4(t), and ∂2∂t2b4(t) at any point are those values at this point. Let consider: Therefore, without loss of generality, let’s focus on the case of (b>0∧β>0) instead of cases of (b>0∧β<0), (b<0∧β>0), and (b<0∧β<0). From those analysis, b4(t) will be studied in [−π−φβ,π−φβ] when (b>0∧β>0). Let t* is the solution of b4(t)=bsin(βt+φ)+k=0 in [0,π−φ2β], i.e. t*=[sin−1(−kb)−φ]1β. As mentioned before, b4(t)∈[k−b,k+b], so the range of b4(t), ∂∂tb4(t), and ∂2∂t2b4(t) are: So ∂2∂t2b4(t)=0⇔x4∈{−π−φβ,−φβ,π−φβ}, then inflection points of b4(t) are (x4,y4)∈{(−π−φβ,k), (−φβ,k), (π−φβ,k)}. The variation table of b4(t) are in Tables 26, 27, and 28. 10.1371/journal.pone.0339286.t026Table 26Variation table of b4(t) when k > b or k<–b.t −π−φβ −π−2φ2β −φβ π−2φ2β π−φβ ∂2∂t2b4(t) 0+0–0 bβ ↗ ↘ ∂∂tb4(t) 00 ↗ ↘ −bβ −bβ k + b ↗ ↘ b4(t)kkk ↘ ↗ k–b Variation table of b4(t) when k > b or k<–b. 10.1371/journal.pone.0339286.t027Table 27Variation table of b4(t) when b > k > 0.t −π−φβ t*–1 −π−2φ2β –t* −φβ π−2φ2β π−φβ ∂2∂t2b4(t) 0+0–0 bβ ↗ ↘ ∂∂tb4(t) 00 ↗ ↘ −bβ −bβ k + b ↗ ↘ b4(t)kkk ↘ ↗ 00 ↘ ↗ k–b Variation table of b4(t) when b > k > 0. 10.1371/journal.pone.0339286.t028Table 28Variation table of b4(t) when 0>k>–b.t −π−φβ −π−2φ2β −φβ t* π−2φ2β 1–t* π−φβ ∂2∂t2b4(t) 0+0–0 bβ ↗ ↘ ∂∂tb4(t) 00 ↗ ↘ −bβ −bβ k + b ↗ ↘ 00 ↗ ↘ b4(t)kkk ↘ ↗ k–b Variation table of b4(t) when 0>k>–b. Fig 8 illustrates b4(t) in some cases of parameters: red line in case of (b,β,φ,k)=(2,0.4,0,1), blue line in case of (b,β,φ,k)=(2,−0.4,−3,1), green line in case of (b,β,φ,k)=(−2,0.4,−3.5,0.5), and orange line in case of (b,β,φ,k)=(−2,−0.4,0.5,−0.5). The triangle with the corresponding filled color is the inflection point of each curve. Numerical illustration of b4(t). 4.5 Rational range of four S-shaped functions Table 29 summarizes the properties of four S-shaped functions. The first column is the following aspects, which are divided into four groups by thicker lines. 172 Special cases of parameters of a function take on certain values, and the function could become a simpler form. For example, when a = 0, quadratic polynomial f2(x)=ax2 + 2x + 3 becomes linear polynomial f1(x) = 2x + 3. 173 Domain is the set of legal inputs of function. 10.1371/journal.pone.0339286.t029Table 29Rational range of four S-shaped functions.b1(t)b2(t)b3(t)b4(t) b=0⇒b1(t)=0 (b,β)=(0,−1)⇒b2(t) is undefined(b,β)=(0,−1)⇒b3(t) is undefinedAs in Table 2 b=0∧β≠−1⇒b2(t)=0 b=0∧β≠−1⇒b3(t)=0 β=0⇒b2(t)=b β=0⇒b3(t)=b k=1⇒b3(t)=b k=0⇒b3(t)=b2(t) ℝ⧵{−1b} t∈X t∈X ℝ ∀b β>0 β>0∧k<1 ∀b,β,φ,k β<0∧k>1 55 β>0 β>0∧k<1 ∀b,β,φ,k b > 0 b>0∧β>0 b>0∧β>0∧k<1 k+|b|>0 b>0∧β<0∧k>1 b<0∧β>0∧k<0 55 b>0∧β>0 b>0∧β>0∧−1 0 b<0∧β>0∧k<−1 55 b>0∧β>0 b>0∧β>0∧00 b>0∧β>0 b>0∧β>0∧k<1 k+|b|>0 55 b>0∧β<0∧k>1 b<0∧β>0∧k<0 55 b>0∧β>1 b>0∧β>1∧−1 0 b<0∧1>β>0∧k<−1 555555 k−|b|>0 Rational range of four S-shaped functions. The next aspect to consider is whether the function has an S-shaped pattern or not. As mentioned in Sect 2.2, the 2nd phase, as convex, and the 4th phase, as concave, of the function are often focused on. So 174 Part S-shaped is the case where the function has a later part of an S-shaped curve. It is later instead of the earlier part because this part satisfies the real condition "the ability of the tester has a limitation, so it converges to a specific value after a long time". And then, 175 Fully S-shaped is when the function has the whole form of S-shaped. Certainly, the fault detection rate, i.e., the ratio of detected errors to total system errors, has to reach a positive value. So it should analyze whether the S-shaped part of the function is positive or not. 176 Positive part S-shaped is in case S-shaped part of 174 is positive. 177 Positive 2 phases S-shaped relates to the newly perspective. As mentioned in Sect 2.2, the 2nd phase of convex and 4th phase of concave are the main parts of an S-shaped curve, so 177 evaluates the positive part of the curve that contains both two phases or just one of them. Similar to 176, 178 Positive fully S-shaped is in case the S-shaped curve of 175 is positive. The next variable is time t, which should be analyzed in the positive range. 179 Positive part S-shaped when t≥0, 180 Positive 2 phases part S-shaped when t≥0, and 181 Positive fully S-shaped when t≥0 are corresponded cases of 176, 177, and 178 when t≥0, respectively. This tabular summary shows the advantages of the transformation of the trigonometric function over the previous S-shaped functions. The first, transformation of a trigonometric function, is the only function that can reach a fully S-shaped form when t≥0, which is presented in the last row. The second, this fourth S-shaped form b4(t) can reach all cases from 174 to 180 more easily than other forms. Furthermore, the conditions for achieving them are similar. 4.6 Numerical illustration Fig 9 illustrates the form of 4 S-shaped functions b1(t) in Eq (7), b2(t) in Eq (9), b3(t) in Eq (11), and b4(t) in Eq (16). The red line is b1(t) when b = 1. The blue line is b2(t) when b = 2 and β=3. With b3(t), the green line is b = 2, β=3, and k = 0.2 while orange line is b = 2, β=−4, and k = 1.5. The purple line is b4(t) when b = 1.5, β=−1, φ=−2.2, and k = 0.5. Numerical illustration of 4 types of S-shaped function. 5 Conclusions and future works This article evaluates the S-shaped characteristic of the most famous trigonometric function sin(t). The transformation of this function is studied to verify that it will be suitable for real conditions. The transformation methods include scaling vertically, scaling horizontally, shifting horizontally, and shifting vertically. The transformed function has been proven to have certain advantages and is suitable for NHPP SRM. The remaining work of SRM introduction is proposing a total fault function a(t) to substitute into Eq (18). Some long-used S-shaped functions in Eqs (7), (9), and (11) and newly considered function in Eq (16) are analyzed mathematically. The considered characteristics are the domain, codomain, pattern, and the increment process of functions. These mathematical analyses support the derivation of the application domain of the functions, which ensures conformity with real-life conditions and maintains the S-shaped property. In the next works, there are some promising approaches, such as finding a(t) or evaluating some simple forms of b4(t) by vanishing some parameters or both, to propose a new software reliability model. 27 Oct 2025 PONE-D-25-53209Trigonometric function transformation and its application in software reliability modelingPLOS ONE Dear Dr. Nguyen, Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process. Please submit your revised manuscript by Dec 11 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file. Please include the following items when submitting your revised manuscript: A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'. A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'. An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'. An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'. If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter. If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols. We look forward to receiving your revised manuscript. Kind regards, Mallikarjuna Reddy Kesama, Ph.D. Academic Editor PLOS ONE Journal Requirements: When submitting your revision, we need you to address these additional requirements. 1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf 2. Please note that PLOS One has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse. 3. Please update your submission to use the PLOS LaTeX template. The template and more information on our requirements for LaTeX submissions can be found at http://journals.plos.org/plosone/s/latex. 4. Thank you for stating the following financial disclosure: “This research is supported by Hung Vuong University under grant number HV33.2024” Please state what role the funders took in the study. If the funders had no role, please state: "The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript." If this statement is not correct you must amend it as needed. Please include this amended Role of Funder statement in your cover letter; we will change the online submission form on your behalf. 5. Please note that funding information should not appear in the Acknowledgments section or other areas of your manuscript. We will only publish funding information present in the Funding Statement section of the online submission form. Please remove any funding-related text from the manuscript. 6. When completing the data availability statement of the submission form, you indicated that you will make your data available on acceptance. We strongly recommend all authors decide on a data sharing plan before acceptance, as the process can be lengthy and hold up publication timelines. Please note that, though access restrictions are acceptable now, your entire data will need to be made freely accessible if your manuscript is accepted for publication. This policy applies to all data except where public deposition would breach compliance with the protocol approved by your research ethics board. If you are unable to adhere to our open data policy, please kindly revise your statement to explain your reasoning and we will seek the editor's input on an exemption. Please be assured that, once you have provided your new statement, the assessment of your exemption will not hold up the peer review process. 7. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager. 8. Please include a separate caption for each figure in your manuscript. 9. Please upload a new copy of Figures 1 to 9 as the detail is not clear. Please follow the link for more information: https://journals.plos.org/plosone/s/figures 10. We note you have included a table to which you do not refer in the text of your manuscript. Please ensure that you refer to Table 4 in your text; if accepted, production will need this reference to link the reader to the Table. 11. If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise. [Note: HTML markup is below. Please do not edit.] Reviewers' comments: Reviewer's Responses to Questions Comments to the Author 1. Is the manuscript technically sound, and do the data support the conclusions? The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. Reviewer #1: Yes Reviewer #2: No Reviewer #3: Partly ********** 2. Has the statistical analysis been performed appropriately and rigorously? Reviewer #1: N/A Reviewer #2: Yes Reviewer #3: N/A ********** 3. Have the authors made all data underlying the findings in their manuscript fully available? The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified. Reviewer #1: Yes Reviewer #2: Yes Reviewer #3: Yes ********** 4. Is the manuscript presented in an intelligible fashion and written in standard English? PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here. Reviewer #1: No Reviewer #2: Yes Reviewer #3: No ********** 5. Review Comments to the Author Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters.) Reviewer #1: Dear authors, In this study, the transformation of four types of S-shaped functions using trigonometric functions is demonstrated. The mean value function has also been calculated by considering these functions. The idea of using a transformed function in software reliability is novel, but it needs improvements: 1. The literature review is too brief. 2. Writing improvements are needed: the paper contains some lengthy sentences, and paragraphs are not justified. Condensing and improving logical flow is recommended. 3. It would be better to write the limitations of the transformation, i.e., write the cases when such a transformation is not possible. 4. The representation of Figure 9 may be improved if proper parameters are considered, specially for the red line of b1(t) and orange line of b3(t). Reviewer #2: Please see the attached file for the details. The authors propose using the trigonometric sine function transformation to model the S-shaped curve of the cumulative number of detection faults during software testing. But the authors did not verify them through experiments. Reviewer #3: This article seems to be an extended study of the following manuscript. "Hung-Cuong, N., Quyet-Thang, H., Trung-Nghia, P., Dai-Nghia, V. (2025). Transformating trigonometric function to apply in software reliability modeling. In: Nghia, P.T., Thai, V.D., Thuy, N.T., Huynh, VN., Van Huan, N. (eds) Advances in Information and Communication Technology. ICTA 2024. Lecture Notes in Networks and Systems, vol 1205. Springer, Cham. https://doi.org/10.1007/978-3-031-80943-9_13". The novel contribution of this paper is limited. This paper contains many grammatical mistakes. English writing need to be improved, severely. ********** 6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files. If you choose “no”, your identity will remain anonymous but your review may still be made public. Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy. Reviewer #1: No Reviewer #2: No Reviewer #3: No ********** [NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.] To ensure your figures meet our technical requirements, please review our figure guidelines: https://journals.plos.org/plosone/s/figures You may also use PLOS’s free figure tool, NAAS, to help you prepare publication quality figures: https://journals.plos.org/plosone/s/figures#loc-tools-for-figure-preparation. NAAS will assess whether your figures meet our technical requirements by comparing each figure against our figure specifications. Submitted filename: Review report.docx Submitted filename: comments-1.pdf 15 Nov 2025 Firstly, the authors would like to thank the reviewers for their valuable comments. We answer your question/comment as follows: A. Academic editor Comment 1: 1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf Our answer: We would like to thank you for the comment of the academic editor. We prepare our manuscript using the PLOS ONE style template. Comment 2: 2. Please note that PLOS One has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse. Our answer: We would like to thank you for the comment of the academic editor. Our manuscript does not have any source code. It provides a theoretical analysis of the application of the transformation of trigonometric functions in Software reliability modelling. Comment 3: 3. Please update your submission to use the PLOS LaTeX template. The template and more information on our requirements for LaTeX submissions can be found at http://journals.plos.org/plosone/s/latex. Our answer: We would like to thank you for the comment of the academic editor. We prepare our manuscript using the PLOS ONE LaTeX template. Comment 4: 4. Thank you for stating the following financial disclosure: “This research is supported by Hung Vuong University under grant number HV33.2024” Please state what role the funders took in the study. If the funders had no role, please state: "The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript." If this statement is not correct you must amend it as needed. Please include this amended Role of Funder statement in your cover letter; we will change the online submission form on your behalf. Our answer: We would like to thank you for the comment of the academic editor. We have feedback on your comment as follows: - We move the Role of Funder to the Cover letter as you require. - Authors Vy Dai-Nghia, Nguyen Van-Thuan, and Nguyen Hung-Cuong are lecturers of Hung Vuong University. This work was done in the lab at our University with the financial support of our University. So we state: "This work was funded by Hung Vuong University (grant HV33.2024)" in the Cover letter. Comment 5: 5. Please note that funding information should not appear in the Acknowledgments section or other areas of your manuscript. We will only publish funding information present in the Funding Statement section of the online submission form. Please remove any funding-related text from the manuscript. Our answer: We would like to thank you for the comment of the academic editor. We will remove the funding information in the Acknowledgments section as you require. Comment 6: 6. When completing the data availability statement of the submission form, you indicated that you will make your data available on acceptance. We strongly recommend all authors decide on a data sharing plan before acceptance, as the process can be lengthy and hold up publication timelines. Please note that, though access restrictions are acceptable now, your entire data will need to be made freely accessible if your manuscript is accepted for publication. This policy applies to all data except where public deposition would breach compliance with the protocol approved by your research ethics board. If you are unable to adhere to our open data policy, please kindly revise your statement to explain your reasoning and we will seek the editor's input on an exemption. Please be assured that, once you have provided your new statement, the assessment of your exemption will not hold up the peer review process. Our answer: We would like to thank you for the comment of the academic editor. Our manuscript does not have any source code. It provides a theoretical analysis of the application of the transformation of trigonometric functions in Software reliability modelling. Comment 7: 7. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager. Our answer: We would like to thank you for the comment of the academic editor. I updated my ORCID in My Information in the Editorial Manager system. My ORCID is 0009-0002-5974-8518. Comment 8: 8. Please include a separate caption for each figure in your manuscript. Our answer: We would like to thank you for the comment of the academic editor. We provide a separate caption for each figure in our manuscript. Comment 9: 9. Please upload a new copy of Figures 1 to 9 as the detail is not clear. Please follow the link for more information: https://journals.plos.org/plosone/s/figures Our answer: We would like to thank you for the comment of the academic editor. We update the new version of figures in .tiff and .eps format to improve the quality of figures. Comment 10: 10. We note you have included a table to which you do not refer in the text of your manuscript. Please ensure that you refer to Table 4 in your text; if accepted, production will need this reference to link the reader to the Table. Our answer: We would like to thank you for the comment of the academic editor. It is our mistake. We must refer to Tables 3 and 4 instead of Tables 2 and 3. We update the reference of Table 4 as highlighted on page 10. Comment 11: 11. If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise. Our answer: We would like to thank you for the comment of the academic editor. Reviewer 3 mentioned that this work is extended from "Hung-Cuong, N., Quyet-Thang, H., Trung-Nghia, P., Dai-Nghia, V. (2025). Transformating trigonometric function to apply in software reliability modeling. In: Nghia, P.T., Thai, V.D., Thuy, N.T., Huynh, VN., Van Huan, N. (eds) Advances in Information and Communication Technology. ICTA 2024. Lecture Notes in Networks and Systems, vol 1205. Springer, Cham. https://doi.org/10.1007/978-3-031-80943-9_13". So we cite this paper in subsection 3.2 on page 4 to inherit this previous work. B. Reviewer #1 Comment 1: Dear authors, In this study, the transformation of four types of S-shaped functions using trigonometric functions is demonstrated. The mean value function has also been calculated by considering these functions. The idea of using a transformed function in software reliability is novel, but it needs improvements: 1. The literature review is too brief. Our answer: We would like to thank you for the comment of reviewer. We add Table 1 on page 4 to list some studied NHPP SRM that use the S-shaped function. Those models provide an overview of previous works. Comment 2: 2. Writing improvements are needed: the paper contains some lengthy sentences, and paragraphs are not justified. Condensing and improving logical flow is recommended. Our answer: We would like to thank you for the comment of reviewer. We have checked the grammatical mistakes in English and edited our manuscript carefully. Comment 3: 3. It would be better to write the limitations of the transformation, i.e., write the cases when such a transformation is not possible. Our answer: We would like to thank you for the comment of reviewer. In our work, the most famous trigonometric function, sin(t), is studied. The domain of this function is the full set of real numbers, i.e., t ∈ R. So this function can be transformed in all cases. Comment 4: 4. The representation of Figure 9 may be improved if proper parameters are considered, specially for the red line of b1(t) and orange line of b3(t). Our answer: We would like to thank you for the comment of reviewer. We have feedback on your comment as follows: As mentioned on page 10: "We can see that this form is not fully S-shaped because it only contains the two last phases of the S-shaped curve as described in sub-section 2.2". Furthermore, b1(t) must pass through the origin of the Cartesian coordinate system, i.e., t = 0, then b1(t) = 0. So b1(t) is illustrated by b = 2.0. - If β < 0, b3(t) has the similar shape with b1(t) which is "not fully S-shaped". So b3(t) is illustrated by (b, β, k) = (2.0, −4.0, 1.5). So we propose to retain this figure to illustrate the S-shape pattern of the 4 types of S-shaped functions. C. Reviewer #2 Comment 1: The authors propose using the trigonometric sine function transformation to model the S-shaped curve of the cumulative number of detection faults during software testing. But the authors did not verify them through experiments. Our answer: We would like to thank you for the comment of reviewer. Our manuscript provides a theoretical analysis of the application of the transformation of trigonometric functions in Software reliability modelling without any experimental evaluation. The experimental results will be studied and discussed in future works. Comment 2: The problems of this paper are as follows, 1) Although the authors introduced the property of trigonometric sine function transformation, such as bsin(t) and b sin(βt + φ) + k, they indeed ignored the limitation of t and t ≥ 0 during software testing. This restriction will seriously weaken the accuracy of the fault detection rate based on the sine function. I suggest the author compare the fitting and predictive performance of the model proposed in Table 1 with other models. In addition, previous studies have used the sine function to establish software reliability models. I suggest the author to include those models for comparison when conducting experiments. Our answer: We would like to thank you for the comment of reviewer. We have feedback on your comment as follows: - In this work, we evaluate the mathematical properties of 4 types of S-shaped functions. All of the previous types of S-shaped function, i.e., b1(t), b2(t), and b3(t), are not considered in the case of t < 0. - Our manuscript provides a theoretical analysis of the application of the transformation of trigonometric functions in Software reliability modelling without any experimental evaluation. The experimental results will be studied and discussed in future works. - We do not know any SRM that uses the trigonometric sine function. If there is any model that uses the trigonometric sine function, we will use it to compare with our proposed models in our next work. Comment 3: 2) In Subsection 2.2, “Phase 3. The function goes through inflection point, which is the point that the derivation of the function changes from positive to negative quantities.” I disagree with this statement. The S-shaped function (i.e. mean value function) in the software reliability model is a non-decreasing function in any situation. In other words, the derivative of the S-shaped function (mean value function) in the software reliability model is never negative under any circumstances. Our answer: We would like to thank you for the comment of reviewer. We agree with your statement: "The S-shaped function (i.e. mean value function) in the software reliability model is a non-decreasing function in any situation.". However, subsection 2.2 discusses the value of the derivation of the function. For example, b2(t) has form: b_2 (t)=b 1/(1+βe^(-bt) ) And the first derivation of the function: ∂/∂t b_2 (t)=(b^2 βe^(-bt))/(1+βe^(-bt) )^2 And in subsection 4.2, we present that the inflection point of b2(t) is (ln⁡β/b, b/2). This means that when t0. And vice versa, when t>ln⁡β/b, we have ∂/∂t b_2 (t)<0. Furthermore, we change from "the derivation of the function" to "the first derivation of the function" on page 3 to emphasize our opinion. Comment 4: 3) Some grammar errors are as follows, Under equations (7,9,11), “Subtitute...” should be “Substitute...”, you must check it in the whole paper. In the last paragraph of Subsection 3.1, “sin(t) increase...” should be “sin(t) increases...”. Our answer: We would like to thank you for the comment of reviewer. We have checked the grammatical mistakes in English and edited our manuscript carefully. D. Reviewer #3 Comment 1: This article seems to be an extended study of the following manuscript. "Hung-Cuong, N., Quyet-Thang, H., Trung-Nghia, P., Dai-Nghia, V. (2025). Transformating trigonometric function to apply in software reliability modeling. In: Nghia, P.T., Thai, V.D., Thuy, N.T., Huynh, VN., Van Huan, N. (eds) Advances in Information and Communication Technology. ICTA 2024. Lecture Notes in Networks and Systems, vol 1205. Springer, Cham. https://doi.org/10.1007/978-3-031-80943-9_13". Our answer: We would like to thank you for the comment of reviewer. So we cite this paper in subsection 3.2 on page 4 to inherit this previous work. Comment 2: The novel contribution of this paper is limited. Our answer: We would like to thank you for the comment of reviewer. We have feedback on your comment as follows. In abstract, we address our contribution in this manuscript as follows: "The first contribution is a deep mathematical appreciation of three well-known S-shaped functions. The second is the mathematical transformation of the trigonometric function to meet the real assumption. The last are the advantages and the applicability of this transformation in software reliability modeling.". All of those contributions have not been studied in any previous works. Comment 3: This paper contains many grammatical mistakes. English writing need to be improved, severely. Our answer: We would like to thank you for the comment of reviewer. We have checked the grammatical mistakes in English and edited our manuscript carefully. Submitted filename: Response to Reviewers.pdf 4 Dec 2025 Trigonometric function transformation and its application in software reliability modeling PONE-D-25-53209R1 Dear Dr. Van Thuan Nguyen, We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements. Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication. An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact billing support. If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org. Kind regards, Mallikarjuna Reddy Kesama, Ph.D. Academic Editor PLOS One Additional Editor Comments (optional): accept Reviewers' comments: Reviewer's Responses to Questions Comments to the Author 1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation. Reviewer #1: All comments have been addressed ********** 2. Is the manuscript technically sound, and do the data support the conclusions? The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented. Reviewer #1: Yes ********** 3. Has the statistical analysis been performed appropriately and rigorously? Reviewer #1: Yes ********** 4. Have the authors made all data underlying the findings in their manuscript fully available? The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified. Reviewer #1: Yes ********** 5. Is the manuscript presented in an intelligible fashion and written in standard English? PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here. Reviewer #1: Yes ********** 6. Review Comments to the Author Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters) Reviewer #1: Since the authors answered all my queries, the article may be accepted for publication after checking the format. ********** 7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files. If you choose “no”, your identity will remain anonymous but your review may still be made public. Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy. Reviewer #1: No ********** Submitted filename: Review report R1.docx PONE-D-25-53209R1 PLOS One Dear Dr. Nguyen, I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS One. Congratulations! Your manuscript is now being handed over to our production team. At this stage, our production department will prepare your paper for publication. This includes ensuring the following: * All references, tables, and figures are properly cited * All relevant supporting information is included in the manuscript submission, * There are no issues that prevent the paper from being properly typeset You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps. Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org. You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing. If we can help with anything else, please email us at customercare@plos.org. Thank you for submitting your work to PLOS ONE and supporting open access. Kind regards, PLOS ONE Editorial Office Staff on behalf of Dr. Mallikarjuna Reddy Kesama Academic Editor PLOS One