This study explores the Petrov–Galerkin method’s application in solving a linear fourth-order ordinary beam equation of the form . The equation entails two distinct boundary conditions: pinned–pinned conditions on and , and clamped–clamped conditions on and . To satisfy these boundary conditions, we have built two sets of basis functions. The explicit forms of all spectral matrices were reported. The nonhomogeneous boundary conditions were easily handled using perfect transformations, ensuring the numerical solution’s accuracy. Detailed analysis of the method’s convergence was studied. Some numerical examples were presented, accompanied by comparisons with other existing methods in the literature.
This study presents a comprehensive numerical modeling and performance evaluation of a BaZrS3, perovskite-based, metal-semiconductor-metal (MSM) photodetector using SCAPS-1D, demonstrating its strong potential for high-efficiency photosensing applications. By systematically optimizing the absorber layer's thickness and doping concentration, notable enhancements in responsivity and detectivity were achieved. Under 600 nm irradiation, the photodetector exhibits an impressive responsivity of 0.41 A/W and a high detectivity of 9.87 × 1015 Jones. These findings establish BaZrS3 photo detectors as a promising, cost-effective, and environmentally friendly alternative for next-generation optoelectronic and sensing technologies.