Synthesis and evaluation of newly E-octadec-9-enoic acid derivatives as sustainable corrosion inhibitors for mild steel in 1.0 M HCl

Abstract Several new amide derivatives having varied aromatic characteristics prepared efficiently via nucleophilic acyl substitution reactions are tested for corrosion inhibition of mild steel in 1 M HCl at 20, 40, and 60 °C range by gravimetric methods. All compounds have shown very good inhibition efficiency (IE%) in acidic solutions. Increasing the temperature (in the presence of the inhibitor in the higher concentration (100–1000 μM) are found to increase the inhibition efficiency of the amide’s derivatives. Results from gravimetric measurements further revealed that Inh. 4 shows excellently at 60 °C giving IE% of 91.88 at 1000 μM. Thermodynamic parameters (ΔGºads, ΔHºads, and ΔS ºads) for the adsorption process and kinetic parameters for the metal dissolution (or hydrogen evolution) reaction in the presence of the new derivatives were determined. Experimental results agree with the Temkin adsorption isotherm. The inhibition of corrosion in 1 M HCl, influenced by both physi- and chemisorption, was found to be under mixed control but predominantly under cathodic control as revealed by the potentiodynamic polarization measurements for Inh. 4. Frontier molecular orbital calculations predicted that the newly synthesized inhibitors with aromatic characteristics serve as donor-centers to the empty d-orbital of the metal atoms and would exhibit higher corrosion IE%.


Introduction
Corrosion is a harmful attack on metals caused by contact with the environment.It causes weight loss and inadequate robustness, resulting in major economic and environmental issues.In addition, due to the influences of some aggressive mediators, such as acidic environments, temperature changes, oxygen, mechanical pressure, and moisture, corrosion occurs (Liu, Wang, Gao, & Zhang, 2016;Shaban, Elsamad, Tawfik, Abdel-Rahman, & Aiad, 2020).
Surfactants are also utilized to prevent corrosion (Dandigunta, Karthick, Chattopadhyay, & Dhoble, 2021;Saad, Abdurahman, & Yunus, 2021;Lei et al., 2020;Tung et al., 2021;Elged et al., 2021, Elsherif, Elged, & Shaban, 2021).The Gemini surfactants are distinguished by two identical portions connected by a spacer, each of which has a hydrophilic and lipophilic moiety (Badr et al., 2021, Shaban, Elbhrawy, et al., 2021).However, growing environmental consciousness and severe environmental restrictions around the world necessitated the generation of green erosion inhibitors along with producing high inhibitory characteristics while also posing little danger to the environment.Multicomponent reactions, which consist of three or more reactive compounds, must have emerged as a potent and green technology in this context because they can synthesize multiple biologically active complex chemicals in one step in high yields (Beattie, North, & Villuendas, 2011).Furthermore, using ecologically friendly solvents and chemicals is critical, as they can participate in numerous green chemistry approaches.Additionally, due to the features of nonhazardous, nonflammable, redox-stable, nontoxic, and readily available water, it has gained much interest in the last few years as a reaction medium.Many of the organic corrosion inhibitors used in carbon steel are hazardous and have to be replaced with new, ecologically friendly inhibitors (Elsharif et al., 2020a;Elsharif et al., 2020b).New catechol derivatives have recently been synthesized using an environmentally friendly electrochemical technique (Toghan, Abo-Bakr, Rageh, & Abd-Elsabour, 2019).Because the heterocyclic unit constitutes most of the chemical and pharmaceutical products, as well as a good corrosion inhibitor, the development of new heterocyclic derivatives is critical.In addition, the consumption of Lproline in water and ionic liquids with respect to asymmetric organocatalyzed reactions can be considered the most environmentally friendly method because it can assist in isolating natural resources without the utilization of dangerous solvents and chemicals such as DMF, DMSO, and other solvents of chlorinate (Sheldon, 2005;Nezhad, Sarikhani, Shahidzadeh, & Panahi, 2012).
As prospective inhibitors of minor steel corrosion in an acidic environment, the present work is dedicated to the synthesis of new derivatives from natural fatty acid (E-octadec-9-enoic acid).
To our knowledge, this is the first report aimed at synthesizing these compounds and studying their ability to inhibit corrosion.
Glass-based equipment was cleaned using deionized (DI) or distilled water.A nitrogen atmosphere was used for each of the processes.To create solutions of HCl, (Fisher Scientific Company), concentrated HCl (A.C.S.) and distilled or DI water was used (1 M).This study included tests using inhibitors with a concentration range of 5-1000 lM.

Spectral characterization of inhibitors
A Shimadzu IR-Affinity FTIR spectrometer was used to record the infrared spectrum.Moreover, a Bruker spectrometer (400 MHZ capacity) was utilized to record the 1 H spectra and 13C NMR spectra.The dissolution of 0.5 ml in a sample was prepared for the experiment along with preparing 0.5 ml of DMSO.Through the utilization of tetramethyl silane (TMS) as the central standard, chemical shifts (d) are employed in ppm within the entire process.In the same vein, Carlo-Erba elemental evaluation Model 1106 was employed in this research to analyze the elements.

Specimens
Mild steel was chosen for this study because it is widely used in oil and gas pipelines.It is inexpensive, suitable for various cutting and coating methods, and has good weldability while providing adequate physical properties.Gravimetric measurements were used to test the corrosion inhibition in HCl (1.00 M) by using mild steel coupons with the following percentage composition: 0.010 (P); 0.005 (Cu); 0.022 (Ni); 0.34 (Mn); 0.089 (C); 99.47 (Fe); 0.005 (V); 0.007 (Mo); and 0.037 (Cr).A test specimen in the form of a flag was produced from a mild steel sheet with a width of 1 mm for the electrochemical measurement for Inh. 4.An insulating paint was used to insulate the flag base, which was around 3 cm in diameter.The exposed area was 2 cm 2 , with the remaining area being 1 cm 2 .The mild steel specimen was roughened with emery papers of various grit sizes (100, 400, 600, 800, and 1200), then washed with distilled water and acetone.After drying, the specimen was placed in a desiccator for storage.

Solutions
Concentrated HCl (37%) with deionized water (DI) was used to prepare a solution of 1.00 M hydrochloric acid.The range of inhibitor concentrations was recorded from 5 to 1000 lM in this process.Under 37% HCl, the corrosion rate is high.The higher the HCl concentration, the faster the corrosion.The solubility of the new synthesized derivatives in HCl solutions is quite low at room temperature.To increase the solubility, solutions were stirred at 40 and 60 C overnight.

Gravimetric measurements
A mild steel specimen, with dimensions of 2.0 Â 2.0 Â 0.5 cm, was subjected to the gravimetric corrosion measurements.Freshly polished specimens were tested for 96 h in a 250 ml solution of 1.00 M HCl at 20, 40, and 60 C in both the absence and presence of inhibitors at concentrations of 5-1000 lM.An increase in temperature will increase the rate of corrosion of metal, while a decrease in temperature will lead to a decrease in the rate of corrosion of a metal.At high temperatures, oxidation reactions occur faster and as a result, the corrosion rate increases.The specimens were then cleaned to eliminate any corrosion products that had been adsorbed.Deionized water was first used for cleaning, then acetone, and finally drying in a vacuum oven at room temperature.Equation (1) was used to calculate corrosion rates.

CR mmpy
where A is the specimen area (cm 2 ), W is the weight loss (g), D is the mild steel density (g/cm 3 ), and t is the exposure duration (h).Accordingly, the specimen weight loss in the presence and absence of inhibitor molecules (blank) was calculated.To achieve the predicted standard deviation SD, the operation was carried out three times.Equations ( 2) and (3) were used to calculate the inhibitor surface coverage (h) and the corrosion inhibition efficiency (g%), respectively.
In both equations, CR i and CR o are the values of corrosion rates in the presence and absence of inhibitors, respectively.

Electrochemical measurements
The electrochemical performance of Inh.4 was studied at room temperature using electrochemical techniques (Tabatabaei et al., 2019b).A Gamry Reference 600 potentiostat equipped with Echem Analyst 6.33 suite for data interpretation was used for the measurements.The experiments were conducted using a standard three-electrode assembly wherein the RCE acted as the working electrode, a saturated calomel electrode (SCE) as a reference electrode, and a graphite rod as the counter electrode.Before conducting the electrochemical tests, the potential of the working electrode was recorded in the open circuit condition to achieve a stable value, E OCP , upon which the electrochemical measurements were performed.Potentiodynamic polarization (PDP) was undertaken in the range ±250 mV versus E OCP with a scan rate of 0.2 mVs À1 .All the potential values reported in the present work are in reference to the SCE.

Computational procedure
The gap between the energy differences of the LUMO and HOMO is examined in Frontier molecular orbital (FMO) studies, which offer fundamental knowledge about electrons.In contrast to LUMO, which consists of an electrophile that accepts electrons from a nucleophile, HOMO is a type of nucleophile that represents electrons.The stability of the molecule can also be similarly determined by the FMO.Molecules have a lower energy gap, are softer, and are more chemically reactive (Hiremath et al., 2018;Frisch, Trucks, & Schlegel, 2009).
Similar to smaller energy molecules, larger energy molecules may exhibit both great stability and strong chemical hardness.The HOMO and LUMO energies can be used to determine the global reaction factors, where the ionization reaction potential (I P ), electronegativity (v), electron affinity (E A ), molecular softness (S), global hardness (ղ), chemical reaction potential (l), and electrophilicity index (x) are all shown and summarized in Table S1.To calculate the fraction of transferred electrons, theoretical values of 7.0 eV and 0 were assigned to v Fe and g Fe , respectively.
With the support of the LANL2DZ/6-311 g basis set as well as the Gaussian 09 W set (Hiremath et al., 2018), FMO theory has helped in the quantum chemical geometry optimization technique of isolated molecules.When picking the implicit solvent model, the optimal estimation approach for solvation energies may be provided, which is why set LANL2DZ/6-3111 g was chosen (Abdulazeez et al., 2019).Furthermore, it provides accurate data experiment correlation results at a low cost.In addition, on the potential energy surfaces regarding the minima, vibrational frequency calculations and geometry optimizations were calculated.Water was used as the fundamental factor, and Tomasi's separated as a consistent reaction field was used as the model (Tomasi, Menucci, & Cammi, 2005).The constant sequences of interlocking spheres are positioned in the cavity where the solute is in this model, and the continuum of uniform dielectric constants is placed in this solvent (Al-Saadi, 2020).Similar calculations were conducted to evaluate the inhibitor's reactions in an acid standard, taking into consideration the effects of protonation and protonated versions of the molecules.The vitalities of the maximum molecular highest orbital (E HOMO ) and minimum molecular lowest orbital (E LUMO ) were also determined as quantum reactivity descriptors (Pearson, 1988).
The ionization energy, global hardness, and electron affinity are represented by I, g and A, respectively, in the preceding equation.The electrophilicity index (x) and electronegativity (v) are two additional parameters that signify the ability of inhibitors to attract electrons if they are chemically combined with other compounds (Khalil, 2003;Ashassi-Sorkhabi, Shaabani, & Seifzadeh, 2005;El-Ashry, El Nemr, & Ragab, 2012;Migahed et al., 2017).
Electrons must flow from less electronegativity inhibitors to higher electronegativity surface metals in inhibitor-metal interactions until the chemical potentials are equal.The following equation is used to calculate the fraction electron transfer.
The terms v inh , g Fe , v Fe and, g inh describe the absolute hardness of the substance iron, the inhibitory characteristics of molecules, and the electronegativities, respectively.In the preceding equation, the rates of v Fe and g Fe were labeled 7.0 eV and 0 eV, respectively.All relative calculations were performed using Gaussian featured 09 W, and the graphical interface of Gauss View 5.0 was used to extract, visualize, and evaluate the data (Khalil, 2003;Ashassi-Sorkhabi et al., 2005;El-Ashry et al., 2012;Migahed et al., 2017).

Surface characterization
A field emission scanning electron microscope was used to examine the surface of mild steel coupons that had been submerged in 1.00 M HCl for 24 h in both the absence and presence of inhibitor molecules (FESEM).Also, 50 ml of test solutions with and without inhibitors were submerged into coupons of 1.0 Â 1.0 Â 0.2 cm in size.After 24 h, the coupons were taken out, rinsed multiple times in ethanol and water to eliminate any corrosion products that had been adsorbed, and then dried in a vacuum oven.

Synthesis of inhibitors
2.8.1.Part 1: Synthesis of E-octadec-9-enoyl chloride (Inh. 1) Add 5 ml of DMF in dry benzene and (1.0 ml, 0.0035 mol) solution of E-octadec-9-enoic acid into a single-neck round bottom flask.A condenser was included with the flask.SOCl 2 (0.5 ml) was gradually added to the mixture using a dropping funnel because the reaction is endothermic.The mixture was refluxed for an hour at 90 C after stirring for ten minutes.The entire solvent was extracted from the mixture using a rotary for 10 min.E-octadec-9-enoyl chloride (Inh. 1) produced in this step was used in the second part step reaction.
Furthermore, new amide bands appeared in the regions of 1590-1700 cm À1 and 3140-3300 cm À1 , followed by -C ¼ O and N-H, respectively.In addition, in this region, O-H stretching, and N-H is not presented in Inh. 1.Moreover, due to the formation of carbonyl groups with Inh. 1, a new and fresh band appeared at 1668 cm À1 .

Surface characterization
The results of the surface characterization of coupons immersed in 1.00 M HCl for 24 hours with and without 1000 lM concentrations of the inhibitor molecules Inh. 2, Inh. 2, Inh. 3, Inh.4, and Inh. 5 are shown in Figure 1.The microscopic examination of a metal surface after immersion in the corrosion medium without and with a corrosion inhibitor allows a visual interpretation of the adsorption and inhibition phenomena at the metal-solution interface in corrosion inhibition studies.The findings showed that, in contrast to the freshly polished coupon, the coupon submerged in 1.00 M HCl without inhibitor molecules (Figure 1a) underwent a severe corrosion attack that damaged the microstructure.However, as shown in Figure 1b-d, these attacks were significantly reduced for the coupons submerged in test media containing 1000 lM of inhibitor molecules.There is a noticeably smoother surface.A scale-like morphology covers the steel surface in the presence of the new derivatives (Figure 1b-d), suppressing the occurrence of surface defects such as holes and cracks.This promotes the adsorption of the corrosion inhibitor on the metal surface and the formation of a protective film, which provides isolation from the electrolyte's aggressive attack.

Weight loss study
Weight loss technique was used to assess the protection effectiveness (g w ) and corresponding surface coverage (h) induced by the prepared non-ionic surfactant-inhibitors (Equations ( 10) and ( 11)) (Mishrif, Noor El-Din, & Khamis, 2018).
where, for an immersion time of 24 h, t ¼ CR and CR o represent the corrosion rate of steel in 1.0 M HCl medium with varying concentrations of the synthetic inhibitors and that without, respectively.The CR was determined using Equation ( 11), where W and S stand for exposed steel in mg and cm 2 , respectively.1-5, the weight loss of the mild steel specimen decreases as the inhibitor is added incrementally.
The CR is decreased as a result of synthetic chemical adsorption on the steel surface, which also slows down weight loss.The rate of adsorption increases as inhibitor concentration increases.A barrier that protects the steel surface from the hostile solution is formed by adsorption on the synthetic inhibitor surface.Because the direct function can be created within the inhibitor concentration, steel protection g w is improved by increasing h.
The results of the weight loss (Tables 1-5 and Figure 2) show that the carbon tail of the synthetic inhibitor significantly improves steel protection.As   Aslam, 2018;Aiad, Shaban, Elged, et al., 2018).The performance of the examined inhibitors is significantly influenced by temperature.As shown in Tables 1-5 and Figure 2, raising the temperature of the corrosive solution containing the created inhibitors to 40 C caused an increase in the steel's corresponding g w : The inhibition efficiency decreases as the solution temperature is raised to 60 C. The findings show that increasing the temperature of the solution containing the tested inhibitors causes the g w to increase.The tendency of g w to rise with temperature is an indication of the synthetic inhibitors' propensity to conduct both physical and chemical adsorption on steel surfaces.The investigated inhibitors' chemical structures changed as a result of the rising temperature of the solution (Zhu, & Free, 2016).This promoted an increase in the electron densities of the active centers, which in turn enhanced the adsorption on the corroded surface.
Based on Equation ( 12), an Arrhenius-type plot was created to clarify the corrosion kinetics and determine the apparent activation energy (E a ).
where k is the rate of corrosion in each concentration case, A is the Arrhenius constant, T is the temperature in Kelvin, and R is the gas constant.The prepared inhibitors perform well and follow the Arrhenius plot as shown in Figure 3 with a high regression coefficient.Based on the slope of the Arrhenius line, which equals (ÀE a /R), the E a was calculated.According to the physical adsorption of the synthetic inhibitors on the carbon steel surface, the E a (Table 6) of the inhibited solution is higher than that of the uninhibited (Blank solution) (Aiad, Shaban, El-Sukkary, El-Awady, & Soliman, 2017).
Avogadro's number, the rate at which metals dissolve, and the Planck constant are denoted by N A , k, and h, respectively.The transition state Equation ( 13) was depicted in Figure 4 with the intercept of log were used to calculate the corresponding DS o ads and DH o ads , respectively (Table 6).The endothermic nature of the corrosion process is reflected by the positive values of DH o ads that were extracted (Shaban et al., 2020).
The extracted DS o ads values in the presence and absence of the inhibitors (Table 6) are negative, indicating that the activated complex (rate-determining step) is an association rather than a dissociation, that is, that there is more order being carried out as it passes from reactant to activate complex (Mishrif et al., 2018;Fawzy, Abdallah, Zaafarany, Ahmed, & Althagafi, 2018;Shamsheera, Prasad, Jaseela, & Joseph, 2021).
Several adsorption modules, including Langmuir, El-Awady, and Temkin isotherm, have been conducted based on the h results from the gravimetric experiment to clarify the expected adsorption mechanism of the synthesized inhibitors on the mild steel.According to Table 7 and Figure 5, the Langmuir isotherm (Equation ( 14)) with a high correlation coefficient (R 2 ) $ 0.999 is the best fit adsorption module that describes the adsorption of the investigated inhibitors.
The Langmuir Equation ( 14) is plotted, and the result is a straight line with a high R 2 value of 0.999, indicating that the synthesized inhibitors follow the Langmuir isotherm.It was possible to determine the K ads (adsorption equilibrium constant) from the intercept values of the Langmuir curve (Table 7).All synthetic inhibitors have a strong affinity for the surfaces of steel, as shown by the extracted K ads values.Equation (15) of the Gibbs equation was used to determine the adsorption free energy change (DG o ads ) in relation to the synthesized inhibitors (Badr, Bedair, & Shaban, 2018;Feng et al., 2018).
Equation ( 16)'s slope yields the adsorption heat change (DH o ads ), where R is the gas constant and T is the temperature in Kelvin (Flores et al., 2011): Equation ( 17) was used to calculate the standard adsorption entropy (DS o ads ) (Badr, Hefni, Shafek, & Shaban, 2020;Gao et al., 2019): The extracted DG ads , DH ads and DS ads thermodynamic parameters for the inhibitors are shown in Table 7.The calculated DG o ads values range from À28 to À32.14, reflecting the synthetic inhibitors' physical and chemical adsorption nature onto the steel surface (Aslam et al., 2021).As a result of the synthetic inhibitor's adsorption on the surface of mild steel, the positive sign of the DS o ads values (Table 7) indicates greater disorder (Shaban, Aiad, Moustafa, et al., 2019).Comparing the inhibitive performance of the studied molecules with those of other reported molecules with similar molecular structures (Table S2) revealed that the molecules performed satisfactorily and could serve as inhibitors of mild steel corrosion in acidic medium.

Polarization studies
The influence of the variation of Inh. 4 concentration was studied using the PDP measurements (McCafferty, 2005;McCafferty, 2010).The electrochemical data, that is, the corrosion current densities (i corr ), corrosion potential (E corr ), anodic/cathodic slopes (b a /b c ), and the corrosion inhibition efficiencies (g%), were calculated by extrapolation of the linear segments of the anodic and cathodic Tafel slope and given in Table 8.The inhibition efficiency was obtained by the following equation: where, i 0 corr and i i corr denote the corrosion current densities without and containing the corrosion inhibitor, respectively.The results of the PDP measurements are given in Figure 6, the addition of the inhibitor to the corrosive solution causes a significant decrease in the anodic and the cathodic currents.A variation in the inhibitor Inh. 4 concentrations from 5 to 500 ppm produces around a tenfold decrease in the corrosion current densities shows that the inhibitor mainly adsorbs on the cathodic sites of the steel surface.This suggests that under the influence of the acidic electrolyte, the inhibitor exhibits a tendency to undergo protonation.The protonated form of the inhibitor molecule can undergo electrostatic interaction with the preadsorbed Cl À ions and can also adsorb directly at the cathodic sites of the metallic surface.On the other hand, the neutral inhibitor molecule can interact with the metallic surface via sharing the p electrons or the lone pair electrons.The filled d-orbitals of the metal surface can also donate the electrons to the inhibitor molecule via back-donation.

Computational results
FMO studies reveal the energy difference between the E LUMO and E HOMO states.The nucleophile HOMO contributes electrons, while the electrophile LUMO takes electrons from the nucleophile.FMO can be used to determine a molecule's stability.The chemical reactivity has to be found better if there will be a smaller energy gap between the molecules along with making it softer.Also, if there is more energy gap between the molecules, it will have more stability characteristics and hard chemical reactions followed by making them hard.When using HOMO and LUMO energies to determine these molecules, the global reactivity descriptors can be presented as ionization potential (I p ), hardness (g), electron affinity (E A ), electrophilicity index (x), softness (S), electronegativity (v), and chemical potential (l) as shown in Table 9 (non-protonated molecules) and Table S3 (protonated molecules), By utilizing the related modules of the energy gap (DE ¼ E LUMO À E HOMO ) for molecules with the application of E HOMO and E LUMO, the calculated values are À0.24860 eV, À0.05210 eV, and 0.1965 eV, respectively.According to the theorem of Koopmans, the negative energies of LUMO and HOMO can be associated with electron affinity (E A ) and ionization potential (I p ).
Additionally, (l) was used to define the chemical potential, so V ¼ À (I p þE A )/2 ¼ À0.15035 eV and (v) was defined to show electronegativity as l¼ À (I p þ E A )/2 ¼ À0.15035 eV.In the same regard, both  values are calculated from the estimated values of E A and I p .Similarly, the value of chemical hardness (g) ¼ (I p ÀE A )/2 ¼ 0.09825 eV, and the estimated value of chemical softness (S) is shown by S ¼ 10.15022 eV, which can be considered the inverse value of chemical hardness (g).The electrophilicity index can be referred to as the reduction in the energy level due to the additional flow of electrons between the acceptor, which is LUMO, and the donor, which is HOMO.Molecule 1 (Inh.1) contains the value of the electrophilicity index, which is estimated as x ¼ l 2 /2 g ¼ 0.115038 eV as shown in Figure 7.
In molecule 2 (Inh.2), the calculations of related energy differences (DE ¼ E LUMO ÀE HOMO ) were calculated with the support of E HOMO and E LUMO, in which the values of À0.20115 eV, À0.07396 eV, and 0.12719 eV were estimated.
A value of À0.20115 eV was calculated for the E HOMO , a value of 0.07396 eV was identified for the E LUMO , and the related energy difference (DE ¼ E LUMO ÀE HOMO ) was realized as 0.12719 eV for Inh. 2. The opposite energies between HOMO and LOMO have been depicted by ionization potential (I p ) and electron affinity (E A ), respectively.
The value of electronegativity V¼ À (I p þE A )/2 ¼ À0.137555 eV represents a negative chemical potential (l), and the value of (I p þE A )/2 ¼ 0.137555 eV is computed for electronegativity (v).The value of S ¼ 15.7245066 eV is computed for chemical hardness (g), and the value of (I p À E A )/2 ¼ 0.063595 eV is calculated for chemical softness (S).
The additional movement of electrons between the HOMO, which is the donor, and the LUMO, which is the acceptor, causes the electrophilicity index to x ¼ l 2 /2 g ¼ 0.1487647 eV, which is the electrophilicity index of molecule 2. Figure 7 shows the energy flow diagrams.
Moreover, the value of À0.20911 eV is computed for E HOMO, the value of À0.07908 eV is calculated for E LUMO and the value of the related difference between the energy gap (DE ¼ E LUMO ÀE HOMO ) is signified for 0.1003 eV, respectively.The adverse energies between HOMO and LOMO have been depicted by ionization potential (I p ) and electron affinity (E A ) accordingly.Likewise, the value of l¼ À (I p þE A )/2 ¼ À0.144095 eV is computed for chemical potential (V), and the value of l¼ À (I p þE A )/2 ¼ À0.144095 eV. for electronegativity (v), respectively.These values are estimated from I p and E A .The value of (I p À E A )/2 ¼ 0.065015 eV is calculated for chemical hardness (g), and S ¼ 15.38106 eV is computed for chemical softness (S).The excessive electron flow between the HOMO, which is the donor, and the LUMO, which is the acceptor, causes a reduction in energy, which is referred to as the electrophilicity index (x).Molecule 3 (Inh.3)has an electrophilicity index of x ¼ l 2 /2 g ¼ 0.15968 eV. Figure 7 depicts the energy diagrams.
The value of À0.24539 eV is computed for E HOMO , the value of À0.12560 eV is calculated for E LUMO , and the consistent energy difference (DE ¼ E LUMO ÀE HOMO ) is calculated as 0.11979 eV for molecule 4 (Inh.4).In addition, electron affinity (E A ) and ionization potential (I p ) are considered opposite energies between HOMO and LUMO.
Furthermore, the value of l¼ À (I p þE A )/2¼ À0.185495 eV was calculated for the chemical potential (l), and the value of l ¼ À(I p þ E A )/2 ¼ À0.185495 eV was estimated for electronegativity (v).
Moreover, the I p and E A assisted in calculating both values.The values of I p ÀE A /2 ¼ 0.059895 eV are calculated for chemical hardness (g), and the value Table 9.Quantum chemical reactivity descriptors of non-protonated molecules at B3LYP/6-31g(d).
of 16.69588 eV is computed for chemical softness (S).The excessive flow of electrons among the HOMO, which is the donor, and the LUMO, which is the acceptor, causes a reduction in energy, which is referred to as the electrophilicity index.Molecule 4 (Inh.4) has assisted in calculating the value of x ¼ l 2 /2 g ¼ 0.28723 eV for an electrophilicity index.Moreover, the chemical potential (l) is considered the negative descriptor of electronegativity, which can be estimated through l¼ À (I p þE A )/2¼ À0.165215 eV, and the value of electronegativity (v) is represented by a factor such as (I p þE A )/2 ¼ 0.165215 eV.Both estimated values are calculated through the estimations of E A and I p values.
In addition, (g) is used to determine the chemical hardness as ¼ (I p ÀE A )/2 ¼ 0.047955 eV, and the value of chemical softness (S) is shown as S ¼ 20.85288 eV, which is the inverse of chemical hardness (g).The additional movement of electrons between the HOMO donor and LUMO acceptor causes a reduction in the energy level, which is referred to as the electrophilicity index x ¼ l 2 /2 g ¼ 0.2846001 eV, which is the electrophilicity index of molecule 5 (Inh.5).
Figure 8 represents the energy diagrams for Inh. 4 and Inh. 5.

Conclusion
A group of new inhibitors; E-octadec-9-enoic acid derivatives were synthesized at high yields (> 90%) from E-octadec-9-enoic acid with primary aromatic amines for the first time.The main objective of the study is to synthesize new inhibitor molecules from monounsaturated fatty acids that can provide effective protection from corrosion of mild steel in acidic media.
1. Inhibitors Inh.(1-5) show %IE at 86.58, 83.10, 89.63, 91.88, and 77.98 at 1000 lM, respectively by gravimetric methods.2. The adsorption of inhibitor molecules onto the surface of mild steel followed a Langmuir adsorption isotherm and the values for the free energy of adsorption DG ads indicated that the inhibitors adsorb through a mix of physisorption and chemisorption mechanisms.3. Inh.4 showed a mixed type of adsorption with cathodic prevalence, as revealed by the PDP studies.The lowering in the corrosion current densities with the addition of the successively increasing concentrations inhibitor supporting the adsorption and inhibition behavior.4. The SEM studies supported the experimentally obtained results by revealing a considerably smooth morphology of the carbon steel surface containing the corrosion inhibitors both in the static as well as in the dynamic condition.
The results are indeed very promising and pave the way to exploit the excellent ability of synthesized compounds to inhibit corrosion of mild steel.

Figure 1 .
Figure 1.SEM micrographs of (a) specimen immersed in 1.00 M HCl in the absence of inhibitors, (b) specimen immersed in 1.00 M HCl containing 1000 lM of Inh. 5, (c) specimen immersed in 1.00 M HCl containing 1000 lM of Inh. 3, (d) specimen immersed in 1.00 M HCl containing 1000 lM of Inh. 4 at magnification 20 lm at scanning speed 20 mm/s.

Figure 2
Figure2shows how steel corrosion is affected by different concentrations of the synthetic inhibitors (Inh. 1, 2, 3, 4, and 5) at temperatures of 20, 40, and 60 C. As seen in Tables 1-5, the weight loss of the mild steel specimen decreases as the inhibitor is added incrementally.The CR is decreased as a result of synthetic chemical adsorption on the steel surface, which also slows down weight loss.The rate of adsorption increases

Figure 2 .
Figure 2. Variation of inhibition efficiency and corrosion rate versus logarithm C of the synthesized inhibitors at 20, 40 and 60 C.

Figure 3 .
Figure 3. Arrhenius plots for carbon steel dissolution in absence and presence of different concentrations from the synthesized inhibitors.

Figure 4 .
Figure 4. Kinetic plot Ln k/T for carbon steel dissolution in absence and presence of different concentrations from the synthesized inhibitors.

Figure 5 .
Figure 5. Langmuir adsorption isotherm of the synthesized inhibitors at different temperatures.

Figure 6 .
Figure 6.Potentiodynamic polarization plots acquired during the corrosion of mild steel in 1.0 M HCl solution without and with different Inh. 4 concentrations at room temperature.
The energy gap associated (DE¼ LUMO À HOMO) and E HOMO , E LUMO, of molecule 5 (Inh.5) were calculated with values of 0.04057 eV, À0.21317 eV, and À0.1726 eV, respectively.Additionally, the negative energies of the LUMO and HOMO are characterized by descriptors of electron affinity (E A ) and ionization potential (I p ).

Table 1 .
Carbon steel corrosion rate, surface coverage, and % inhibition efficiency in various concentrations of Inh. 1 at various temperatures.

Table 2 .
Carbon steel corrosion rate, surface coverage, and % inhibition efficiency in various concentrations of Inh. 2 at various temperatures.

Table 3 .
Carbon steel corrosion rate, surface coverage, and % inhibition efficiency in various concentrations of Inh. 3 at various temperatures.

Table 4 .
Carbon steel corrosion rate, surface coverage, and % inhibition efficiency in various concentrations of Inh. 4 at various temperatures.

Table 5 .
Carbon steel corrosion rate, surface coverage, and % inhibition efficiency in various concentrations of Inh. 5 at various temperatures.

Table 6 .
Values of carbon steel activation characteristics in 1.0 M HCl.

Table 7 .
Thermodynamic values derived from the Langmuir adsorption isotherm on carbon steel in 1.0 M HCl.

Table 8 .
Electrochemical polarization parameters obtained at room temperature for the adsorption of Inh. 4.