Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MODELING & NUMERICAL SOLUTIONS 2 MS 3 AUTO TECH ASSIGNMENT 2 Roots of Non - linear Equations The upward velocity of a rocket can be
MODELING & NUMERICAL SOLUTIONS MS AUTO TECH ASSIGNMENT Roots of Nonlinear Equations
The upward velocity of a rocket can be computed by the following formula: where is the upward velocity, is the velocity at which the fuel is expelled relative to the rocket, is the initial mass of the rocket at time is the fuel consumption rate and is the downwards acceleration due to gravity. If and compute the time at which Use single float precision for all your manual calculations. Single precision ie with significant digits. For example:
a Bisection method manual calculations, starting points and three iterations, single precision
b Falseposition method manual calc., starting points and three iterations, single precision
c Secant method manual calculations, starting points and three iterations, single precision
d NewtonRaphson C program, use pseudocode, single precision float, eps delta
e Error analysis compare with d respectively, express errors in percentage
procedure Newtonnmax,
integer nmax; real
external function
fxlarrf
output
for to nmax do
if then
output "small derivative"
return
end if
dlarrf
xlarrx
fxlarrf
output
if then
output "convergence"
return
end if
end for
end procedure Newton
Newton Raphson p p
Legend:
is the input function being solved
derivative of obtained through analytical derivation
is the starting point of the algorithm
nmax is the max number of iterations after which the algorithm is aborted
is desired precision
is a limit used to indicate when the derivative becomes almost horizontal.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started