R Under development (unstable) (2025-10-07 r88904 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # Clean environment and load libraries > rm(list = ls()) # Clear environment to avoid conflicts > > # Source files > library(MixStable) Attaching package: 'MixStable' The following object is masked from 'package:graphics': clip > > # 📊 Generate sample data > set.seed(123) > x_sample <- rnorm(100) > u_value <- 2.0 > bn_value <- 0.5 > > # 🧮 Compute real and imaginary parts of the integral > real_part <- Int_Re(u_value, mean(x_sample), bn_value) > imag_part <- Int_Im(u_value, mean(x_sample), bn_value) > > # 📋 Print results > cat(sprintf("Real Part of Integral: %.6f\n", real_part)) Real Part of Integral: 0.298322 > cat(sprintf("Imaginary Part of Integral: %.6f\n", imag_part)) Imaginary Part of Integral: 0.054536 > > proc.time() user system elapsed 2.06 0.29 2.37