Introduction

Nowadays, the contamination of surface water and groundwater by pesticides has become an alarming environmental problem owing to their extensive application in agriculture practice. Pesticides are considered as one of the possible contaminants in natural water because when these are applied on crops in agricultural fields, they get transported to the soil and then to surface water or groundwater resources due to their leaching and runoff losses [1]. Other sources are generally due to improper disposal of the empty pesticide packets, wind erosion, and discharge from industries [2]. Keeping in mind the viable importance of water, the potential toxicity, carcinogenicity, and mutagenic effects caused by pesticide contamination of water bodies are a vexing political and environmental question [3]. Such problem is the most severe in developing countries where groundwater is one of the major drinking water resources [4]. Due to the harmful effect of pesticides on human health and environment, many countries have already imposed strict laws on drinking water and wastewater treatment [5]. According to the WHO, the permissible limit of the pesticide residue in water is 0.1 μg L−1 for an individual pesticide and for all pesticides a total of 0.5 μg L−1 [6]. Therefore, the removal of pesticides from water by suitable methods is an urgent necessity. There are many methods available for removal of pesticides from aqueous medium including chlorination [7], ultrasound combined with photo-Fenton treatment [8], photocatalytic degradation [9, 10], advanced oxidation processes [11], aerobic degradation [12] electrodialysis membranes [13], ozonation [14], and adsorption [15]. Among these conventional methods for the removal of pesticides, adsorption technique is found to be the most economical, effective, highly flexible in design, and simple as well as offers scope for regeneration of adsorbent materials [3]. Therefore, adsorption technique has drawn wide attention of the investigators for the removal of pesticides from contaminated water samples [1620]. In this perspective, intense research interest has been generated for exploring cost-effective, ecofriendly, and easily available adsorbent particularly of biological origin [1623].

Carbaryl (1-naphthyl methyl carbamate) is widely used as an insecticide on fruits, vegetables, cotton, forages, and other crops in many countries [22]. Carbaryl kills beneficial insects, e.g., honey bees, crustaceans, and earthworms [24]. It is also likely to be carcinogenic to humans [25]. Thus, excessive use of carbaryl is a great threat to the environment.

The various adsorbents like Porogen-treated banana pith carbon [26], different soils [23, 27, 28], clay [29], Pistia stratiotes biomass [16], and Lemna major biomass [23] were used to achieve effective removal of carbaryl from aqueous medium.

Previously, neem bark dust (NBD) had been used effectively to remove many pollutants like Zn(II) and Cd(II) [30, 31], Cr(VI) [32], As(III) [20], and dyes [3335] from aqueous solutions, but no such information has been reported on the removal of carbaryl by NBD. Thus, to find the higher value of adsorption capacity compared to other adsorbents, NBD was chosen to remove carbaryl insecticide from aqueous solutions.

In most of the adsorption studies, the effects of individual parameters on the adsorption process have been investigated by keeping the level of other operating factors constant [16, 22]. In those cases, to establish the optimum levels, a large number of variable experiments were required to be executed [36]. Therefore, to overcome such limitations, several types of statistical experimental design methods have been applied. Response surface methodology (RSM) is one of the preferred experimental design methods for investigation of the combined effect of different variables in the adsorption process, as it requires a limited number of experiments [36]. RSM is a useful package of statistical methods for modeling different problems even in the presence of complex interactions. It explains the influence of several operating parameters to the output with proper explanation [37]. Presently, it is a widely applied technique in different adsorption studies [16, 22, 23, 35, 36, 38]. The prime intention of using RSM is to attain lesser process variability, yield of higher amount, and better authentications of output response within a short period of time [36]. Keeping in mind the above fact, the main objective of the study is to evaluate the adsorption process of carbaryl onto NBD from water and optimization of the process via RSM. The operating parameters were solution pH (2–10), adsorbent dose (0.01–1 g), and initial concentration (5–20 ppm).

The experimental data were statistically validated by performing analysis of variance (ANOVA) and lack-of-fit test to evaluate the significance of the model using Box-Behnken design (BBD). BBD is sphere-shaped, rotating RSM design that consists of the middle points of the edge and the central point of a cube circumscribed on a sphere. It is a collection of three interlocking 22 factorial designs in which all points are present on the surface of a sphere surrounding the center of the design [38]. Previously, many researchers have successfully applied BBD in adsorption study to remove many pollutants from aqueous solution [18, 25, 34, 35].

In the present study, BBD was selected as the core experimental model. It was preferred among various subsets from RSM as this design helped to explore the behavior of multi-component adsorption. Desirability function was used to identify optimal conditions where the maximum adsorption capacity was obtained for the removal of carbaryl using NBD to ensure the high uptake capacity at low adsorbent dosage and high carbaryl concentration. The desirability function is a method for the execution of optimum points of input factors that can determine optimum results for one or more responses. The desirability procedure has two steps including finding the levels of the independent variables and at the same time producing the most desirable predicted responses on the dependent variables while maximizing the overall desirability about the controllable factors [39].

Materials and Methods

Chemicals

A fresh solution of 4-nitrobenzenediazonium fluoborate (Sigma-Aldrich, 99.9 % pure) was prepared in methanol (0.03 % w/v) and used as the main reagent. Analytical grade NaOH was used for spectrophotometric estimation. An analytical standard pure sample of carbaryl was recrystalized from a technical grade sample supplied by Bayer. Carbaryl solutions were made in analytical grade CaCl2. Optima grade methanol was used as the solvent for the extraction. Further, all standard solutions were placed at room temperature for use.

Adsorbent Collection and Preparation

The neem bark (Azadirchta indica) used in the present study was collected from the campus of the university, The university of Burdwan, W.B., India. The collected bark was cut into pieces and washed thoroughly to remove foreign materials, then drenched in 0.1 N NaOH followed by 0.1 N H2SO4 [35]. Thereafter, the pieces of bark were air dried for a fortnight and ground into different particle sizes using different metal sieves having different mesh sizes and stored in clean jars for further experiments.

Characterization of Adsorbent

The physiochemical properties of the adsorbent like ash content; bulk density; particle density; moisture; pH; pHzpc; porosity; surface area; moisture content; and carbon, hydrogen, and nitrogen content were determined. The specific surface area of the adsorbent is measured by adsorption of nitrogen at 77 K using the molecular area of nitrogen as 0.162 nm2, and the measurement of the BET surface area of the adsorbent in the study was conducted using a surface area analyzer (model: Nova-2200e, Quantachrome Corporation, Boynton Beach, USA). The pH of zero-point charge (pHZPC) was determined based on the previous method [40]. The elemental composition of the adsorbent including carbon, hydrogen, and nitrogen was analyzed. In addition, scanning electron microscopy (SEM) analysis was carried out using a scanning electron microscope (HITACHI, S-530, Scanning Electron Microscope and ELKO Engineering, B.U. Burdwan) at 15 kV to study the surface morphology of the adsorbent after adsorption of carbaryl. Finally, the Fourier transform infrared (FTIR) spectra of NBD after carbaryl adsorption was recorded with Fourier transform infrared spectrophotometer (Perkin-Elmer, FTIR, Model-RX1 Spectrometer, USA) in the range of 400–4400 cm−1.

Batch Adsorption Procedure

The spectrophotometric determination of carbaryl was done by the following method [41]. Five milliliters of 0.5(N) NaOH solution was added to 5 mL of carbaryl solution, then 5 mL of 0.03 % (w/v) methanolic solution of p-nitrobenzene diazonium fluoborate was also mixed. The mixture was then diluted up to 20 mL with methanol. After 20 min by using the UV-VIS spectrophotometer (Systronics, Vis Double Beam Spectrophotometer 1203), the absorbance of the greenish-blue color of the resulting solution was measured at a wavelength of 590 nm [42]. The detection limit of this method is 0.1 μg mL−1 [41].

During the present study, at the first optimum value of the particle size, stirring rate and contact time were selected. Thereafter, the effect of pH (2–10), adsorbent dose (0.1–1 g/100 mL), and initial carbaryl concentration (5–20 mg L−1) was evaluated via RSM. Samples were collected from the flasks at predetermined time intervals for analyzing the residual carbaryl concentration in the solution. The amount of carbaryl adsorbed in milligram per gram was calculated by using Eq. 1.

$$ {q}_e=\frac{\left({\mathrm{C}}_{\mathrm{i}}-{\mathrm{C}}_{\mathrm{e}}\right)\mathrm{V}}{\mathrm{m}} $$
(1)

where Ci and Ce are carbaryl concentrations (mg L−1) before and after adsorption, respectively, V is the volume of adsorbate in liters, and m is the weight of the adsorbent in grams. The percentage of removal of carbaryl was calculated from the following equation:

$$ Removal\ \left(\%\right) = \frac{\left({\mathrm{C}}_{\mathrm{i}}-{\mathrm{C}}_{\mathrm{e}}\right)}{{\mathrm{C}}_{\mathrm{i}}}\times 100 $$
(2)

The adsorption experiments were carried out in triplicate, and the mean values were taken in the data analysis. The control experiments were performed without the addition of adsorbent which confirmed that the adsorption of carbaryl on the walls of glass was found negligible.

Experimental Design

The optimization of carbaryl adsorption using NBD was carried out by three independent variables including solution pH, adsorbent dose, and initial carbaryl concentration. The ranges and levels of the independent variables performed in this study are tabulated in Table 1. The removal percentage of carbaryl was taken as output (response) of the system. The quadratic equation model for predicting the optimal point is expressed by using Eq. 3.

Table 1 Variables and levels considered for the adsorption of carbaryl onto NBD
$$ \mathrm{Y} = {\upbeta}_0 + {\displaystyle {\sum}_{\mathrm{i}=1}^{\mathrm{k}}{\upbeta}_{\mathrm{i}}\ {\mathrm{x}}_{\mathrm{i}}} + {\displaystyle {\sum}_{\mathrm{i}=1}^{\mathrm{k}}{\displaystyle {\sum}_{\mathrm{j}=1}^{\mathrm{k}}{\upbeta}_{\mathrm{i}\mathrm{j}}{\mathrm{x}}_{\mathrm{i}}{\mathrm{x}}_{\mathrm{j}}}}+{\displaystyle {\sum}_{\mathrm{i}=1}^{\mathrm{k}}{\upbeta}_{\mathrm{i}\mathrm{i}}{\mathrm{x}}_{\mathrm{i}\mathrm{i}}^2 + \upvarepsilon} $$
(3)

where Y is the response variable; β0 is the intercept; βi, βij, and βii are coefficients of the linear effect, double interactions; xi and xj are the independent variables; and ε is error [22]. A total of 17 experiments were performed in triplicate according to the scheme mentioned in Table 1. Design Expert Version 7.1.6 [43] was used for regression and graphical analysis of the data obtained. The effect of interaction between different operating parameters can be explained by response surface 3D plots. The optimum values of the selected variables were established by solving the regression equation also by examining the ramp desirability plots. The name ramp is derived from the appearance of its graph. The ramp plot provides the optimum values of input factors and output responses. The inconsistency in dependent variables was justified by the multiple coefficients of determination. R 2 and model equation predicted the optimum value and consequently explained the interaction between the operating parameters within the definite range.

Desorption Study

For regeneration of carbaryl adsorbed NBD desorption, an experiment was carried out by using NaOH by following our previously established and published method [23]. Finally, the desorption percentage of carbaryl was calculated by Eq. 4.

$$ Desorption\left(\%\right) = \frac{\left({\mathrm{C}}_{\mathrm{a}}-{\mathrm{C}}_{\mathrm{d}}\right)}{{\mathrm{C}}_{\mathrm{a}}}\times 100 $$
(4)

where Ca is the adsorbed carbaryl concentration and Cd is the concentration of carbaryl after desorption.

Results and Discussion

Characterization of Adsorbent

The Physiochemical Properties

The physiochemical properties of NBD like surface area, pHzpc, pH, conductivity, moisture content, bulk density, particle density, and porosity were determined and are presented in Table 2.

Table 2 Physiochemical characteristics of adsorbent

SEM Analysis

SEM analysis is a useful tool for the analysis of the surface morphology of an adsorbent [28]. It can be seen from the SEM image of the NBD (Fig. 1) that the pores were completely filled after the adsorption of carbaryl. This observation indicates that carbaryl is adsorbed well inside the pores.

Fig. 1
figure 1

SEM image of NBD after adsorption of carbaryl onto NBD

FTIR Analysis

The FTIR spectrum of NBD after adsorption is displayed in Fig. 2. The intensity of the peaks for carbaryl-loaded NBD (713, 868, 1030, 1448, 1789, 3000 cm−1) was either maximized or shifted slightly from the FTIR spectral analysis of NBD (660, 774, 1025, 1222, 1593, 2924, 3305 cm−1) which has been reported in our previous research [23]. The broad and strong band at 3305 cm–1 indicates the presence of –OH stretching. The peak at 2924 cm–1 is attributed to methylene C–H asymmetric stretching. The peak at 1593 cm–1 was due to the presence of the carboxylate group. The characteristic peaks at 1222, 1025, and 774 cm–1 related to aromatic phosphates (P–O–C stretching), C–O stretching, and C–Cl stretching vibration [44]. After carbaryl adsorption, the intensity of methylene C–H asymmetric stretching and carboxylate and phosphate bands of the adsorbent are different from those of the adsorbent before adsorption of carbaryl. The results suggest that carbaryl interacts with the functional groups present on the surface of NBD.

Fig. 2
figure 2

FTIR of NBD after adsorption of carbaryl onto NBD

Effect of Particle Size

In the first stage of batch adsorption experiments, effect of particle size was checked by varying particle sizes (200–400 μm) at a speed of 200 rpm, pH 6 with adsorbent dose 0.11 g, contact time 15 min, and 20 ppm initial concentration of carbaryl. The influence of particle size on the extent of adsorption (Fig. 3) clearly indicated that carbaryl adsorption decreased with increasing particle size. For larger particles, the diffusion limitations are usually more important and, as a result, the number of molecules that reach the internal surface of the adsorbent is small resulting in low carbaryl adsorption capacity [45]. The breaking down of the large particles into smaller ones may serve to open the sealed channels in the adsorbent, which then become available for adsorption. The surface area and the number of active pores of the adsorbent increase with the decrease in particle size and therefore result in high carbaryl adsorption capacity [46]. For further experiments, a size fraction of 200 μm was selected because of its higher removal capacities.

Fig. 3
figure 3

Effect of particle size (μm) on adsorption of carbaryl onto NBD (bar in each point indicate error bar)

Effect of Stirring Rate

The stirring rate in adsorption study is an important parameter that can enhance a certain turbulence which is beneficial for closer contact between the adsorbate and the adsorbent [47]. The effect of the stirring rate was found out by varying speeds from 100 to 400 rpm at pH 6 with adsorbent dose of 0.1 g, contact time of 15 min, and 20 ppm initial concentration of carbaryl. The influence of the stirring rate on the extent of adsorption is shown in Fig. 4. It is revealed from the above figure that the carbaryl adsorption depends upon the stirring rate. The percentage adsorption is less at lower stirring rate and increases with increased stirring rate up to 250 rpm and thereafter shows no further change. Hence, with increasing shaking rate, adsorption was increased due to better contact between the adsorbent and the adsorbate [29]. Higher stirring rate forces the more efficient mass transfer of carbaryl molecules from bulk solution to the surface of the adsorbent as well as lesser time consumption [48]. Similar observations have been published in adsorption of carbaryl onto alluvial soil [28]. Therefore, for further studies, 250 rpm was kept constant.

Fig. 4
figure 4

Effect of stirring rate (rpm) on adsorption of carbaryl onto NBD (bar in each point indicate error bar)

Effect of Contact Time

It is essential to assess the effect of contact time required to reach equilibrium for designing batch adsorption experiments [23]. Therefore, the effect of contact time (5–60 min) on adsorption of carbaryl onto NBD was also investigated. The adsorption of carbaryl increased with rise in contact time up to 25 min, and after that a further increase in contact time did not affect the carbaryl adsorption process (Fig. 5). Similar findings for carbaryl adsorption onto other adsorbents have been reported elsewhere [23, 41].

Fig. 5
figure 5

Effect of contact time (min) on adsorption of carbaryl onto NBD (bar in each point indicate error bar)

Statistical Analysis

After choosing the optimum value of the particle size, stirring rate, and equilibrium contact time, a two-level BBD was used to analyze the adsorption of carbaryl onto NBD as a function of several parameters, viz., pH (A), adsorbent dose (B), and initial concentration (C). The ANOVA of carbaryl adsorption capacity qe (mg/g) is given in Table 3. The statistical analysis of variance (ANOVA) included the Fisher’s F test with its associated probability p > F and the correlation coefficient R 2 which measures the fitness of regression model and lack of fit, respectively [21]. The larger value of F and the smaller value of p are needed for significant corresponding coefficient terms [22, 37]. In this analysis, the F value of 435.03 with probability of <0.0001, R 2 of 0.9982, and coefficient of variation of 1.04 % confirmed that the model was highly significant and the experiments were precise and consistent. Further, adequate precision ratio was calculated to verify competence of the quadratic regression model [49]. Adequate precision ratio greater than 4 is desirable [37]. In the present study, the value calculated ratio is .542 which also validates the model [50]. The F and p values for lack of fit were 0.47 and 0.7590 (probability > F), respectively, which indicate no significance. Nonsignificant lack of fit is good for the model to fit [37]. Among all the terms, the linear effects of A and B were found to be significant since the p values were <0.0001 for the factors. An empirical relationship between the response and the independent variables has been expressed by the following quadratic model equation. Based on statistical significance, Eq. 5 can be written in coded terms as

Table 3 Analysis of variance (ANOVA) for percentage removal of carbaryl onto NBD
$$ \%\ Removal\ (Y)=+90.80\hbox{--} 3.34*A+5.94*B+0.013*C-1.13*A*B+1.12*A*C+0.55*\ B*C\ 19.88*{A}^2+3.27*{B}^2\hbox{--} 8.63*{C}^2 $$
(5)

where Y is the response of carbaryl removal capacity of NBD at the end of adsorption time. A, B, and C correspond to the independent variables of solution pH, adsorbent dose, and initial carbaryl concentration, respectively.

This equation reveals how the individual variable (quadratic) or double interaction affected carbaryl removal from aqueous solution by NBD. A combined effect between pH and adsorbent dose (AB) was found to be the most significant interaction factor due to the p value of 0.0481. All the quadratic terms, viz., A, B, C, D, AB, AC, BC, A, A2, B2, and C2, were found to be significant owing to their high F values and low p values [21]. Therefore, it can safely be concluded that pH (A), adsorbent dose (B), and initial concentration (C) play an important role in carbaryl adsorption onto NBD. The plot between experimental (actual) and predicted values of percentage carbaryl adsorption capacity is presented in Fig. 6. The figure indicates that both the values are in reasonable agreement with each other. It also suggests a good correlation between input and output variables that could be drawn by the model developed. Adjusted R 2 and predicted R 2 values were found to be 0.9959 and 0.9945, respectively, which indicate that there was reasonable agreement between the actual and the predicted values. The coefficient of variation and the standard deviation were found to be 1.04 and 0.84 (Table 3). The minimum value of the standard error design, 0.447 around the centroid, also indicates that the present model can be used to navigate the design space (Fig. 7). The normal residual plot between probability and internally studentized residuals (Fig. 8) shows that the residuals were distributed normally with minimum deviations, hence there was no transformation needed [37, 51, 52]. The response surface 3D plots (Fig. 9) were described by the regression model and used to express the relationships between factors on carbaryl adsorption capacity on NBD under the sets of conditions and treatment levels tested (Table 1). To determine the adequacy of the models depicting the removal of carbaryl by NBD, two different tests, i.e., the sequential model sum of squares and the model summary statistics, were conducted. The corresponding results are tabulated in Tables 4 and 5, respectively. The value of leverage, internally studentized residuals, externally studentized residuals, DFFITS, and Cook’s distance of the data can be obtained from diagnostic case statistics. The results portray that the leverage value was within 0 to 1. The Cook’s distance (range must be within ±1) and studentized residuals (limit of the studentized residuals is ±3 sigma) illustrate the normal distribution and constant variance of the residuals, the effective fitness, linearity of the model, and the independence [53]. The limit of the internally studentized residuals is ±3 sigma. DFFITS (limit lies in between +2 and −2) is a diagnostic tool that demonstrates how influential a point is in a statistical regression [54]. The analysis of diagnostic case statistics of data shows that the model fits well to optimize the independent variables for the removal of carbaryl.

Fig. 6
figure 6

Comparison of the experimental data (line) with those predicted data (symbols)

Fig. 7
figure 7

Standard error of design on adsorption of carbaryl onto NBD

Fig. 8
figure 8

Normal plots of residuals vs internally studentized residuals

Fig. 9
figure 9

Response surface plots showing the effect of independent variables on carbaryl adsorption onto NBD

Table 4 Adequacy of the model tested
Table 5 Model summary statistics for carbaryl adsorption onto NBD

A comparison of the effects of all factors under the optimal conditions of carbaryl adsorption to the neem bark was assessed by perturbation plot (Fig. 10). The sharp curvature of pH (A), adsorbent dose (B), and initial concentration (C) indicate that the carbaryl adsorption is highly affected by those variables.

Fig. 10
figure 10

Perturbation plot of carbaryl adsorption onto NBD

Adsorption Isotherm

The adsorption isotherm is the most extensively employed criterion for representing the equilibrium states of an adsorption system. It can give useful information regarding the adsorption process; it explains the equilibrium relationship between the adsorbate concentrations in the liquid phase with the adsorbent in a particular condition [55]. The equation parameters and the basic thermodynamic concept of the isotherm models offer some idea about the adsorption mechanism as well as the surface properties and affinity of the adsorbent [55]. There are varieties of isotherm models to describe equilibrium relationships, but not a single model is universally applicable. A particular model may or may not be valid in a particular case. Hence, it is important to establish the most appropriate isotherm model for the equilibrium data for evaluating the applicability of the adsorption process [55].

In view of this fact, in this study isotherm data were applied to Langmuir, Freundlich, Temkin, and D–R models at different temperatures and the outcome of their linear regressions was used to select the model with the best fit.

The linear form of the Langmuir and Freundlich models [56] with values of ensuing parameters and regression coefficients (R 2) are listed in Table 6. The straight lines generated from the experimental data for three different temperatures (Fig. 11) with a good correlation coefficient (R 2 0.994 to 0.995) showed the acceptability of the Langmuir isotherm over other adsorption isotherms used in this present study. The fitness of the adsorption data to the Langmuir isotherm explains that the binding energy on the whole surface of the adsorbent was uniform in nature and adsorption occurred through formation of a monolayer. A similar finding was shown on adsorption of amitraz pesticide onto clay [57].

Table 6 Summary of parameters for various isotherm models
Fig. 11
figure 11

Langmuir isotherm for adsorption of carbaryl onto NBD at different temperature

Compared with the Langmuir and Freundlich isotherm models, the Temkin isotherm equation [55] did not fit well with the experimental data. The constants KT and B were determined from the intercept and slope of the plot between qs and lnCf. However, as seen from Table 6, the Temkin constant B increases with increasing temperature indicating endothermic adsorption [55]. Further, higher KT values at all temperatures suggest strong interaction between the carbaryl and the adsorbent surface [55]. Smaller values of the Temkin constant B also suggested that adsorption of carbaryl on NBD was favorable.

The D–R isotherm model [45] was chosen to estimate the heterogeneity of the surface energies. The plots between lnqs and ε2 gave straight lines at all temperatures; the values of constants qm and β thus obtained are given in Table 6. The model constant gives an idea about the mean free energy E (kJ mol−1) of adsorption per mole of the adsorbate which in turn can give information about the type of sorption mechanism. E can be calculated using the relationship [58].

$$ E=\frac{1}{\surd 2\beta } $$
(6)

The estimated values of E for the present study were found to be >8 kJ mol−1 at all temperatures (Table 5) which implies that adsorption of carbaryl on NBD is chemisorption in nature [58].

Adsorption Kinetics

In order to find adsorption kinetics, pseudo-first order and pseudo-second order kinetic models were applied at optimum value of initial concentration. The equation of adsorption kinetics [59], the values of K1, the correlation coefficients (R 2), and the theoretical equilibrium adsorption capacity (qs) are presented in Table 7. The R 2 values (Table 6) suggested that adsorption of carbaryl onto NBD does not follow pseudo-first order kinetics. It thus confirmed that the pseudo-first order model was not appropriate for describing the adsorption kinetics of carbaryl onto NBD. On the contrary, the kinetic data showed excellent fit to the pseudo-second order equation at all concentrations studied. The plot of t/qt against t (at all the studied concentrations) is shown in Fig. 12. The pseudo-second order rate constant K2, the theoretical qS value, and the corresponding linear regression correlation coefficient value (R 2) are given in Table 6. From Table 6, it is evident that the correlation coefficient for the pseudo-second order kinetic plot is high (R 2 > 0.99). So, it can be inferred that the adsorption process proceeds through pseudo-second order mechanism rather than a pseudo-first order mechanism. The best fit to the pseudo-second order kinetics also means that the adsorption process may be chemisorption in nature, based on the assumption that the rate-limiting step involves valence forces through sharing or exchange of electrons [60]. In addition, the calculated qs value also agrees with the experimental data in the case of the pseudo-second order kinetic model. Similar findings for carbaryl adsorption onto other adsorbents have been reported elsewhere [16, 23].

Table 7 Summary of parameters for various kinetic models
Fig. 12
figure 12

Pseudo-second order kinetics for adsorption of carbaryl onto NBD

Thermodynamics Study

In order to fully understand the nature of the adsorption process, the thermodynamic parameters such as change in free energy (ΔG°), change in enthalpy (ΔH°), and change in entropy (ΔS°) must be calculated. These parameters can be estimated by considering the equilibrium constants at different temperatures. The change in free energy (ΔG°) for adsorption process was planned by using the following equations:

$$ \varDelta {G}^0=-RT\ ln{k}_c $$
(6)
$$ {k}_c={C}_n/{C}_e $$
(7)
$$ \varDelta {G}^0=\varDelta {H}^0-T\varDelta {S}^0 $$
(8)

where Cn is equilibrium carbaryl concentration on NBD (mg L−1).

The value of enthalpy change (ΔH°) and entropy change (ΔS°) was calculated from the slope and intercept of the plot ΔG° vs T (Fig. 13). Table 8 provides the values of thermodynamic parameters. The values of free energy change (ΔG°) ensured that the adsorption process was spontaneous and thermodynamically favorable under the experimental conditions. The decrease in value of ΔG° with increasing temperature strongly implied the occurrence of significant adsorption. Positive value of enthalpy change (ΔH0) revealed the endothermic nature of the adsorption process. The carbaryl molecules had to shift more than one water molecule for their adsorption, and this resulted in the endothermicity of the adsorption process. In addition, ΔH° data are also used for distinguishing between physical adsorption and chemical adsorption. When the enthalpy change is greater than 60 kJ mol−1, the adsorption is typically associated with chemical adsorption, and if it is less than 40 kJ mol−1, the adsorption should be associated with physical adsorption [61]. This study depicted that the enthalpy change is higher than 40 kJ mol−1. Therefore, chemisorption dominates the adsorption of carbaryl molecules onto NBD. Simultaneously, in the present study ΔS° value was positive. This observation suggests the increased disorder and randomness at the solid-solution interfaces as well as the affinity of carbaryl molecules towards adsorption onto NBD in aqueous solutions. Similar phenomenon has been observed for adsorption of carbaryl onto four Indian soils [22].

Fig. 13
figure 13

Plot of change of free energy (ΔG°) vs temperature (T)

Table 8 Summary of parameters for various thermodynamic parameters

Optimization Using the Desirability Function

In statistical optimization, a multiple response method was applied for optimization of any combination of four goals, specifically solution pH, adsorbent dose, initial concentration, and percentage of removal. Required goals were selected for each operating parameter and response from the “optimization” menu of the Design-Expert software. The probable goals present in the menu were as follows: maximize, minimize, target, within range, none (for responses only), and set to an exact value (factors only). A maximum and a minimum level were provided for each parameter included [36]. From the menu, “weights” can be allocated to each goal to adjust the form of its particular desirability function. Finally, the goals were united into an overall desirability function. Desirability is a purposeful function that ranges from 0 to 1 at the goal. The goal searching was started randomly by the software at a starting point and brought the steepest slope to a maximum. The overall solution of the optimized result is represented by ramp plots.

Optimization (Criteria-I)

The first statistical optimization creates a point that maximizes the desirability function. To find maximum desirability, all the factors were within the range 2–10 of pH, 0.01–0.1 g of adsorbent dose, and 5–20 ppm initial concentration. The importance of each goal was altered in relation to the other goals. Figure 14a shows a ramp desirability that was generated from 30 optimum points through numerical optimization using the software. By choosing from 30 starting points in the response surface changes, the best local maximum was found to be at pH 5.51, adsorbent dose of 0.1 g, and initial concentration of 12.38 ppm; under this condition, carbaryl removal was 99.744 % and desirability was 1.000. These optimum values predicted by the Design-Expert software were checked experimentally in laboratory which showed carbaryl removal by NBD close to 99 %. Overall, the obtained value of desirability depicts that the estimated function may characterize the experimental model under required conditions [35].

Fig. 14
figure 14

RAMP plots for a first and b second optimization procedure

Optimization (Criteria-II)

In order to find the maximum adsorption capacity under economically viable condition in the second optimization process, the goal was set as “in range” for pH, “maximum” for adsorbent dose, and “minimum” for initial concentration, respectively. After optimization, the software detected 10 different solutions. Among these solutions, the best condition was found at pH 5.86, adsorbent dose at 0.01, and initial concentration at 18.29. Under this condition, carbaryl removal is 82.6 % and desirability is 0.822 (Fig. 14b). Now, when the software predicted the optimum values that were checked experimentally, this resulted in 78 % of carbaryl removal by NBD. Using these values, the maximum adsorption capacity was also calculated (using Eq. 1) and found to be 146.3 mg g−1. Furthermore, based on maximum adsorption capacity and economical use of adsorbent, a second optimization procedure was preferred for the removal of carbaryl by NBD. A similar finding has been observed in percentage removal of Cr6+ by neem bark powder [32].

Desorption Studies

The possibility of recovery of adsorbent was investigated by conducting desorption studies. Regeneration of the adsorbent also makes the treatment process more economical. In the present study, desorption of carbaryl from carbaryl-loaded NBD was possible by employing 2(M) NaOH solution, which performed well with a desorption efficiency close to 94 %. Therefore, the adsorbent was recovered well and will not be a cause of pollution in the future.

Comparison of Neem Bark Dust with Other Adsorbents

For a direct and meaningful comparison, the maximum amount of carbaryl adsorbed on NBD has been compared to the maximum carbaryl adsorption capacity of NBD with other reported sorbents under different pH and are presented in Table 9. From the table, it is clear that the maximum sorption capacity of NBD for carbaryl is comparable and moderately higher than that of many corresponding sorbent materials. The easy availability and cost effectiveness of NBD are some additional advantages, which makes it a better adsorbent for treatment of carbaryl.

Table 9 Adsorption capacity of various adsorbents as reported in literature

Conclusions

At first, optimum values of particle size, stirring rate, and equilibrium contact time were chosen. Thereafter, the statistical design (BBD) selected from RSM was applied to analyze carbaryl removal from aqueous solutions by NBD as a function of several parameters, viz., pH (A), adsorbent dose (B), and initial concentration (C). Results obtained from ANOVA explained that carbaryl removal is highly affected by adsorbent dose, pH, and the combined effect of solution pH with the other factors (viz, adsorbent dose, initial concentration). According to this model, the best optimized conditions are pH (5.86), biomass dose (0.01 g), and initial concentration (18.29 ppm). Under these conditions, the experimental maximum adsorption capacity is 146.3 mg/g of carbaryl from aqueous solutions, when using NBD. Hence, RSM has given important information on interactions between the factors and helps to detect possible optimum values of the studied factors. The kinetic studies displayed the applicability of pseudo-second order kinetics. The adsorption equilibrium data was found to fit best with Langmuir adsorption isotherm. Thermodynamic parameters such as change in free energy, change in enthalpy, and change in entropy indicate the feasibility and the endothermic and spontaneous nature of adsorption. Finally, it can be concluded that the reported results presented in this study indicate that neem bark dust has great potential as an easily available natural adsorbent for removal of carbaryl in wastewater management and treatment.