Question

SOLVE IN MATLAB

Given a right triangle ABC, calculate the angle of Theta (degrees) located between AC and AB given values a and b.

Note: https://en.wikipedia.org/wiki/Right_triangle#/media/File:Rtriangle.svg

Filename: Right_Triangle_01.m

Input: a, b

Output: Theta (degrees)

Answer #1

**Code in Matlab:**

function CalculateAngle(a,b)

p = atand(a/b);

fprintf('the angle of Theta (degrees) located
between AC and AB is %d \n',p);

end

CalculateAngle(1,0);

CalculateAngle(1,1);

CalculateAngle(0,1);

CalculateAngle(-1,1);

=======================================================================

Adding Image amnd Output.

**Output
**

Let me know if there is any concern.

ABC is a right-angled triangle with right angle at A, and AB
> AC. Let D be the midpoint of the side BC, and let L be the
bisector of the right angle at A. Draw a perpendicular line to BC
at D, which meets the line L at point E. Prove that
(a) AD=DE; and
(b) ∠DAE=1/2(∠C−∠B)
Hint: Draw a line from A perpendicular to BC, which meets BC in
the point F

∠ABC is a right angle. AB = 8 inches,
BC = 13 inches, and AD = 3 feet. Determine the
surface area (in square inches) and volume (in cubic inches) of the
following. (Round your answers to one decimal place.)
A triangular prism is given. The prism is oriented so that the
top and bottom faces are triangles. Four vertices of the prism are
labeled as follows:
The bottom left vertex of the top triangular face is labeled
A.
The...

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 17 minutes ago

asked 42 minutes ago

asked 42 minutes ago

asked 55 minutes ago

asked 56 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago