How to find points M and N such that AM=CN=BC only with a straight edge and a compass?
The following code is my attempt to find M
and N
such that AM=CN=BC
.
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate}
begin{document}
defx{pscalculate{6-3.3541}}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstGeonode[PosAngle={180,90,0,-90}](1,2){B}(2.5,5){C}(6,2){A}(x,2){M}
pspolygon(B)(C)(A)
pstRotation[PosAngle=90,RotAngle=75.9638]{C}{B}[N]
psGetDistanceAB[xShift=-8,yShift=4](B)(C){M}
psGetAngleABC[AngleValue=true,MarkAngleRadius=.5,LabelSep=0.5,%
ShowWedge=false,xShift=-5,yShift=7,arrows=->](B)(C)(A){}
end{pspicture}
end{document}
However, I am trying not to use psGetDistanceAB
and psGetAngleABC
.
Question
How to get M
and N
such that AM=CN=BC
only with a compass and a straight edge?
pstricks pst-eucl
add a comment |
The following code is my attempt to find M
and N
such that AM=CN=BC
.
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate}
begin{document}
defx{pscalculate{6-3.3541}}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstGeonode[PosAngle={180,90,0,-90}](1,2){B}(2.5,5){C}(6,2){A}(x,2){M}
pspolygon(B)(C)(A)
pstRotation[PosAngle=90,RotAngle=75.9638]{C}{B}[N]
psGetDistanceAB[xShift=-8,yShift=4](B)(C){M}
psGetAngleABC[AngleValue=true,MarkAngleRadius=.5,LabelSep=0.5,%
ShowWedge=false,xShift=-5,yShift=7,arrows=->](B)(C)(A){}
end{pspicture}
end{document}
However, I am trying not to use psGetDistanceAB
and psGetAngleABC
.
Question
How to get M
and N
such that AM=CN=BC
only with a compass and a straight edge?
pstricks pst-eucl
add a comment |
The following code is my attempt to find M
and N
such that AM=CN=BC
.
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate}
begin{document}
defx{pscalculate{6-3.3541}}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstGeonode[PosAngle={180,90,0,-90}](1,2){B}(2.5,5){C}(6,2){A}(x,2){M}
pspolygon(B)(C)(A)
pstRotation[PosAngle=90,RotAngle=75.9638]{C}{B}[N]
psGetDistanceAB[xShift=-8,yShift=4](B)(C){M}
psGetAngleABC[AngleValue=true,MarkAngleRadius=.5,LabelSep=0.5,%
ShowWedge=false,xShift=-5,yShift=7,arrows=->](B)(C)(A){}
end{pspicture}
end{document}
However, I am trying not to use psGetDistanceAB
and psGetAngleABC
.
Question
How to get M
and N
such that AM=CN=BC
only with a compass and a straight edge?
pstricks pst-eucl
The following code is my attempt to find M
and N
such that AM=CN=BC
.
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate}
begin{document}
defx{pscalculate{6-3.3541}}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstGeonode[PosAngle={180,90,0,-90}](1,2){B}(2.5,5){C}(6,2){A}(x,2){M}
pspolygon(B)(C)(A)
pstRotation[PosAngle=90,RotAngle=75.9638]{C}{B}[N]
psGetDistanceAB[xShift=-8,yShift=4](B)(C){M}
psGetAngleABC[AngleValue=true,MarkAngleRadius=.5,LabelSep=0.5,%
ShowWedge=false,xShift=-5,yShift=7,arrows=->](B)(C)(A){}
end{pspicture}
end{document}
However, I am trying not to use psGetDistanceAB
and psGetAngleABC
.
Question
How to get M
and N
such that AM=CN=BC
only with a compass and a straight edge?
pstricks pst-eucl
pstricks pst-eucl
edited 35 mins ago
God Must Be Crazy
5,58511039
5,58511039
asked 3 hours ago
chishimotoji
788216
788216
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate,textcomp}
begin{document}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointName=none]{A}{C}{C}{B}{N}{N0}uput[0](N){N}
pstInterLC[PointSymbolB=none,PointName=none,
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}]{B}{A}{A}{}{M}{M0}uput[-90](M){M}
psarc[origin={C}]{->}(C){0.5}{(B)}{(N)}uput{5mm}[-10](C){75.9636textdegree}
end{pspicture}
end{document}
1
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.
– Herbert
32 mins ago
Trivial comments:M
andN
have not been converted to math mode.
– God Must Be Crazy
23 mins ago
add a comment |
The shorter the code the more beautiful it becomes.
documentclass[pstricks,12pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}(0,1)(7,6)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointNameB=,PosAngle=45]{A}{C}{C}{B}{N}{x}
pstTranslation[PointName=none,PointSymbol=none]{B}{A}{C}[C']
pstInterLC[PointNameA=,PointSymbolA=none,PosAngleB=-90]{A}{B}{A}{C'}{y}{M}
pstMarkAngle[arrows=->,MarkAngleRadius=1.1,LabelSep=.8]{B}{C}{A}{scriptsize$75.96^circ$}
end{pspicture}
end{document}
Notes
PointNameA
and PointNameB
cannot be assigned none
but empty. It looks like a bug.
add a comment |
An alternative tikz version:
documentclass[tikz,border=12pt]{standalone}
usetikzlibrary{calc,bending,arrows.meta,quotes,angles}
usepackage{textcomp}
begin{document}
begin{tikzpicture}[dot/.style={fill,circle,inner sep=1.2pt},>= Stealth]footnotesize
pgfmathsetmacroBC{sqrt(1.5*1.5+3*3)}
pgfmathsetmacroAC{sqrt(3.5*3.5+3*3)}
draw (1,2)coordinate[dot,label=left:$B$](b)--(2.5,5)coordinate[dot,label=above:$C$](c)--(6,2)coordinate[dot,label=right:$A$](a)--cycle;
node at ([xshift=-BC cm]a) [dot,label=below:$M$] {};
node at ($(c)!BC/AC!(a)$) [dot,label=right:$N$] {};
pic["75.96textdegree",draw,->,angle eccentricity=.7,angle radius=1cm] {angle=b--c--a};
end{tikzpicture}
end{document}
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
add a comment |
A version in which you do not have to compute anything yourself. All distances and angles can be very conveniently computed with TikZ. In more detail, the following code computes the distance between B
and C
(n1
) as well as the "slopes" of all the edges, and then uses polar coordinates to set M
n1
away from A
in B
direction and N
n1
away from C
in A
direction. The angle at B
is also computed by tikz
and inserted via pgfmathprintnumber
which allows you to specify the number of digits and so on, if needed.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc,angles,quotes}
begin{document}
begin{tikzpicture}
draw (1,2) coordinate[label=below:$B$] (B) --
(2.5,5) coordinate[label=above:$C$] (C) --
(6,2) coordinate[label=right:$A$] (A) -- cycle;
path let p1=($(B)-(C)$),p2=($(B)-(A)$),p3=($(A)-(C)$),
n1={veclen(x1,y1)},n2={atan2(y2,x2)},n3={atan2(y3,x3)},
n4={n3-atan2(y1,x1)} in
($(A)+(n2:n1)$) coordinate[label=below:$M$] (M)
($(C)+(n3:n1)$) coordinate[label=above right:$N$] (N)
pic["$pgfmathparse{n4}pgfmathprintnumber{pgfmathresult}^circ$",draw,-latex,angle
eccentricity=1.3,angle radius=1cm]
{angle=B--C--A};
foreach X in {A,B,C,M,N}
{fill (X) circle (1pt);}
end{tikzpicture}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467795%2fhow-to-find-points-m-and-n-such-that-am-cn-bc-only-with-a-straight-edge-and-a-co%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate,textcomp}
begin{document}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointName=none]{A}{C}{C}{B}{N}{N0}uput[0](N){N}
pstInterLC[PointSymbolB=none,PointName=none,
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}]{B}{A}{A}{}{M}{M0}uput[-90](M){M}
psarc[origin={C}]{->}(C){0.5}{(B)}{(N)}uput{5mm}[-10](C){75.9636textdegree}
end{pspicture}
end{document}
1
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.
– Herbert
32 mins ago
Trivial comments:M
andN
have not been converted to math mode.
– God Must Be Crazy
23 mins ago
add a comment |
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate,textcomp}
begin{document}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointName=none]{A}{C}{C}{B}{N}{N0}uput[0](N){N}
pstInterLC[PointSymbolB=none,PointName=none,
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}]{B}{A}{A}{}{M}{M0}uput[-90](M){M}
psarc[origin={C}]{->}(C){0.5}{(B)}{(N)}uput{5mm}[-10](C){75.9636textdegree}
end{pspicture}
end{document}
1
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.
– Herbert
32 mins ago
Trivial comments:M
andN
have not been converted to math mode.
– God Must Be Crazy
23 mins ago
add a comment |
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate,textcomp}
begin{document}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointName=none]{A}{C}{C}{B}{N}{N0}uput[0](N){N}
pstInterLC[PointSymbolB=none,PointName=none,
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}]{B}{A}{A}{}{M}{M0}uput[-90](M){M}
psarc[origin={C}]{->}(C){0.5}{(B)}{(N)}uput{5mm}[-10](C){75.9636textdegree}
end{pspicture}
end{document}
documentclass[pstricks,border=12pt]{standalone}
usepackage{pst-eucl,pst-calculate,textcomp}
begin{document}
begin{pspicture}[showgrid](-1,-1)(8,8)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointName=none]{A}{C}{C}{B}{N}{N0}uput[0](N){N}
pstInterLC[PointSymbolB=none,PointName=none,
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}]{B}{A}{A}{}{M}{M0}uput[-90](M){M}
psarc[origin={C}]{->}(C){0.5}{(B)}{(N)}uput{5mm}[-10](C){75.9636textdegree}
end{pspicture}
end{document}
edited 30 mins ago
answered 2 hours ago
Herbert
269k24408717
269k24408717
1
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.
– Herbert
32 mins ago
Trivial comments:M
andN
have not been converted to math mode.
– God Must Be Crazy
23 mins ago
add a comment |
1
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.
– Herbert
32 mins ago
Trivial comments:M
andN
have not been converted to math mode.
– God Must Be Crazy
23 mins ago
1
1
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.– Herbert
32 mins ago
Radius=pstDistCalc{sqrt((2.5-1)^2+(5-2)^2)}
is also possible.– Herbert
32 mins ago
Trivial comments:
M
and N
have not been converted to math mode.– God Must Be Crazy
23 mins ago
Trivial comments:
M
and N
have not been converted to math mode.– God Must Be Crazy
23 mins ago
add a comment |
The shorter the code the more beautiful it becomes.
documentclass[pstricks,12pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}(0,1)(7,6)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointNameB=,PosAngle=45]{A}{C}{C}{B}{N}{x}
pstTranslation[PointName=none,PointSymbol=none]{B}{A}{C}[C']
pstInterLC[PointNameA=,PointSymbolA=none,PosAngleB=-90]{A}{B}{A}{C'}{y}{M}
pstMarkAngle[arrows=->,MarkAngleRadius=1.1,LabelSep=.8]{B}{C}{A}{scriptsize$75.96^circ$}
end{pspicture}
end{document}
Notes
PointNameA
and PointNameB
cannot be assigned none
but empty. It looks like a bug.
add a comment |
The shorter the code the more beautiful it becomes.
documentclass[pstricks,12pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}(0,1)(7,6)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointNameB=,PosAngle=45]{A}{C}{C}{B}{N}{x}
pstTranslation[PointName=none,PointSymbol=none]{B}{A}{C}[C']
pstInterLC[PointNameA=,PointSymbolA=none,PosAngleB=-90]{A}{B}{A}{C'}{y}{M}
pstMarkAngle[arrows=->,MarkAngleRadius=1.1,LabelSep=.8]{B}{C}{A}{scriptsize$75.96^circ$}
end{pspicture}
end{document}
Notes
PointNameA
and PointNameB
cannot be assigned none
but empty. It looks like a bug.
add a comment |
The shorter the code the more beautiful it becomes.
documentclass[pstricks,12pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}(0,1)(7,6)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointNameB=,PosAngle=45]{A}{C}{C}{B}{N}{x}
pstTranslation[PointName=none,PointSymbol=none]{B}{A}{C}[C']
pstInterLC[PointNameA=,PointSymbolA=none,PosAngleB=-90]{A}{B}{A}{C'}{y}{M}
pstMarkAngle[arrows=->,MarkAngleRadius=1.1,LabelSep=.8]{B}{C}{A}{scriptsize$75.96^circ$}
end{pspicture}
end{document}
Notes
PointNameA
and PointNameB
cannot be assigned none
but empty. It looks like a bug.
The shorter the code the more beautiful it becomes.
documentclass[pstricks,12pt]{standalone}
usepackage{pst-eucl}
begin{document}
begin{pspicture}(0,1)(7,6)
pstTriangle[PosAngle={180,90,0}](1,2){B}(2.5,5){C}(6,2){A}
pstInterLC[PointSymbolB=none,PointNameB=,PosAngle=45]{A}{C}{C}{B}{N}{x}
pstTranslation[PointName=none,PointSymbol=none]{B}{A}{C}[C']
pstInterLC[PointNameA=,PointSymbolA=none,PosAngleB=-90]{A}{B}{A}{C'}{y}{M}
pstMarkAngle[arrows=->,MarkAngleRadius=1.1,LabelSep=.8]{B}{C}{A}{scriptsize$75.96^circ$}
end{pspicture}
end{document}
Notes
PointNameA
and PointNameB
cannot be assigned none
but empty. It looks like a bug.
edited 1 hour ago
answered 1 hour ago
God Must Be Crazy
5,58511039
5,58511039
add a comment |
add a comment |
An alternative tikz version:
documentclass[tikz,border=12pt]{standalone}
usetikzlibrary{calc,bending,arrows.meta,quotes,angles}
usepackage{textcomp}
begin{document}
begin{tikzpicture}[dot/.style={fill,circle,inner sep=1.2pt},>= Stealth]footnotesize
pgfmathsetmacroBC{sqrt(1.5*1.5+3*3)}
pgfmathsetmacroAC{sqrt(3.5*3.5+3*3)}
draw (1,2)coordinate[dot,label=left:$B$](b)--(2.5,5)coordinate[dot,label=above:$C$](c)--(6,2)coordinate[dot,label=right:$A$](a)--cycle;
node at ([xshift=-BC cm]a) [dot,label=below:$M$] {};
node at ($(c)!BC/AC!(a)$) [dot,label=right:$N$] {};
pic["75.96textdegree",draw,->,angle eccentricity=.7,angle radius=1cm] {angle=b--c--a};
end{tikzpicture}
end{document}
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
add a comment |
An alternative tikz version:
documentclass[tikz,border=12pt]{standalone}
usetikzlibrary{calc,bending,arrows.meta,quotes,angles}
usepackage{textcomp}
begin{document}
begin{tikzpicture}[dot/.style={fill,circle,inner sep=1.2pt},>= Stealth]footnotesize
pgfmathsetmacroBC{sqrt(1.5*1.5+3*3)}
pgfmathsetmacroAC{sqrt(3.5*3.5+3*3)}
draw (1,2)coordinate[dot,label=left:$B$](b)--(2.5,5)coordinate[dot,label=above:$C$](c)--(6,2)coordinate[dot,label=right:$A$](a)--cycle;
node at ([xshift=-BC cm]a) [dot,label=below:$M$] {};
node at ($(c)!BC/AC!(a)$) [dot,label=right:$N$] {};
pic["75.96textdegree",draw,->,angle eccentricity=.7,angle radius=1cm] {angle=b--c--a};
end{tikzpicture}
end{document}
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
add a comment |
An alternative tikz version:
documentclass[tikz,border=12pt]{standalone}
usetikzlibrary{calc,bending,arrows.meta,quotes,angles}
usepackage{textcomp}
begin{document}
begin{tikzpicture}[dot/.style={fill,circle,inner sep=1.2pt},>= Stealth]footnotesize
pgfmathsetmacroBC{sqrt(1.5*1.5+3*3)}
pgfmathsetmacroAC{sqrt(3.5*3.5+3*3)}
draw (1,2)coordinate[dot,label=left:$B$](b)--(2.5,5)coordinate[dot,label=above:$C$](c)--(6,2)coordinate[dot,label=right:$A$](a)--cycle;
node at ([xshift=-BC cm]a) [dot,label=below:$M$] {};
node at ($(c)!BC/AC!(a)$) [dot,label=right:$N$] {};
pic["75.96textdegree",draw,->,angle eccentricity=.7,angle radius=1cm] {angle=b--c--a};
end{tikzpicture}
end{document}
An alternative tikz version:
documentclass[tikz,border=12pt]{standalone}
usetikzlibrary{calc,bending,arrows.meta,quotes,angles}
usepackage{textcomp}
begin{document}
begin{tikzpicture}[dot/.style={fill,circle,inner sep=1.2pt},>= Stealth]footnotesize
pgfmathsetmacroBC{sqrt(1.5*1.5+3*3)}
pgfmathsetmacroAC{sqrt(3.5*3.5+3*3)}
draw (1,2)coordinate[dot,label=left:$B$](b)--(2.5,5)coordinate[dot,label=above:$C$](c)--(6,2)coordinate[dot,label=right:$A$](a)--cycle;
node at ([xshift=-BC cm]a) [dot,label=below:$M$] {};
node at ($(c)!BC/AC!(a)$) [dot,label=right:$N$] {};
pic["75.96textdegree",draw,->,angle eccentricity=.7,angle radius=1cm] {angle=b--c--a};
end{tikzpicture}
end{document}
edited 54 mins ago
answered 57 mins ago
AboAmmar
32.9k22882
32.9k22882
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
add a comment |
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
Thank you for your answer with TikZ.
– chishimotoji
55 mins ago
add a comment |
A version in which you do not have to compute anything yourself. All distances and angles can be very conveniently computed with TikZ. In more detail, the following code computes the distance between B
and C
(n1
) as well as the "slopes" of all the edges, and then uses polar coordinates to set M
n1
away from A
in B
direction and N
n1
away from C
in A
direction. The angle at B
is also computed by tikz
and inserted via pgfmathprintnumber
which allows you to specify the number of digits and so on, if needed.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc,angles,quotes}
begin{document}
begin{tikzpicture}
draw (1,2) coordinate[label=below:$B$] (B) --
(2.5,5) coordinate[label=above:$C$] (C) --
(6,2) coordinate[label=right:$A$] (A) -- cycle;
path let p1=($(B)-(C)$),p2=($(B)-(A)$),p3=($(A)-(C)$),
n1={veclen(x1,y1)},n2={atan2(y2,x2)},n3={atan2(y3,x3)},
n4={n3-atan2(y1,x1)} in
($(A)+(n2:n1)$) coordinate[label=below:$M$] (M)
($(C)+(n3:n1)$) coordinate[label=above right:$N$] (N)
pic["$pgfmathparse{n4}pgfmathprintnumber{pgfmathresult}^circ$",draw,-latex,angle
eccentricity=1.3,angle radius=1cm]
{angle=B--C--A};
foreach X in {A,B,C,M,N}
{fill (X) circle (1pt);}
end{tikzpicture}
end{document}
add a comment |
A version in which you do not have to compute anything yourself. All distances and angles can be very conveniently computed with TikZ. In more detail, the following code computes the distance between B
and C
(n1
) as well as the "slopes" of all the edges, and then uses polar coordinates to set M
n1
away from A
in B
direction and N
n1
away from C
in A
direction. The angle at B
is also computed by tikz
and inserted via pgfmathprintnumber
which allows you to specify the number of digits and so on, if needed.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc,angles,quotes}
begin{document}
begin{tikzpicture}
draw (1,2) coordinate[label=below:$B$] (B) --
(2.5,5) coordinate[label=above:$C$] (C) --
(6,2) coordinate[label=right:$A$] (A) -- cycle;
path let p1=($(B)-(C)$),p2=($(B)-(A)$),p3=($(A)-(C)$),
n1={veclen(x1,y1)},n2={atan2(y2,x2)},n3={atan2(y3,x3)},
n4={n3-atan2(y1,x1)} in
($(A)+(n2:n1)$) coordinate[label=below:$M$] (M)
($(C)+(n3:n1)$) coordinate[label=above right:$N$] (N)
pic["$pgfmathparse{n4}pgfmathprintnumber{pgfmathresult}^circ$",draw,-latex,angle
eccentricity=1.3,angle radius=1cm]
{angle=B--C--A};
foreach X in {A,B,C,M,N}
{fill (X) circle (1pt);}
end{tikzpicture}
end{document}
add a comment |
A version in which you do not have to compute anything yourself. All distances and angles can be very conveniently computed with TikZ. In more detail, the following code computes the distance between B
and C
(n1
) as well as the "slopes" of all the edges, and then uses polar coordinates to set M
n1
away from A
in B
direction and N
n1
away from C
in A
direction. The angle at B
is also computed by tikz
and inserted via pgfmathprintnumber
which allows you to specify the number of digits and so on, if needed.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc,angles,quotes}
begin{document}
begin{tikzpicture}
draw (1,2) coordinate[label=below:$B$] (B) --
(2.5,5) coordinate[label=above:$C$] (C) --
(6,2) coordinate[label=right:$A$] (A) -- cycle;
path let p1=($(B)-(C)$),p2=($(B)-(A)$),p3=($(A)-(C)$),
n1={veclen(x1,y1)},n2={atan2(y2,x2)},n3={atan2(y3,x3)},
n4={n3-atan2(y1,x1)} in
($(A)+(n2:n1)$) coordinate[label=below:$M$] (M)
($(C)+(n3:n1)$) coordinate[label=above right:$N$] (N)
pic["$pgfmathparse{n4}pgfmathprintnumber{pgfmathresult}^circ$",draw,-latex,angle
eccentricity=1.3,angle radius=1cm]
{angle=B--C--A};
foreach X in {A,B,C,M,N}
{fill (X) circle (1pt);}
end{tikzpicture}
end{document}
A version in which you do not have to compute anything yourself. All distances and angles can be very conveniently computed with TikZ. In more detail, the following code computes the distance between B
and C
(n1
) as well as the "slopes" of all the edges, and then uses polar coordinates to set M
n1
away from A
in B
direction and N
n1
away from C
in A
direction. The angle at B
is also computed by tikz
and inserted via pgfmathprintnumber
which allows you to specify the number of digits and so on, if needed.
documentclass[tikz,border=3.14mm]{standalone}
usetikzlibrary{calc,angles,quotes}
begin{document}
begin{tikzpicture}
draw (1,2) coordinate[label=below:$B$] (B) --
(2.5,5) coordinate[label=above:$C$] (C) --
(6,2) coordinate[label=right:$A$] (A) -- cycle;
path let p1=($(B)-(C)$),p2=($(B)-(A)$),p3=($(A)-(C)$),
n1={veclen(x1,y1)},n2={atan2(y2,x2)},n3={atan2(y3,x3)},
n4={n3-atan2(y1,x1)} in
($(A)+(n2:n1)$) coordinate[label=below:$M$] (M)
($(C)+(n3:n1)$) coordinate[label=above right:$N$] (N)
pic["$pgfmathparse{n4}pgfmathprintnumber{pgfmathresult}^circ$",draw,-latex,angle
eccentricity=1.3,angle radius=1cm]
{angle=B--C--A};
foreach X in {A,B,C,M,N}
{fill (X) circle (1pt);}
end{tikzpicture}
end{document}
answered 7 mins ago
marmot
86.8k499185
86.8k499185
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467795%2fhow-to-find-points-m-and-n-such-that-am-cn-bc-only-with-a-straight-edge-and-a-co%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown