karansher / computer-graphics-ray-casting

Computer Graphics Assignment about Ray Casting
1 stars 0 forks source link

A sentence from the textbook that I cannot understand. #15

Open Ming-Yeung-Alfred-Meng opened 1 year ago

Ming-Yeung-Alfred-Meng commented 1 year ago

1663971354329

I don't quite understand the difference between solving for the unknowns numerically and analytically, and why is it lucky if it is possible to solve for them analytically, and how do we know we are in the lucky situation where it is possible to solve for them analytically?

Thanks.

panuelosj commented 1 year ago

Solving analytically means doing the math to isolate for the unknown and get an expression for the solution. Solving numerically means using any numerical method, such as using Newton's method to find zeroes, or numerically inverting the matrix.

panuelosj commented 1 year ago

It's always best to check to see if you can do the math to get an expression for the solution, but that's not always possible. This is when you'll need to fall back on solving numerically.