Introduction

Nanotechnology is beholding as congregating expertise of the recent times due to its structural constancy overages and its roles concerning every arena of science. Currently, many physical and chemical methods are there but generally, they are costly and hazardous for living things and the environment1. In the field of nanochemistry, metal nanoparticles (MNPs) have grabbed imperative consideration in extensive applications due to their exclusive physicochemical properties characteristic to the nanoscale2. The approaches of synthesis of metal nanoparticles are as varied as the nature of various metals. The approaches have been classified in the top-down mechanism3 and a bottom-up mechanism4. For the synthesis of nanomaterials, its approach to natural machinery to achieve an eco-friendly nanostructured material for more remediation5,6. Engaging any biological element such as plant, yeast, bacteria, and fungi is always an excellent choice for an environmentally responsive method that is accredited to be green synthesis7,8. Besides the support of the ecosystem, green synthesis has been found to be helpful in controlling the size and shape of nanoparticles of our interest9. Recently the usage of microbes has been highlighted in living systems for the synthesis of metallic NPs10. Several microbes have exceptional potential for bioremediation of noxious metals and their translation into more docile forms, and this makes them necessary aspirants for living systems. Different microorganisms practice extracellular or intracellular routes for biosynthesis of NPs. Biotic synthesis of metallic NPs can be achieved by using either complete cell masses of bacteria, fungi, and algae or using cell extracts or culture supernatant of microorganisms11,12. Microbial synthesis of metal nanoparticles requires different physicochemical and biological parameters which help in acquiring metal nanoparticles with controlled size, shape, and dispersity13. In recent years, nanostructured materials verified to have high potential to attain definite procedures particularly in biological and pharmaceutical applications which fascinate a boundless impact of attention14. Over the past periods, silver has been proved to be a harmless inorganic antibacterial agent that is non-toxic and well recognized for the assassination of about 650 kinds of diseases producing microbes15,16,17. Silver has been labeled as energetic for its capability to exercise potential for a varied variety of biological applications such as anti-fungal agents, anti-bacterial agents, avoiding contagions, healing wounds, and anti-inflammatory even at low concentrations18,19. Silver ions are involved in the devising of dental resins, bone adhesive, ion exchange fibers, and medical tools coating20. Recent studies have shown that silver nanoparticles show strong inhibition and assist as a defensive barrier for most of the pathogens21,22. Apart from biomedical tenders23, silver nanoparticles find extensive applications in catalysis, optical properties, wastewater treatment, plant growth, and crop production24,25,26,27.

Motivation behind this research work is to develop a simple, low-cost, eco-friendly method for microbial synthesis of AgNPs. The effect of various experimental parameters like temperature, pH, time, amount of silver nitrate, and inoculum size was also optimized through response surface methodology (RSM). For experimental design, RSM is a useful technique to optimize experimental parameters and AgNPs preparations by minimizing the number of trials and errors28,29. This represents a comprehensive investigation of various experimental variables in the microbial synthesis of AgNPs using central composite design (CCD). The biosynthesized AgNPs were characterized through various techniques and were studied for antimicrobial, antioxidant, and catalytic applications.

The usage of conservative ways of optimization of biogenic synthesis of silver nanoparticle by changing one factor at a time like temperature, time, pH, metal concentration, and inoculum size by keeping other factors constant is difficult, dull, cost-inefficient, long, and likewise incapable to govern reciprocated interactive properties of diverse factors. Response surface methodology (RSM) is the greatest extensively modified arithmetical and mathematical software employed for the optimization of multiple factors fluctuating simultaneously. RSM can offer thorough intuition of straight, curvilinear, and pairwise combined effects of variables on the response30. Multivariate practices are available for experimental designs, which are Box–Behnken Design (BBD), Central Composite Design (CCD), and Doehlert Matrix (DM). In terms of efficiency of design, CCD is more efficient as compared to BBD and DM31.

The recent study revealed that the biological production of silver nanoparticles from Bacillus cereus was carried out. The parameters were optimized by using statistical tool RSM and were categorized using simple systematic techniques of UV–visible spectrophotometer, scanning electron microscopy (SEM), Furrier transform infra-red (FTIR) spectroscopy, particle size analyzer, and X-ray diffraction (XRD). Antimicrobial action of biosynthesized silver nanoparticles was inspected with five species of multidrug-resistant microbes. In these strains, two gram-positive bacteria, Staphylococcus epidermidis, Staphylococcus aureus, and three gram negative bacteria as Escherichia coli, Salmonella enterica, Porteus mirabilis by disc diffusion method using streptomycin as a standard antibacterial agent. During this study, the minimum inhibitory concentrations (MICs) and minimum lethal concentrations (MLCs) were also spotted by the broth macro dilution method. Antioxidant potential of biosynthesized silver nanoparticles was estimated by scavenging free radicles of 2,2-diphenyl-1-picrylhydrazyl-hydrate (DPPH) and similarly it was also checked by 2, 2′-Azino-Bis-3-Ethylbenzothiazoline-6-Sulfonic Acid (ABTS) with varying time intervals. The scavenging action was monitored by UV–vis spectrophotometer. The catalytic potential of silver nanoparticles was studied for the degradation of methyl orange in the industrial wastewater.

Results and discussion

Visually the biogenic preparation of silver nanoparticles was retrieved through the variation in color of the reaction combination to a dark brown but no color change was observed in control (without AgNO3 salt solution) as in Fig. 1. To study the distinct and joint effects of different parameters like metal concentration (ml of 1 mM), inoculum size (Bacillus cereus), temperature, time, and pH Central Composite Design (CCD) per 26 experiments was established. For this purpose, Response Surface Methodology Design-Expert-12 software was used. The central composite design consisted of eleven full factorial, ten axial, and five center points positioned at both extreme and vital points (Table 2) correspondingly. Regression examination of the data points studied the distinct and collaborative effects of variables on the biosynthesis of silver nanoparticles and a second-order polynomial equation stood settled. The low (− 1), central (0), and high (+ 1) values of variables like AgNO3 concentration (ml of 1 mM), inoculum size, temperature, time, and pH were coded as A, B, C, D, and E respectively (Table 1) whereas absorbance at 430 nm indicated the experimental response of all the 26 different groupings of experimental factors (Table 2).

Figure 1
figure 1

(ac) Visible observation for green synthesis of silver nanoparticles by Bacillus cereus (a = Silver nitrate solution, b = silver nitrate and Bacillus cereus, c = synthesized silver nanoparticles).

Table 1 Experimental values and levels of independent variables.
Table 2 The central composite design for the experiment.

The color change from transparent to light yellow and then dark brown is the visual signal for the conversion of silver nitrate into silver nanoparticles as shown in (Fig. 1a–c), however, it was further confirmed by the UV–visible spectrophotometer. The UV–Visible spectrum was predictable on the UV-1700 pharmaspac UV–Visible spectrophotometer functioned at a resolution of 1 nm. The wavelength range was 400–800 nm. A robust surface plasmon response (SPR) peak was observed at 430 nm (Fig. 2). The UV–visible absorption peak in the range of 400 nm to 500 nm is the characteristic surface plasmon peak of silver nanoparticles32. Similarly, morphological information of biosynthesized silver nanoparticles can also be obtained by the analysis of UV–visible spectra. In this study, the silver nanoparticles produced are isotropic and spherical due to the appearance of a single surface plasmon response peak33. The dark brown solution produced was centrifuged at 5000 rpm for 10 min and air-dried to get the powder of silver nanoparticles.

Figure 2
figure 2

The UV–visible spectrum of biosynthesized silver nanoparticles by using Bacillus cereus.

The particle size of silver nanoparticles was measured through Dynamic Light Scattering (DLS) method (BT-90 nanoparticle size analyzer instrument). Intensity of light scattered due to the movement of particles (Brownian motion) was measured. It examines the particles perpendicular to the light source. To calculate the hydrodynamic diameter of biosynthesized particles Stokes–Einstein equation was employed34. Solution of biosynthesized silver nanoparticles was prepared by dissolving 1 mg in 5 ml of deionized water. For homogenization of the prepared solution, it was ultrasonicated for 30minutes. After that 10 µl of the above solution is transported to 1 ml cuvette, filled the remaining portion with deionized water, and placed in particle size analyzer. It showed the D50 value 5.65 nm, and D (4.3) value 5.59 nm with 358.78 m2/g surface area (Fig. 3).

Figure 3
figure 3

Particle size distribution of biosynthesized silver nanoparticles.

To find out the practical assemblies and their probable corporation in the biosynthesized silver nanoparticles, the dry product was ground with potassium bromide and the range was plotted by using furrier transform infra-red spectroscopy VERTEX 70, Japan. Furrier transform infra-red spectroscopy was used to locate the capping of biosynthesized silver nanoparticles. FTIR ranges perused from 500 to 4500 cm−1 showed the incidence of functional assemblies of biomolecules. FTIR spectra of biosynthesized silver nanoparticles showed six major peaks at 1046 cm−1, 1396 cm−1, 1529 cm−1, 1621 cm−1, 2927 cm−1, and 3268 cm−1 (Fig. 4). FTIR investigation was made to find out the connections between silver and biologically lively compounds that are responsible for the creation and constancy of nanoparticles as capping agents35. The carboxylic acid group derived with an amine in the amino acid of proteins designates in the infrared region of the range. The occurrence of proteins are specified by such a region of the spectrum. The connections among nanoparticles and proteins were due to the unrestricted amine group and at the same time can also be through negative carboxyl groups of enzymes. It was obvious that proteins or enzymes released from the bacterial cell are in authority for translation and stabilization of silver nanoparticles.

Figure 4
figure 4

FTIR spectra of biosynthesized silver nanoparticles by Bacillus cereus.

To investigate the nature of prepared nanoparticles, X-ray diffraction (XRD) of the product was worked by Philips PANalytical X’Pert Powder (Park system, Korea). The peaks expressed were allocated to consistent diffraction signals. The XRD outline of biosynthesized silver nanoparticles displayed four robust peaks in the whole spectrum of 2θ values extending from 20 to 80 (Fig. 5). These reflections were indexed as (111), (200), (220), and (311). A comparison of our XRD pattern with slandered (JCPDS Card No 87-0597) had established the synthesis of silver nanoparticles.

Figure 5
figure 5

X-ray diffraction pattern of silver nanoparticles. Silver nanoparticles were synthesized from 1 mM silver nitrate treated with Bacillus cereus. The samples were sonicated, air-dried and the XRD pattern was observed.

A field emission Scanning Electron Microscope (SEM) study was completed in an instrument FEI Nova 450 NanoSEM. SEM provides information about exterior morphology, structure, chemical composition, and alignment of the sample. SEM provides high-resolution pictures of samples by focusing on the primary electron beam and detecting secondary or backscattered electron signals.

SEM micrograph of synthesized silver nanoparticles is shown in (Fig. 6).

Figure 6
figure 6

SEM image of produced silver nanoparticles.

The P-values regulate the meaning of direct, quadratic contact of coefficients. A P-value of less than 0.0500 designates model terms are considerable. In this situation, A, B, C, E, AB, AD, AE, BC, BD, CE, DE, B2 are noteworthy prototypical standings. Values greater than 0.1000 indicate the terms of design are not important. The changeability in predicted and real responses and fit statistics of the established design was confirmed by coefficient R2. The value of intended R2 0.9825 showed that 98.25% variation is due to independent variables in the biosynthesis of silver nanoparticles. The model F-value of 14.01 suggests the model is significant. There is only a 0.41% coincidental that an F-value this great could rise due to noise. The non-significant f-value of 2.25 and p-value 0.2083 infers that the nominated regression design is significant. There is a 20.83% chance that a f-value this large could arise due to noise. Predicted R2 suggests that the total mean maybe an improved analyst of response. Adequate precision dealing with the signal to noise fraction. A fraction larger than 4 is wanted. the ratio of 13.597 specifies a satisfactory signal. This model can be used to navigate the design space. The analysis of variance (ANOVA) and fit statistics of the quadratic model to test its significance is described in Tables 3 and 4.

Table 3 ANOVA for quadradic model.
Table 4 Fit statistics of the quadratic model.

Created on second-order response surface design, the interaction between experimental variables such as AgNO3 concentration (A), inoculum size (B), temperature (C), time (D), pH (E), and the response was revealed in the system of three-dimensional surface plots as in (Fig. 7a–j). The outline of the distinct surface elucidated both important and irrelevant effects between independent and dependent experimental aspects. A significant interactive outcome of AgNO3 amount and the inoculum quantity on the biosynthesis of silver nanoparticles was detected (Fig. 7a). The interaction of metal concentration and the temperature is exposed in (Fig. 7b). An increase in silver nanoparticle synthesis was observed by an increase in temperature. The effect of metal concentration with time (Fig. 7c) and pH (Fig. 7d) showed that both have a significant effect on silver nanoparticle synthesis. The (Fig. 7e) showed that there is a positive relationship between temperature and inoculum size similarly (Fig. 7f) interprets the correlation of time with inoculum size and pH and inoculum size (Fig. 7g) on the response. A rise or decline in pH from its neutral point produced an increase in the biosynthesis of silver nanoparticles. Similarly, an increase in temperature with time (Fig. 7h) and temperature and pH (Fig. 7i) showed that all factors are interactive and have a substantial effect on the biogenesis of silver nanoparticles. The effect of pH and temperature on response specified proportionality between the two variables. Also, time and pH (Fig. 7j) showed that all these variables meaningfully affected the biosynthesis of silver nanoparticles. The particle behavior gets changed in an acidic and alkaline environment. However, the size of silver nanoparticles decreased with increased pH at given time frame. In alkaline pH, monodispersed, spherical nanoparticles were formed with an increased amount. At elevated pH, the reaction rate was increased which result in nucleation and growth of small-sized silver nanoparticles36. At basic pH, there is lower aggregation, good yield, fast growth, monodispersed, and increased particle stability37. Similarly, particles get aggregated with increased silver nitrate concentration. Grounded on the second-order polynomial equation the equivalence plot represents the appropriate association between predicted and actual investigational values. The perfect fit of the design and the transformation among projected and definite standards are comparative to the remoteness of data points after the slanting line as in (Fig. 8a).

Figure 7
figure 7figure 7figure 7figure 7

Three dimensional graphics for response surface optimization by plotting absorbance versus (a) silver nitrate (ml) and inoculum size (ml), (b) silver nitrate (ml) and temperature (°C), (c) silver nitrate (ml) and time (hours), (d) silver nitrate (ml) and pH, (e) inoculum size (ml) and temperature (°C), (f) inoculum size (ml) and time (hours), (g) inoculum size (ml) and pH, (h) temperature (°C) and time (h), (i) temperature (°C) and pH, (j) time (h) and pH.

Figure 8
figure 8

(a) The parity plot suggests the correlation between actual and predicted values of biosynthesized silver nanoparticles. (b) Optimized ramps for the maximum biosynthesis of silver nanoparticles obtained from CCD of RSM.

To authorize the correctness and rationality of CCD model of RSM and for better understanding of response, all trials were completed in triplicate. The ideal parameters for the biosynthesis of silver nanoparticles were AgNO3 (1 mM) 10 ml, inoculum size (Bacillus cereus) 8.7 ml, temperature 48.5 °C, time 69 h, and pH 9 showed in the arrangement of ramps (Fig. 8b). The forecast and genuine values of CCD design were very near (Fig. 8a) viewing the rationality of the applied design.

Gram-positive bacterial strains Staphylococcus epidermidis, Staphylococcus aureus, and gram-negative bacterial strains Escherichia coli, Salmonella enterica, Porteus mirabilis were used to find the antimicrobial efficiency of biosynthesized silver nanoparticles. Zones of inhibitions (mm) of biosynthesized silver nanoparticles were resolute by using the disc diffusion method. Streptomycin (200 µg/ml) antibiotic was used as a standard against all the five bacterial strains (Table 5). The minimum inhibitory concentrations (MIC) and then minimum lethal concentrations (MLC) were performed by the broth macro dilution method. All the experiments were carried out in triplicate and average ± SD was represented (Table 6). Silver nanoparticles may interact with proteins of bacterial cell membranes and DNA of bacterial cells and cause the membrane disruption. An increase in cell absorptivity and DNA impairment causes cell death and inhibition of bacterial growth38. So, we can conclude that the antibacterial action of silver nanoparticles depends on the composition of the bacterial cell wall and cell membrane. Another proposed mechanism revealed that silver nanoparticles get committed to the bacterial cell membrane. As a result of, membrane permeability and respiratory functions get disturbed. The nanoparticles may also penetrate inside the bacterial cell39. Small-sized silver nanoparticles would have enhanced the bactericidal effect due to their large surface area as compared to large-sized nanoparticles. Other investigations suggest that positive charge silver ions develop electrostatic attraction with a negatively charged microbial membrane40. It was discovered that silver ions from silver nanoparticles were accountable for antimicrobial efficacy41. From this we can say that silver nanoparticles can be employed to progress new anti-microbials generations, drug delivery systems, nanomedicines, and many other proposals like silver-based coverings, silver layered medical devices, nano lotions, and nanogels.

Table 5 Diameter in mm of zones of inhibition of biosynthesized silver nanoparticles against a standard antibacterial agent streptomycin by disc diffusion method.
Table 6 Broth macro dilution method for determination of minimum inhibitory and minimum lethal concentration values of the biosynthesized silver nanoparticles.

Antioxidants protect the cells against free radicals. An antioxidant stops oxidation by neutralization of produced free radicals as a result of which itself it undergoes oxidation. In the present study, the antioxidant activity of biosynthesized silver nanoparticles was investigated by 2,2-diphenyl-1-picrylhydrazyl-hydrate (DPPH) and 2,2′-Azino-Bis-3-Ethylbenzothiazoline-6-Sulfonic Acid (ABTS) assay. Both of the methods are easy, rapid, sensitive, and produced excellent results of radical scavenging activity for biosynthesized silver nanoparticles42,43. DPPH is a commercially available, organic radical having purple color. The purple color faded on reduction showing the antioxidant activity of the sample added. The antioxidant activity of silver nanoparticles at different time intervals was studied and found that 100 μl sample showed a very good radical scavenging activity with time when compared with Trolox and Butylated hydroxyanisole (BHA) standards (Fig. 9). The DPPH free radical scavenging activity was represented by the percentage DPPH remaining. It showed significant activity (94.01% remaining) even after 30minutes. ABTS examination was also carried out to calculate the antiradical activity of biosynthesized silver nanoparticles. The outcomes of ABTS assay were articulated in terms of TEAC values (Fig. 10). TEAC value is a measure of the antioxidant activity of a substance. Higher the value of TEAC greater the antioxidant potential of the substance. The percentage inhibition increases with time and found maximum from 16 to 40 min. TEAC value is positively associated with ABTS cation radical scavenging capacity when Trolox acts as a standard antioxidant compound.

Figure 9
figure 9

DPPH kinetic curve of biosynthesized silver nanoparticles at different time intervals when TROLOX solution was used as positive control.

Figure 10
figure 10

ABTS assay of biosynthesized silver nanoparticles at different time intervals. TEAC stands for Trolox equivalent antioxidant capacity and it represents the antioxidant potential of Trolox solution with equivalent concentration of sample under investigation.

Methyl orange (MO) is a commonly used water-soluble azo-dye which is widely used in textile, paper, and printing industries. Mostly discharged in the industrial wastewater. Degradation and removal are an exciting area of research. It is orange-red in color in aqueous solution and shows maximum absorbance at 460 nm44. Although NaBH4 is a robust reducing agent, however, is incapable to reduce methyl orange (MO) successfully. There is a great difference of redox potential of both so the reduction is thermally permitted but kinetically not permitted45. The reaction kinetics was studied spectrophotometrically. The reaction follows pseudo-first-order kinetics as the amount of sodium borohydride used is higher and practically remains constant. Only the concentration of methyl orange changes with time. A smooth plot of lnA with time was attained for the degradation of methyl orange with and without silver nanoparticles (Fig. 11). In this redox process, there is considered to be an electron transfer reaction involve between dye and sodium borohydride. In this reaction, sodium borohydride acts as an electron donor and the methyl orange act as electron acceptor46. The reduction potential of biosynthesized silver nanoparticles is somewhat between the methyl orange and borohydride ions make the transfer of electrons easier. Due to the large surface area of biosynthesized silver nanoparticles, the rate of reduction processes is enhanced. Both the reactants get adsorbed on the surface of silver nanoparticles. The borohydride ions release electrons to the catalyst surface from which methyl orange gain electrons and get reduced. So the rate of reaction is enhanced in presence of silver nanoparticles47. The concentration of methyl orange decrease with time as in Table 7. The rate constant for degradation of methyl orange without silver nanoparticles is calculated to be 0.0514 min−1 and with silver nanoparticles is 0.0976 min−1. This shows that rate of reaction increases due to silver nanoparticles which confirms its catalytic activity in this reaction.

Figure 11
figure 11

Dye degradation with and without silver nanoparticles.

Table 7 Degradation of methyl orange (MO) with and without biosynthesized silver nanoparticles at 460 nm along with lnA calculated from pseudo-first-order kinetics.

Materials and methods

Analytical grade silver nitrate AgNO3 (99.95%), nutrient broth, nutrient agar, and all reagents used in this investigation were purchased from Sigma Aldrich Chemicals Germany. Double distilled deionized water was used during this investigation. The bacterial strain Bacillus cereus was isolated from contaminated soil samples, purified, and identified morphologically and microbiologically. These attained pure cultures were reserved in nutrient broth agar medium slants and were re-cultured after intervals to synchronize their viability in the laboratory during the study period. For antimicrobial activity, microbes were provided by Mayo Hospital Lahore including Staphylococcus epidermidis, Staphylococcus aureus, Escherichia coli, Salmonella enterica and, Porteus mirabilis.

Inoculum size preparation

Conical flask of 250 ml comprising 1.5 g of nutrient broth per 100 ml of a buffer (pH 5 to 9) solution prepared in double-distilled deionized water was autoclaved at 121 °C for 15 min. Freshly prepared buffer solutions of pH 5 to 9 were used and their pH was monitored by pH meter. A loop full of Bacillus cereus was then inoculated into the autoclaved flask and positioned in an orbital shaking incubator at 37 °C, and 120 rpm for 24 h.

Conditions optimization for synthesis of silver nanoparticles by RSM

Initial experiments displayed that temperature (°C), time (h), pH (Mole/L of H ions), inoculum size (ml), and metallic concentration (1 mM) are the experimental features that affect the synthesis of nanoparticles. Individual and interactive effects of these factors were calculated by using central composite design (CCD) of response surface methodology (RSM)48. To get the set of optimized features for the biosynthesis of nanoparticles, the levels and symbols of these experimental variables are shown in Table 1. Optimization of the procedure was carried out by using Design-Expert ver-12 software (Stat Ease, Inc. MN, USA) formed on complete factorial central composite design with 26 runs as shown in (Table 2). The importance of these constraints on the retort (absorbance at 430 nm) was checked for 5 days. Trials were taken in triplicate, examined on a UV–visible spectrophotometer, and absorbance of every trial at 430 nm was reserved as a response (Y). The results of the central composite design (CCD) trials were analyzed through RSM by means of second-order polynomial equation49 as shown below:

$$ {\text{Y }} = {\text{ b}}_{0} + \sum^{{\text{n}}} {\text{b}}_{{\text{i}}} {\text{X}}_{{\text{i}}} + \, \sum^{{{\text{n}} - {1}}} \sum^{{\text{n}}} {\text{b}}_{{{\text{ij}}}} {\text{X}}_{{\text{i}}} {\text{X}}_{{\text{j}}} + \, \sum^{{\text{n}}} {\text{b}}_{{{\text{ii}}}} {\text{X}}_{{\text{i}}}^{{2}} + \, \varepsilon $$

where, Y = response variable, Xi and Xj = both are independent variables, b0 = the coefficient constant, bi = the linear effect coefficient, bij = the interaction effect coefficient, bii = the quadratic effect coefficient, ε = random error, n = numeral of variables.

These were articulated in relation to three-dimensional plots viewing the distinct and interactive possessions of these investigational variables on the response. The design was spotted by F-values, lack of fit, and R2 values and then the model was recognized. Finally, the full quadratic model was reflected through the analysis of variance (ANOVA). ANOVA outcomes and fit statistics for the quadratic model are briefly presented in Tables 3 and 4.

Green synthesis of silver nanoparticles

During the green biogenic formulation of silver nanoparticles, 1 ml to 10 ml of silver nitrate (1 mM) was added into 1 ml to 10 ml of prepared inoculum of Bacillus cereus (pH 5 to 9) in different flasks. The flasks were kept in an incubator shaker at temperatures (25 to 50 °C) and 120 rpm for the specified period of time (12 to 72 h). All the 26 sets of experiments were performed (Table 2). The progress of silver nanoparticle synthesis was checked by using a UV–visible spectrophotometer.

Antimicrobial activity

The anti-microbial action of biosynthesized silver nanoparticles with the zone of inhibition, the minimum inhibitory concentrations (MIC), and the minimum lethal concentrations (MLC) was conducted for microbes like Staphylococcus epidermidis, Staphylococcus aureus, Escherichia coli, Salmonella enterica and, Porteus mirabilis. The Kirby-Bauer disc diffusion method50 was used to govern the zone of inhibitions of biosynthesized silver nanoparticles. The sterilized Petri plates with Mueller Hinton agar were swabbed with bacterial culture. The discs (6 mm) saturated with standard antibiotic Streptomycin (200 μg/ml) and biosynthesized silver nanoparticles (200 μg/ml) were seeded on the upper layer of prepared agar plates. These were incubated at a temperature of 37 °C for a period of 24 h. The outcomes were obtained by measuring the diameter (mm) of the inhibition zone for each bacterial strain (Table 5).

The minimum inhibitory concentration (MIC) is the lowermost effective amount of silver nanoparticles that completely obstructs the 99% growth of tried microorganisms51. The MIC determination was carried out by the broth macro dilution method. For this purpose, the Luria Bertain (LB) broth along with two-times consecutive dilutions of silver nanoparticles in a concentration range of 1600 μg/ml to 0.05 μg/ml was used. A positive controller tube with a test microbe in LB broth and a negative controller tube containing only LB broth was also carried out side by side. The MIC was resolute after 24hours of incubation in an orbital shaker at 37 °C and 120 rpm. For MLC determination, a quantity of 25 μl from each clear tube with no visible growth was planted on Mueller–Hinton Agar (MHA) plates and were incubated at a temperature of 37 °C for 24 h (Table 6). The MLC is the lowermost concentration of silver nanoparticles which executes 100% of the microbial population (no growth on MHA plate). The MIC represents the bacteriostatic effects of silver nanoparticles against the tried microbes while the bactericidal effects were represented by MLC.

The consequence of the antimicrobial action of silver nanoparticles was obtained by (ANOVA) analysis of variance software ver 9. The findings were in triplicate and average ± SD values were represented.

Antioxidant activity

Free radical scavenging ability on DPPH

To evaluate the scavenging ability on DPPH, a standard solution was made by dissolving 25 mg/l of DPPH in methanol, and absorbance was regulated at 1.00 ± 0.02 at 515 nm. A sample solution was made by dissolving 3 mg per ml of distilled water. Now to the 2.5 ml of DPPH solution added 100 μl of the sample mixture. The mixture was stirred energetically and allowed to stay in the black for 30 min52. Now measure the absorbance at 515 nm after every 5 min interval for 30 min. The scavenging capacity was calculated using the following equivalence,

$$ \% {\text{ DPPH}}_{{{\text{remaining}}}} = \, \left( {{\text{DPPH}}} \right)_{{{\text{t}} = {\text{t}}}} / \, \left( {{\text{DPPH}}} \right)_{{{\text{t}} = 0}} \times { 1}00 $$

where (DPPH)t=t showed absorbance of DPPH solution at a particular time and (DPPH)t=0 showed absorbance of DPPH solution at the starting point.

Antioxidant activity evaluated by ABTS

For ABTS assay, 7 mM ABTS was formulated in doubly deionized water. To generate ABTS radical 2.45 mM potassium persulfate was added and permitted to stand for 12–16 h in dark. After that, a buffer of pH 7.4 was added and absorbance was kept at 0.70 ± 0.02 at 734 nm. 10 μl (1 mg/ml) of silver nanoparticles were added to 2.99 ml of the above ABTS solution then observed the alteration in absorbance after every 8 min53. All absorbance values were taken in triplicate and mean values were calculated. A blank was run in parallel. Percentage inhibition was intended by means of the formula,

$$ {\text{Inhibition percentage}}_{{({\text{at 734nm}})}} = { 1 }{-}{\text{ A}}_{{{\text{sample}}}} /{\text{ A}}_{{{\text{blank}}}} \times {1}00 $$

Catalytic activity

To study the catalytic degradation of methyl orange (MO), a 2 ml (0.01 × 10–2) solution was taken in a cuvette (1 cm path length). In it was added 0.5 ml (0.006 M) solution of NaBH4 followed by 0.5 ml (0.050 mg/ml) of biosynthesized silver nanoparticles. The change in the concentration of methyl orange with time was studied spectrophotometrically. The change in absorbance at 460 nm was noted after every 5minutes interval at room temperature. A blank experiment (without AgNPs) was also carried out.

Ethical approval

The article does not comprise any studies with humans or animals made by any of the authors.

Conclusion

The biogenic formation of silver nanoparticles was achieved by using Bacillus cereus also the process of synthesis was improved by using response surface methodology (RSM). The practice of central composite design (CCD) of response surface methodology (RSM) looked like an important tool to elucidate the discrete and reciprocated effects of numerous investigational data points and their optimization for better biosynthesis of silver nanoparticles in a lucrative and time-effective mode. Classical method of optimizing one factor at a time by keeping other factors constant was avoided as it may cause errors and more time-consuming. For the first time, the biosynthetic conditions of silver nanoparticles through Bacillus cereus were optimized through the central composite design of response surface methodology. After performing the designed experiments, the optimized factors were, amount of AgNO3 (1 mM) = 10 ml, inoculum size (Bacillus cereus) = 8.7 ml, temperature = 48.5 °C, time = 69 h, and pH = 9. The produced silver nanoparticles were small sized ranging from 5 to 7.06 nm with large surface area of 358.78 m2/g. The produced nanoparticles were characterized by UV–visible spectrophotometer, FTIR, particle size analyzer, XRD, and SEM. The produced particles were spherical with a large surface area. The antibacterial action of biogenic nanoparticles was evaluated compared to Staphylococcus epidermidis, Staphylococcus aureus, Escherichia coli, Salmonella enterica, Porteus mirabilis. The antibacterial effectiveness shows an assurance for their use as a robust mediator to treat multidrug-resistant microbes. The biosynthesized silver nanoparticles were also verified for their antiradical effectiveness and it was evaluated through DPPH and ABTS assay. Degradation of an azo-dye (methyl orange) in presence of biosynthesized silver nanoparticles with time gives excellent results. The biosynthesized silver nanoparticles find their applications in biomedical and industrial wastewater treatment.