- #1
goonking
- 434
- 3
Homework Statement
These are textbook solutions to sample problems, how would one solve these numerically (they are two different problems)?
1)
2)
There aren't any obvious trig identities which apply to either problem, so one is left with either making a plot of each function versus the angle θ and finding an approximate solution, or choosing different values of θ and inserting these into each equation and seeing if a solution is obtained in that manner.goonking said:Homework Statement
These are textbook solutions to sample problems, how would one solve these numerically (they are two different problems)?
1)
View attachment 96911and
2)
View attachment 96912
Homework Equations
The Attempt at a Solution
so it is just a long process of trial and error?SteamKing said:There aren't any obvious trig identities which apply to either problem, so one is left with either making a plot of each function versus the angle θ and finding an approximate solution, or choosing different values of θ and inserting these into each equation and seeing if a solution is obtained in that manner.
Pretty much. It's one of the reasons computers were invented, because a lot of problems can be solved only by trial and error, and computers can be programmed to do this until a numerical solution is obtained within a specified tolerance.goonking said:so it is just a long process of trial and error?
basically what you said, I just start from a degree and go around in intervals of 15 or 30 degrees. Just like playing a game of hot or cold I guess.Simon Bridge said:That is what "solve numerically" means.
Ideally you want to be systematic about your trial and error, so you use the result of the last guess to make the next guess better - what have you tried?
Not quite.goonking said:so it is just a long process of trial and error?
goonking said:so it is just a long process of trial and error?
For general iteration, rearrange this in as many ways as needed into the form: θ = f(θ)tan θ - sin θ = 0.75
Solving a numerical problem involves using mathematical algorithms and techniques to find a solution. This often includes breaking the problem down into smaller steps and using equations or computational methods to find the answer.
An analytical solution involves finding a precise, exact solution using mathematical equations and formulas. A numerical solution, on the other hand, involves using approximate methods and calculations to find a solution that is close to the exact answer.
Computers play a crucial role in numerical problem solving by performing complex calculations and executing algorithms quickly and accurately. They can also store and manipulate large amounts of data, making it easier to solve more complex problems.
The appropriate numerical method depends on the type of problem and the level of accuracy required. Some common methods include the bisection method, Newton's method, and the secant method. It is important to understand the problem and its constraints in order to select the most suitable method.
No, numerical solutions may not be suitable for all types of problems. Some problems may have analytical solutions that are more accurate and efficient to solve. Additionally, numerical solutions may be limited by the precision of the computer or the complexity of the problem.