The uniswap docs commonly mention sqrtPriceX96:
A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
Calculate in JS: https://github.com/Uniswap/v3-sdk/blob/2c8aa3a653831c6b9e842e810f5394a5b5ed937f/src/utils/encodeSqrtRatioX96.ts
how to calculate sqrtPriceX96 in solidity?
uint160 sqrtPriceX96 = ???;
NonfungiblePositionManager(payable(Manager)) .createAndInitializePoolIfNecessary( address(MY_TOKEN), wMaticAddress, 3000, sqrtPriceX96 );
sqrtPriceX96
offline and pass that as a constant in Solidity code. Otherwise look at the SqrtPriceMath library for some examples how do similar things.