Computer Science, asked by preethamr700210, 2 months ago

int p= 29, q= 39, r ; r= q>p ? p+q : q-p; find r​

Answers

Answered by ankushpradhan02
0

Explanation:

Correct option is

B

θ

1

=

2

θ

2

When,

P

+

Q

=

R

or

P

R

=−

Q

(

P

R

).(

P

R

)=(−

Q

).(−

Q

)

P

2

+R

2

−2PRcosθ

1

=Q

2

cosθ

1

=1/2 (as P=Q=R)

θ

1

=60

0

When,

P

+

Q

+

R

=0 or

P

+

R

=−

Q

(

P

+

R

).(

P

+

R

)=(−

Q

).(−

Q

)

P

2

+R

2

+2PRcosθ

2

=Q

2

cosθ

2

=−1/2 (as P=Q=R)

θ

2

=120

0

Thus, θ

1

=

2

θ

2

Similar questions