1 Introduction

Since the inception of Einstein field equation, the research workers are busy to obtain the compact star models such as neutron star and strange star models. To avoid the gravitational collapse, the presence of pressure with charge is more useful in averting the gravitational collapse by virtue of outward pressure with Columbian force. However the pressure anisotropy has also an important role to study of the compact stellar objects. Ruderman (1972) investigated about the realistic stellar models and conclude that the nuclear matter may be anisotropic at least very high density ranges of order more than \(10^{15}\ \mbox{gm/cm}^{3}\). Bowers and Liang (1974) have given the equation of state for relativistic anisotropic fluid sphere by generalizing the equation of hydrostatic equilibrium which include the effects the anisotropy. Recently Bhar and Ratanpal (2015) have obtained anisotropic star of Matese-Whitman Mass Function. Also Pant et al. (2016) obtained new charged anisotropic compact star models in isotropic coordinate system. In this connection Maurya et al. (2015a) developed the general algorithm for all spherically symmetric charged anisotropic solution. However the method for constructing the anisotropic factor by help of metric potential is given by Maurya et al. (2015b, 2015c). Also Maurya et al. (2015d, 2015e) have given the new approach to find the electromagnetic mass model in embedding class one metric. In similar fashion many workers have been obtained the anisotropic as well as charged anisotropic fluid solutions in different approaches (Dev and Gleiser 2002; Komathiraj and Maharaj 2007; Sunzu et al. 2014; Mak and Harko 2003; Mafa Takisa and Maharaj 2013, Maurya and Gupta 2012, 2013, 2014; Feroze and Siddiqui 2011; Pant et al. 2014, 2015; Malaver 2014, 2015; Esculpi et al. 2007; Herrera and Santos 1997; Herrera et al. 2004, 2008; Cosenza et al. 1981; Gokhroo and Mehra 1994; Maurya et al. 2015f, 2016).

In the present article we have obtained the new model for charged anisotropic solution. For this purpose we have started the metric potential of the form \(e^{\lambda} = \frac{1 + ar^{2}}{1 - br^{2}}\). The structure of the paper as follows: Sect. 2 contains the Einstein field equations for charged anisotropic sphere. In Sect. 3: we determine the mass function by considering the electric intensity (\(E = \frac{q}{r^{2}}\)) and metric potential \(e^{\lambda}\) after that we obtained the metric function \(\nu\) by taking physically valid expression of radial pressure. However the anisotropy factor is determined by using the pressure isotropy condition. In Sect. 4: we join the metric to Reissner-Nordstrom metric at the surface of the star and obtained the arbitrary constants. However the physical features of charged anisotropic models are given in Sect. 5. Section 6 is containing the stability analysis, amount of the charge and surface red-shift of the compact stars. We presented the maximum allowable mass to radius ratio and validity of strange star candidates in Sect. 7. At last the conclusion of the article is given in Sect. 8.

2 The Einstein’s field equation for charged anisotropic fluid distributions

Let us consider a static spherically symmetric metric for charged anisotropic matter distribution as:

$$ ds^{2} = e^{\nu} dt^{2} - r^{2}\bigl(d \theta^{2} + \sin^{2}\theta d\phi^{2}\bigr) - e^{\lambda} dr^{2} $$
(1)

The Einstein-Maxwell field equations are given by

$$ - \kappa \bigl(T_{j}^{i} + E_{j}^{i} \bigr) = R_{j}^{i} - \frac{1}{2}R g_{j}^{i} $$
(2)

where \(\kappa = 8\pi\) is the Einstein constant with \(G = 1 = c\) in relativistic geometrized unit. However \(G\) and \(c\) respectively being the Newtonian gravitational constant and velocity of photon in vacuum.

We assumed that the matter inside the star is to be locally anisotropic fluid. So the energy momentum tensor (\(T_{j}^{i}\)) and electromagnetic tensor (\(E_{j}^{i}\)) are defined by (Dionysiou 1982):

$$\begin{aligned} &T_{j}^{i} = \bigl[(p_{r} - p_{t}) \theta^{i} \theta_{j} - p_{t} \delta_{j}^{i} + (\rho + p_{r}) v^{i}v_{j}\bigr] \end{aligned}$$
(3)
$$\begin{aligned} &E_{j}^{i} = \frac{1}{4\pi} \biggl( - F^{im}F_{jm} + \frac{1}{4}\delta_{j}^{i} F^{m n}F_{m n}\biggr) \end{aligned}$$
(4)

where \(\theta^{i}\) is the unit space like vector in the direction of radial vector as \(\theta^{i} = e^{\lambda (r)/2} \delta_{1}^{i}\), \(v^{i}\) is the four-velocity as \(e^{\lambda (r)/2}v^{i} = \delta_{4}^{i}\), \(p_{r}\) is the pressure in direction of \(\theta^{i}\) (normal pressure) and \(p_{t}\) is the pressure orthogonal to \(\theta_{i}\) (transversal or tangential pressure) and \(\rho\) is the energy density.

For the spherically symmetric metric (1), the Einstein-Maxwell field equations may be expressed as the following system of ordinary differential equations (Dionysiou 1982):

$$\begin{aligned} &\frac{\lambda '}{r}e^{ - \lambda} + \frac{(1 - e^{ - \lambda} )}{r^{2}} = \kappa c^{2} \rho + \frac{q^{2}}{r^{4}} , \end{aligned}$$
(5)
$$\begin{aligned} &\frac{v'}{r}e^{ - \lambda} - \frac{(1 - e^{ - \lambda} )}{r^{2}} = \kappa p_{r} - \frac{q^{2}}{r^{4}}, \end{aligned}$$
(6)
$$\begin{aligned} &\biggl[ \frac{v''}{2} - \frac{\lambda 'v'}{4} + \frac{v^{\prime\,2}}{4} + \frac{v' - \lambda '}{2r} \biggr] e^{ - \lambda} = \kappa p_{t} + \frac{q^{2}}{r^{4}}, \end{aligned}$$
(7)

where the prime denotes differential with respect to ‘\(r\)’ and \(E = \frac{1}{r^{2}}\int_{0}^{r} 4\pi r^{2}\sigma e^{\lambda /2} = \frac{q}{r^{2}}\). However \(\sigma\) is the charge density.

3 New charged anisotropic solution for compact star

The mass function \(m(r)\) for electrically charged fluid sphere can be defined in terms of metric function \(e^{\lambda (r)}\) as:

$$ m(r) = \frac{r}{2} \bigl[ 1 - e^{ - \lambda (r)} + r^{2}E^{2} \bigr] $$
(8)

To determine the mass function \(m(r)\), we consider the metric potential \(e^{\lambda (r)}\) and electric intensity \(E\) of the form:

$$\begin{aligned} &e^{\lambda} = \frac{1 + ar^{2}}{1 - br^{2}} \end{aligned}$$
(9)
$$\begin{aligned} &\! \begin{aligned}[c] &E^{2} = \frac{E_{0}a r^{2}}{(1 + a r^{2})^{2}}\quad \mbox{and}\\ & \sigma = \frac{\sqrt{E_{0}a}}{4\pi} \biggl[ \frac{(3 - ar^{2})}{(1 + ar^{2})^{2}}\sqrt{\frac{1 - br^{2}}{1 + ar^{2}}} \biggr] \end{aligned} \end{aligned}$$
(10)

where \(a\), \(b\) and \(E_{0}\) are positive constants.

We observe from Eq. (10), the electric intensity is zero at the centre and monotonically increasing away from the centre. However the charge density is singularity free at the centre and monotonically decreasing. The behavior can be seen in Fig. 1.

Fig. 1
figure 1

Behavior of electric intensity (\(E^{2}\)) and charge density (\(\sigma\)) with respect to radial coordinate \(r/R\). We have used the numerical values of the parameters in this figure as: (i) \(a=0.00774\), \(b=0.0001\), \(p_{0} =0.0028\), \(E_{0} =0.0001\) for PSR J1614–2230, (ii) \(a=0.007562\), \(b=0.00053\), \(p_{0} =0.0035\), \(E_{0} =0.0008\) for PSR \(1937{+}21\)

By plugging Eq. (9) and Eq. (10) into Eq. (8), we get:

$$ m(r) = \frac{r}{2} \biggl[ \frac{(a + b) r^{2}(1 + a r^{2}) + E_{0}a r^{4}}{(1 + a r^{2})^{2}} \biggr] $$
(11)

However from Eq. (5) and Eq. (6), corresponding the matter density (\(\rho\)) and metric function (\(\nu\)) are given as:

$$\begin{aligned} &8\pi \rho = \frac{ - 3b + a^{2}r^{2} + 3a - ab r^{2} + E_{0}a r^{2}}{(1 + a r^{2})^{2}}; \end{aligned}$$
(12)
$$\begin{aligned} &\nu' = \frac{r}{1 - b r^{2}} \biggl[ 8 \pi p_{r} \bigl(1 + a r^{2}\bigr) + (a + b) - \frac{E_{0} a r^{2}}{1 + a r^{2}} \biggr] \end{aligned}$$
(13)

To integrate Eq. (13), we suppose the radial pressure of the form:

$$ 8 \pi p_{r} = \frac{p_{0} (1 - a r^{2})}{(1 + a r^{2})^{2}} $$
(14)

where \(p_{0}\) is positive constant and the expression of \(p_{r}\) is physically valid as it is positive, finite and monotonically decreasing function with increase of ‘\(r\)’. However it vanish at \(r = \frac{1}{\sqrt{a}}\), which gives the radius of the star.

After putting the value of \(p_{r}\) in Eq. (13), we get:

$$ \nu' = \frac{r [ p_{0} - (p_{0} - E_{0}) a r^{2}]}{ (1 + a r^{2}) (1 - b r^{2})} + \frac{r (a + b)}{(1 - b r^{2})} $$
(15)

After integration, we get the metric function (\(\nu\)) of the form:

$$ \nu = A \ln \bigl(1 + a r^{2}\bigr) + B \ln \bigl(1 - b r^{2}\bigr) + \ln C $$
(16)

where

$$A = \frac{ (2p_{0} + E_{0})}{2 (a + b)},\qquad B = \frac{p_{0} (a - b) + a E_{0} - (a + b)^{2}}{2 b (a + b)}$$

and \(C\) is arbitrary positive constants of integration.

Now the expression for anisotropy factor \(\Delta = p_{t} - p_{r}\) can be determined by using the pressure isotropy condition as:

$$ 8 \pi \Delta = \frac{[ (E_{0} - p_{0}) ar^{2} + p_{0}]}{(1 + a r^{2})^{2}} + \frac{\Delta_{1} + \Delta_{2} + \Delta_{3}}{(1 + a r^{2})^{3} (1 - br^{2})}, $$
(17)

where

$$\begin{aligned} &\Delta_{1} = - b \bigl[ 1 - b r^{2} - B^{2}b r^{2} + B \bigl(2 - b r^{2}\bigr)\bigr],\\ & \!\begin{aligned}[t] \Delta_{2} &= a^{2}r^{2} \bigl[ - 1 - b ( - 1 + B) r^{2} + b^{2}B^{2}r^{2} + A^{2} \bigl(1 - b r^{2}\bigr)^{2}\\ &\quad {} + A \bigl(1 - b r^{2} \bigr) \bigl( - 1 - 2 B b r^{2}\bigr)\bigr], \end{aligned} \\ & \begin{aligned}[t] \Delta_{3} &= a \bigl[ - 1 - 3 Bb r^{2} + b^{2} \bigl(1 + B + 2B^{2}\bigr) r^{4}\\ &\quad {} + A \bigl(1 - br^{2}\bigr) \bigl(2 - 3b r^{2} - 2Bbr^{2}\bigr) \bigr]. \end{aligned} \end{aligned}$$

4 Matching conditions

We join smoothly the interior of metric (1) to an exterior Reissner-Nordstrom metric:

$$\begin{aligned} ds^{2} &= \biggl( 1 - \frac{2M}{r} + \frac{Q^{2}}{r^{2}} \biggr) dt^{2} - r^{2}\bigl(d\theta^{2} + \sin^{2}\theta d\phi^{2}\bigr) \\ &\quad {}- \biggl( 1 - \frac{2M}{r} + \frac{Q^{2}}{r^{2}} \biggr)^{ - 1}dr^{2} \end{aligned}$$
(18)

at the surface of spheres (\(r = R\)). This requires the continuity of the components \(g_{i j}\) at \(r = R\). However the requirements of matching condition for metric (1) that the above system of equations is to be solved subject to the boundary condition that radial pressure \(p_{r} = 0\) at \(r = R\), whose mass is same as \(m (r = R) = M\) (Misner and Sharp 1964).

These conditions are as follows:

$$\begin{aligned} &e^{ - \lambda (R)} = e^{\nu (R)} = 1 - \frac{2M}{R} + \frac{Q^{2}}{R^{2}} \end{aligned}$$
(19)
$$\begin{aligned} &q (R) = Q \end{aligned}$$
(20)
$$\begin{aligned} &p_{r} = 0\quad \mbox{at}\ r = R \end{aligned}$$
(21)

where \(M\) and \(Q\) are called the total mass and charge inside the fluid sphere respectively. The conditions (19) and (21) gives respectively:

$$ C = \frac{(1 - bR^{2})^{1 - B}}{(1 + aR^{2})^{1 + A}} $$
(22)

and

$$ R = \frac{1}{\sqrt{a}} $$
(23)

5 Physical features of the charged anisotropic models

(i) For physical acceptable charged anisotropic models, the metric potentials \(e^{\lambda (r)}\) and \(e^{\nu (r)}\)should have non-zero positive values in the range \(0 \le r \le R\) and free from singularity at \(r = 0\). At the origin Eqs. (9) and (16) provides \(e^{\lambda (0)} = 1\) and \(e^{\nu (0)} = C\). So it is clear that metric potentials are positive and finite at the centre of star (Fig. 4).

(ii) The radial pressure (\(p_{r}\)), tangential pressure (\(p_{t}\)), energy density (\(\rho\)) should be finite at the centre \(r = 0\) and monotonically decreasing throughout inside the star. These behaviors can be seen in Figs. 2 and 5.

Fig. 2
figure 2

Behavior of matter-energy density (\(\rho\)) with respect to radial coordinate \(r/R\). For purpose of plotting this graph, we have employed the data set of values in this figure same as used in Fig. 1

(iii) Inside the fluid sphere, the speed of sound should be less than the speed of light, i.e., \(0 \le V_{r} = \sqrt{dp_{r}/d\rho} < 1\) and \(0 \le V_{t} = \sqrt{dp_{t}/d\rho} < 1\). However for well behaved nature of the solution, both velocities should be monotonically decreasing away from the centre to boundary of the sphere which can be observed from Fig. 6.

6 Stability analysis, electric charge, charge density and red-shift

6.1 Stability analysis

To verify the stability of our charged anisotropic models, we plot the square of radial speed of sound (\(V_{r}^{2}\)) and transverse speed of sound (\(V_{t}^{2}\)) in Fig. 7. As we note from Fig. 7 that both of these parameters satisfy the inequalities \(0 \le V_{r}^{2} < 1\) and \(0 \le V_{t}^{2} < 1\) everywhere inside the star.

Now to determine the charged anisotropic matter distribution is stable or not, for this we will use Herrera (1992), cracking (or overturning) concept, which states that the potentially stable region is that one where radial speed of sound is greater than the transverse speed of sound. This implies that there is no change in sign of \(V_{r}^{2}\)\(V_{t}^{2}\) and \(V_{t}^{2}\)\(V_{r}^{2}\). This can be seen from Fig. 8 that there is no change in sign of above both conditions. So, it is clear that our models are stable.

6.2 Electric charge and charge density

We observed that the electric charge on the boundary, in the unit of Coulomb, is \(7.5317 \times 10^{19}\) Coulomb for PSR J1664–2230 and \(9.8951 \times 10^{19}\) Coulomb for PSR \(1937+21\) and at the centre both are as usual zero. In Table 1 we have put the data for charge \(q\) in the relativistic unit km. However, to convert these values in Coulomb one has to multiply every value by a factor \(1.1659 \times 10^{20}\). The graphical plot is shown in Fig. 1 where charge profile is such that starting from a minimum and it acquires maximum value at the boundary. However the charge density is maximum at center and monotonically decreasing outward. The plot for charge density is given in Fig. 1 and numerical values in Table 1.

Table 1 Electric charge \((q)\) and charge density (\(\sigma\)) for different anisotropic stars

6.3 Surface red-shift

The effective gravitational mass in terms of the energy density can be written as

$$ M_{\mathit{eff}} = 4\pi \int_{0}^{R} \biggl( \rho + \frac{E^{2}}{8\pi} \biggr) r^{2}dr = \frac{1}{2}R \bigl[ 1 - e^{ - \lambda (R)}\bigr] $$
(24)

where \(e^{ - \lambda (R)}\) is given by Eq. (9).

Therefore the compactness of the star can be defined as:

$$ u = \frac{M_{\mathit{eff}}}{R} = \frac{1}{2}\bigl(1 - e^{ - \lambda (R)}\bigr) $$
(25)

Now we define the surface red-shift for charged compact star corresponding to the above compactness factor \((u)\) as follows:

$$ Z_{s} = [ 1 - 2u ]^{ - 1/2} - 1 = e^{\lambda (R)/2} - 1 $$
(26)

We plot Fig. 9 for surface red-shift and observe that it is decreasing away from the centre. The maximum surface red-shift attains at the centre and minimum at boundary. The corresponding values are: (i) at centre: \(Z_{0} = 0.9003\) for PSR J164–2230 and \(Z_{0} = 1.0239\) for PSR \(1937{+}21\), (ii) at surface: \(Z_{R} = 0.4234\) for PSR J164–2230 and \(Z_{R} = 0.4664\) for PSR \(1937{+}21\). In this connection, in absence of the cosmological constant the surface red-shift has constraint as \(Z \le 2\) (Buchdahl 1959; Straumann 1984; Bohmer and Harko 2006) for the isotropic case. However for an anisotropic star in the presence of a cosmological constant the constraint on surface redshift is \(Z \le 5\) (Bohmer and Harko 2006) whereas Ivanov (2002) has put the bound \(Z \le 5.211\). Based on the above discussion we therefore conclude that for an anisotropic star without cosmological constant the values for our models \(Z = 0.9003\) and \(Z = 1.0239\) are in good agreement.

7 Mass-radius ratio and validity with strange star candidates

7.1 Maximum allowable mass to radius ratio

The maximum mass for compact star cannot be arbitrary large. Buchdahl (1959) has given an absolute constraint of the maximally allowable mass-to-radius ratio \((M/R)\) for isotropic fluid spheres of the form \(2M/R \le 8/9\) (in the unit, \(c = G = 1\)), which states that, for a given radius a static isotropic fluid sphere cannot be arbitrarily massive. However Bohmer and Harko (2007) provided the lower bound for the mass-radius ratio for a compact object with charge, \(Q\) (\(< M\)), as:

$$ \frac{3Q^{2}}{2R^{2}}\frac{ ( 1 + \frac{Q^{2}}{18R^{2}} )}{ ( 1 + \frac{Q^{2}}{12R^{2}} )} \le \frac{2M}{R} $$
(27)

Also, Andreasson (2009) has generalized the mass-radius ratio for charged compact star and prove that upper bound of the mass satisfy the inequality:

$$ \sqrt{M} \le \frac{\sqrt{R}}{3} + \sqrt{\frac{R}{9} + \frac{Q^{2}}{3R}} $$
(28)

After combining both of above inequalities, we get:

$$ \frac{3Q^{2}}{4R^{2}}\frac{ ( 1 + \frac{Q^{2}}{18R^{2}} )}{ ( 1 + \frac{Q^{2}}{12R^{2}} )} \le \frac{M}{R} \le \frac{1}{R} \biggl( \frac{\sqrt{R}}{3} + \sqrt{\frac{R}{9} + \frac{Q^{2}}{3R}} \biggr)^{2} $$
(29)

7.2 Validity with strange star candidates

As proposed Tables 2 and 3, it is clear that the mass and radius are exactly corresponding to the compact stars RXJ1856–37 and PSR \(1937+21\). The details of the tables are as follows: we consider the mass and radius of the above mentioned stars and determine the data for the model parameters. In the next step we have calculated the data values for different physical parameters like central density, surface density and central pressure, of those compact stars. We can observe that these physical data sets are in good agreement with the available observational data.

Table 2 Values of the model parameters for different charged anisotropic compact stars
Table 3 Energy densities and central pressure for different charged anisotropic star candidates for the above parameter values of Table 2

8 Conclusions

In the present article, we have proposed new model for charged anisotropic compact stars PSR \(1937{+}21\) and PSR J1664–2230. For this purpose we started with the metric potential \(e^{\lambda} = \frac{1 + ar^{2}}{1 - br^{2}}\) and electric intensity \(E = \frac{r\sqrt{E_{0} a}}{(1 + ar^{2})}\). After that we determine the mass function \(m (r)\). It is clear from Eq. (18), the mass is zero at the centre and free from singularity everywhere inside the star. Now our next aim to find the metric potential ‘\(\nu \)’. We suppose the radial pressure \(p_{r}\) of the form \(p_{r} = \frac{p_{0} (1 - a r^{2})}{8 \pi (1 + a r^{2})^{2}}\) which is finite at the centre and zero at \(r = \frac{1}{\sqrt{a}}\). The obtained metric function ‘\(\nu \)’ is given by Eq. (16). However the pressure anisotropy factor ‘\(\Delta \)’ has been determined by using the pressure isotropy condition. This ‘\(\Delta \)’ is also zero at centre and monotonic increasing with increase of ‘\(r \)’ (Fig. 3). In Sect. 4, we obtained arbitrary constants by using the boundary conditions.

Fig. 3
figure 3

Behavior of anisotropic factor (\(\Delta_{i} = 8 \pi \Delta\)) with respect to radial coordinate \(r/R\). For purpose of plotting this graph, we have employed the data set of values in this figure same as used in Figs. 1 and 2

The physical features of the models as follows:

  1. (i)

    The behavior of metric potentials are given by Fig. 4, from this figure it is clear that metric potentials are free from singularity and finite everywhere inside the star.

    Fig. 4
    figure 4

    Behavior of metric potentials \(e^{\lambda}\) and \(e^{\nu}\) for PSR J1614–2030 (left panel) and PSR \(1937{+}21\) (right panel) with respect to radial coordinate \(r/R\). We have used the numerical values of the parameters in this figure as: (i) \(a=0.00774\), \(b=0.0001\), \(p_{0} =0.0028\), \(E_{0} =0.0001\) for PSR J1614–2230, (ii) \(\mathrm{a}=0.007562\), \(b=0.00053\), \(p_{0} =0.0035\), \(E_{0} =0.0008\) for PSR \(1937{+}21\)

    Fig. 5
    figure 5

    Behavior of radial and tangential pressures \(p_{r}\) (left panel) and \(p_{t}\) (right panel) with respect to radial coordinate \(r = R\). For purpose of plotting this graph, we have employed the data set of values in this figure same as used in Fig. 4

  2. (ii)

    The plot for electric charge \((E)\) and energy density (\(\rho\)) are shown in Figs. 1 and 2 respectively. From these figures, we observe that the electric charge is zero at centre and monotonically increasing away from the centre. However the energy density is monotonically decreasing away from the centre.

  3. (iii)

    Inside the fluid sphere, the speed of sound is less the speed of light, i.e. our charged anisotropic models are well behaved (the plot for this feature can be seen from Fig. 6).

    Fig. 6
    figure 6

    Behavior of sound speed \(V_{r}\) (left panel) and \(V_{t}\) (right panel) with respect to radial coordinate \(r = R\). We have used the numerical values of the parameters in this figure as: (i) \(a=0.00774\), \(b=0.0001\), \(p_{0} =0.0028\), \(E_{0} =0.0001\) for PSR J1614–2230, (ii) \(a=0.007562\), \(b=0.00053\), \(p_{0} =0.0035\), \(E_{0} =0.0008\) for PSR \(1937{+}21\)

  4. (iv)

    Section 6 contains the stability analysis, electric charge and red-shift of the compact star models. To verify the stability of the models we determine the square of radial and tangential velocity of sound (Fig. 7). From Fig. 7, we note that it is lies between 0 and 1. After that we used Herrera (1992) cracking concept, for this purpose we calculate the difference \(V_{r}^{2}\)\(V_{t}^{2}\) and \(V_{t}^{2}\)\(V_{r}^{2}\). As we can see from Fig. 8, there is no change in sign of \(V_{r}^{2} \)\(V_{t}^{2}\)and \(V_{t}^{2} \)\(V_{r}^{2}\). So our models are stable. However the amount of charge of the compact star PSR \(1937{+}21\) and PSR J1664–2230 are shown in Table 1.

    Fig. 7
    figure 7

    Behavior of the square of the sound speed \(V_{r}^{2}\) and \(V_{t}^{2}\) with respect to radial coordinate \(r/R\). For purpose of plotting this graph, we have employed the data set of values in this figure same as used in Fig. 6

    Fig. 8
    figure 8

    Behavior of the difference of sound speeds \(V_{r}^{2}\)\(V_{t}^{2}\) and \(V_{t}^{2}\)\(V_{r}^{2}\) with respect to radial coordinate \(r/R\). For purpose of plotting this graph, we have employed the data set of values in this figure same as used in Figs. 6 and 7

  5. (v)

    We plotted the behavior of red shift in Fig. 9, which shows that it is maximum at centre and monotonic decreasing with increase of radius ‘\(r \)’. The Maximum allowable mass–radius ratio for PSR \(1937{+}21\) and PSR J1664–2230 are given in Table 2.

    Fig. 9
    figure 9

    Behavior of red-shift of the charged anisotropic model with respect to radial coordinate \(r/R\). The date values used in this figure as: (i) \(a=0.00774\), \(b=0.0001\), \(p_{0} =0.0028\), \(E_{0} =0.0001\) for PSR J1614–2230, (ii) \(a=0.007562\), \(b=0.00053\), \(p_{0} =0.0035\), \(E_{0} =0.0008\) for PSR \(1937{+}21\)

Where the various symbols used in the figures and tables stand for the following physical entities

\(Z_{0}= \text{red}\) shift at the centre, \(Z_{R}= \text{red}\) shift at the surface, Solar mass \(M_{\Theta} =1.475\ \mbox{km}\), \(G = 6.673 \times 10^{ - 8}\ \mbox{cm}^{3}/\mbox{gs}^{2}\), \(c = 2.997 \times 10^{10}\ \mbox{cm}/\mbox{s}\).