I have a Physics problem which huge and tiny numbers and Mathematica just gives me a speed of my particles which is the speed of light. Then $1/\sqrt{1-v^2/c^2}$ becomes singular.
If I use smaller values for my radius r, it works, but with the radius of 300 light years, I just get error messages.
Is there some way to increase the precision or something like that?


q = SetPrecision[q, 50]on all numeric variables? You could also tryRationalize. Be aware that either of these will be generating false precision. – Mr.Wizard♦ Jun 16 '12 at 20:26SetPrecision[number, Infinity]and it works now. I am aware that the precision of my answer is not correct, but I just need it for a Physics homework example. – queueoverflow Jun 16 '12 at 20:32