help a brainlet out
im supposed to use software such as matlab, sagemath etc to solve this exercise.
hope my translation is understandable
first im writing the function as this to use in software
c(x)=((pi)((300/cos(x))2)0.8)/((pi/2)(14)2(1+sin(x)-0.5*cos(x)))
is that right?
now
problem: considering h=300, F=0.8 and D=14, find the positive angle A inferior to pi/25 for which C=1200.
a)find a function f(x), for which the solution of f(x)=0, is equivalent to the solution of the problem.
i dont understand this question at all, also here's the original in portuguese: encontre uma função f(x), cuja solução de f(x)=0, seja equivalente à solução do problema questão.
b) make sure that in the interval [0,pi/25] you can use the secant method
im not sure here i think f has to be differentiable twice in the interval and that f'(x) cant have roots in the interval correct?
i dont have to worry about if f(0)*f(pi/25) is less than 0 right? because it isnt
pls respond
>>322419
As I see it the solution of the problem is the found angle A.for C=1200
So in that case a would mean to find a function f(x) for which f(x=A) = 0 ? Which in other words you can make as simple as you want as longit contains an angle as variable somewhere?
As I see it you need to look if C(A) is defined in the intervall. Isn't he whole point of the secant method that you do not need to calculate f'(x) but only use the numeric approximation with the differential quotient?
For example making sure the denominators never become 0 in the interval.
>>322419
>a)find a function f(x), for which the solution of f(x)=0, is equivalent to the solution of the problem.
If you want find x such that g(x)=h(x) then you can define a new function f(x)=h(x)-g(x). Then when g(x')==h(x'), what does f(x') equal? When f(x'')==0, what are the values of g(x'') and h(x'')?
>>322439
im not sure, in the teachers pdf it says 1st conditions of divergence:
- f a function 2 times differenciable in [a,b]
- f'(x)!=0 ∀ [a,b]
and it also has f(a).f(b)<0 but it later says that it doesnt need f(a).f(b)<0 because the root doesnt need to be between a and b
>>322442
thanks for the help but im too dumb to understand that
>>322452
convergence not divergence
im going a bit crazy over this shit
every secant method calculator basically shows me that its not possible to find the roots of this piece of shit equation
is my input right? i wonder if thats whats fucking me up, in wolframalpha it seems correct but the graph is really weird
https://www.wolframalpha.com/input/?i=(pi*((300%2Fcos(x))%5E2)*0.8)%2F((pi%2F2)*(14)%5E2*(1%2Bsin(x)-0.5*cos(x)))
>>322505
fucking hell i needed to add -1200 to the end of the function so that the method works
still unsure about the first question though
>>322505
But you're not supposed to find the root for a) I think, but the solution for C(A)=1200
>>322525
yes, and it will give me ~0.1176 rad
which is the root im supposed to find using the secant method with this ((pi)((300/cos(x))2)0.8)/((pi/2)(14)2(1+sin(x)-0.5*cos(x)))-1200
i was being dumb