First, what are you using for f?Hi
Thanks for the response
I am asking r1 and r0 values to substitute the Secant equation
View attachment 38000
Yes.....The equation says find the radius of the cone using Secant MethodI am confused: are your posts #1 and #3 related in some way?
Ooops, my bad: did not read the last paragraph carefully. My apologies.Yes.....The equation says find the radius of the cone using Secant Method
Please answer my question:Can we use like this ?
I am confused which value is used to converge to zero
Please advise
View attachment 38002
In the secant method as I understand it, you are looking for a zero (or "root") of the function f, right? That is not true of the function you are evaluating here.First, what are you using for f?
Yes Sir I just understood Thank you so muchPlease answer my question:
In the secant method as I understand it, you are looking for a zero (or "root") of the function f, right? That is not true of the function you are evaluating here.
What you have found is that the solution (the zero of the function f you should be using) is between r = 3 and 4. So it will be a good idea to use those as your initial guesses.
The work and answer look correct, though the notation could be improved. (Have you been taught to use [imath]fr_1[/imath] rather than [imath]f(r_1)[/imath], for example? And why do you write "[imath]fr_2[/imath]" where I expect "[imath]r_2[/imath]?)Hoped this is the answer for the question please check if you have free time
View attachment 38003
Grate thanks .....I must improveThe work and answer look correct, though the notation could be improved. (Have you been taught to use [imath]fr_1[/imath] rather than [imath]f(r_1)[/imath], for example? And why do you write "[imath]fr_2[/imath]" where I expect "[imath]r_2[/imath]?)
I would have started by saying something like this:
Let [imath]f(r)=S(r)-100=\pi r\sqrt{r^2+10^2}-100[/imath].Let [imath]r_0=3[/imath] and [imath]r_1=4[/imath].Then [imath]f(r_0)=f(3)=\pi 3\sqrt{3^2+10^2}-100=-1.60243[/imath] and[imath]f(r_1)=f(4)=\pi 4\sqrt{4^2+10^2}-100=35.34395[/imath].Therefore, [imath]r_2=\dots[/imath]...
Yes of course good ideaYou can plug in the computed value of [imath]r[/imath] and see if you get the correct [imath]S(r)[/imath]. Or you can solve for [imath]r[/imath] explicitly:
[math]S = \pi r \sqrt{r^2 + h^2} \rightarrow S^2 = \pi^2 r^2(r^2+h^2)[/math]For [imath]u=r^2[/imath] : [math]S^2 = \pi^2 u(u+h^2) = \pi^2 u^2 + \pi^2h^2 u[/math][math]u =\frac{-\pi^2h^2 +\sqrt{\pi^4h^4 + 4\pi^2S^2}}{2\pi^2}\approx 9.27235305286417[/math][math]r = \sqrt{u} \approx 3.045053866988919[/math]
It is. In your case the function is [imath]f(r) = \pi r\sqrt{h^2+r^2} - S[/imath]. Also, in your case the root can be expressed explicitly, but this is not always the case.Funny thing is..... I thought up to now the Secant method is used for finding Root of the function
You need to think a bit more clearly. You say ...so it can't be solved. Then you ask how to find initial guesses so that you can find the solution.Dear all, this equation doesn't include initial guesses, so it cannot be solved. Could you please advise on how to incorporate initial guesses? Are there any suggested values we could propose. Can I use any arbitrary two guesses .
View attachment 37998