View full-text article in PMC Bioengineering (Basel). 2023 Jan 13;10(1):115. doi: 10.3390/bioengineering10010115 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 MCM implementation. X[x1,x2,x3,…,xn];U[u1,u2,u3,…,un] M←c1 //Initialize M (number of iterations) A[n:M] // The array A is declared A(1,1:M)←f(M,x1,u1,pdf) //Assigns random number with proper PDF A(2,1:M)←f(M,x2,u2,pdf) A(3,1:M)←f(M,x3,u3,pdf) ⋮ A(n,1:M)←f(M,xn,un,pdf) Y[n+1:M+2] //The array Y is declared Y(n+1,1:M)←g(A) //Function g defines the mathematical model Y(n+1,M+1)←average(Y(n+1,1:M)) A(n+1,M+2)←standardDeviation(Y(n+1,1:M)) B[n:M]←h(n,X) //The array B is declared with n lines constants for i=1 to n Z[1:M]←B(i:M) B(i:M)←A(i:M) Y(i,1:M)←g(B) Y(i,M+1)←average(Y(i,1:M)) Y(i,M+2)←standardDeviation(Y(i,1:M)) B(i:M)←Z