Question

In: Accounting

The law of cosines for a triangle states that a2 = b2 + c2 - 2bc cosA

The law of cosines for a triangle states that a2 = b2 + c2 - 2bc cosA, where a is the length of the side opposite the angle A, and b and c are the lengths of the other sides.

a. Use MuPAD to solve for b.

b. Suppose that A = 60°, a = 5 m, and c = 2 m. Determine b.

Solutions

Expert Solution

(a)

The equation given is:

a2 = b2 + c2 – 2bc cost (A)

 

Solution for is required.

 

This can be done using the MATLAB command solve.

 

The MATLAB code is shown below:

Input:

syms a b c A

S = a^2 - b^2 + c^2 + 2*b*c*cos(A);

sol = solve(S, b)

Output:

 

 

Solution for b is:

b = c cost(A) ± √[c2 + {a2 + c2 cos(A)}]

 

(b)

A = 60°, a = 5, c = 2

 

Substituting the values in the above equation by using the MATLAB command subs

The MATLAB code is shown below. The double command is use to convert the symbolic expression into the numeric value.

 

Input:

subs(sol, [a, c, A], [5, 2, 60])

double(ans)

 

Output:

 

The solution is

b = 3.8073

b = -7.6170


(a)

b = c cost(A) ± √[c2 + {a2 + c2 cos(A)}]

(b)

The solution is

b = 3.8073

b = -7.6170

Related Solutions

Suppose a , b , c ∈ Z . If a2 + b2 = c2 ,...
Suppose a , b , c ∈ Z . If a2 + b2 = c2 , then a or b is even. a) Proof by Contraposition b) Proof by Contradiction
Gases A2 and B2 react according to the equation: A2 + B2 → AxBy . If...
Gases A2 and B2 react according to the equation: A2 + B2 → AxBy . If equimolar ( not necessarily stoichiometrically equivalent) quantities are placed in a reaction vessel with a massless, frictionless piston and allowed to react to completion. The density of the gas mixture after reaction is 1.5X the original density. Find the empirical formula? Is there only one possibility? Explain.
2- Gases A2 and B2 react according to the equation: A2 + B2 → AxBy ....
2- Gases A2 and B2 react according to the equation: A2 + B2 → AxBy . If equimolar ( not necessarily stoichiometrically equivalent) quantities are placed in a reaction vessel with a massless, frictionless piston and allowed to react to completion. The density of the gas mixture after reaction is 1.5X the original density. Find the empirical formula? Is there only one possibility? Explain.
derive the Pythagorean theorem (a2+b2=c2) which is one of the most important theorems in mathematics
derive the Pythagorean theorem (a2+b2=c2) which is one of the most important theorems in mathematics
Show that the curve C(t) = <a1, a2, a3>t2 + <b1, b2, b3>t + <c1, c2,...
Show that the curve C(t) = <a1, a2, a3>t2 + <b1, b2, b3>t + <c1, c2, c3> lies in a plane and find the equation for such a plane.
What is Corr[A1, A2] where A1 equals B1 minus B2, and A2 equals B2 minus B3and...
What is Corr[A1, A2] where A1 equals B1 minus B2, and A2 equals B2 minus B3and we are given that Bi ∼ Ber(p) for all i in {1,2}?
| | a1 | a2 | |----|------|------| | b1 | 0.37 | 0.16 | | b2...
| | a1 | a2 | |----|------|------| | b1 | 0.37 | 0.16 | | b2 | 0.23 | ? | 1. What is ?(?=?2,?=?2)P(A=a2,B=b2)? 2. Observing events from this probability distribution, what is the probability of seeing (a1, b1) then (a2, b2)? 3. Calculate the marginal probability distribution, ?(?)P(A). 4. Calculate the marginal probability distribution, ?(?)P(B).
Consider the following reaction: A2 + B2 → 2AB ΔH = –321 kJ Bond energy (A2)...
Consider the following reaction: A2 + B2 → 2AB ΔH = –321 kJ Bond energy (A2) = 1/2AB Bond energy (B2) =393 kJ/mol. What is the numerical value for Bond energy (A2) ?
a. The Log likelihood function is ?(?) = (a1 + a2) log(?) − ?(b1 + b2)  write...
a. The Log likelihood function is ?(?) = (a1 + a2) log(?) − ?(b1 + b2)  write this as a function of θ, by substituting in θ = log(λ). b. Write down the likelihood equation for θ, using the log-likelihood in part a, and hence determine θ^ the MLE for θ. c. Show that θˆlog = (λ^). Show this algebraically, what property of MLEs is this? d. Differentiate the LHS of the likelihood equation, obtain the expected information ?(?) = ?{??(?,...
Let f: X→Y be a map with A1, A2⊂X and B1,B2⊂Y (A) Prove f(A1∪A2)=f(A1)∪f(A2). (B) Prove...
Let f: X→Y be a map with A1, A2⊂X and B1,B2⊂Y (A) Prove f(A1∪A2)=f(A1)∪f(A2). (B) Prove f(A1∩A2)⊂f(A1)∩f(A2). Give an example in which equality fails. (C) Prove f−1(B1∪B2)=f−1(B1)∪f−1(B2), where f−1(B)={x∈X: f(x)∈B}. (D) Prove f−1(B1∩B2)=f−1(B1)∩f−1(B2). (E) Prove f−1(Y∖B1)=X∖f−1(B1). (Abstract Algebra)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT