[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 43 KB, 1433x764, Capture.png [View same] [iqdb] [saucenao] [google]
11152532 No.11152532 [Reply] [Original]

I haven't figured it out yet, but do you think it is possible to express d as a simple function of r,a and theta ?

Assuming r > 0 and 0 < a < r and 0 < theta < pi

>> No.11152556

>>11152532
r^2 = a^2 + d^2 - 2 a d cos(180° - theta)
Known as the law of cosines.
You can simply use the quadratic formula to solve this for d.

>> No.11152573

>>11152532
i don't think you'd need theta, if a = 0 then d = r, d decreases by a certain rate as a increases, all you need to know is a and r

>> No.11152587

>>11152573
or you could express it with theta and without a

>> No.11152595

Oh, i forgot to mention that a and r are contant, only theta can change

>> No.11152626

>>11152573
The solution is only unique for a = 0. For the same a and r, you can draw any number of d's ranging from r-a to r+a so long as a !=0. Just try it.

>> No.11152629
File: 911 KB, 700x984, __remilia_scarlet_touhou_drawn_by_60mai__9361f1e9deb3a75528c65fa305561f36.png [View same] [iqdb] [saucenao] [google]
11152629

>>11152532
See >>11152621
And use /sqt/ next time.

>> No.11152664

I tried to apply the law of cosines and after solving the quadratic equation, I get:

d = a*sin(theta) - sqrt(r2-a2*cos2(theta))

but it doesn't seem to fit for theta = 0 : my formula gives d = sqrt(r2-a2) whereas I should find r-a

>> No.11152757

Ok I finally found the right after : there were mistakes in my formula.

So, the result is :

for a and r fixed,
d(theta) = sqrt(r^2-a^2*sin^2(theta)) - a*cos(theta)

Works for theta = 0 and theta = pi.

Thanks guys for help

>> No.11154192

r = a + d*cos(theta)

>> No.11154237

>>11152556
>He answered the question and so the thread should have been over, but retarded faggots still wanted to put in their two cents.