I want to calculate pi. But, I have quite a few limits. Variables can only hold up to 5 decimal places, and I only have the following operators:
Addition Subtraction Multiplication Division Exponents Square roots Sin Cos Basic Loops, Conditionals, and relational operators. The BBP algorithm seems useless here, because even though it would not need arbitrary precision, I cannot convert between bases. I'm not aware of any other formulas that can find the nth digit of pi in base 10. Would it even be possible to calculate pi using these constraints?