Can someone help me draw this?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
Been trying to write the code for this but have been unsuccessful so far and I am on out of time to try to make it work.
Stuff I had written till now.
documentclassarticle
usepackagetikz
begindocument
begintikzpicture[domain=-3.78:4],[domain=0:7]
draw [->] (-4,0) -- (7,0)node [right] $x$;
draw [->] (0,0) -- (0,7)node [above] $y$;
draw (1,3)to[in=30, out=45](3,3);
draw [color=black] plot(x,0.45*x+1.7);
draw [color=black] plot(x,1.5*x-1.3);
draw (2.875,2.986)-- (2.875,0);
draw (4.86,5.99)-- (4.86,0);
endtikzpicture
enddocument
I can't figure how to add the labels, the angles, the proper curve and the line making angle theta keeps going below the x-axis but I don't want it to.
tikz-pgf graphs
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
2
down vote
favorite
Been trying to write the code for this but have been unsuccessful so far and I am on out of time to try to make it work.
Stuff I had written till now.
documentclassarticle
usepackagetikz
begindocument
begintikzpicture[domain=-3.78:4],[domain=0:7]
draw [->] (-4,0) -- (7,0)node [right] $x$;
draw [->] (0,0) -- (0,7)node [above] $y$;
draw (1,3)to[in=30, out=45](3,3);
draw [color=black] plot(x,0.45*x+1.7);
draw [color=black] plot(x,1.5*x-1.3);
draw (2.875,2.986)-- (2.875,0);
draw (4.86,5.99)-- (4.86,0);
endtikzpicture
enddocument
I can't figure how to add the labels, the angles, the proper curve and the line making angle theta keeps going below the x-axis but I don't want it to.
tikz-pgf graphs
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX! Please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
4 hours ago
That's better, but it's not a minimal example: it must start withdocumentclass
and end withenddocument
with the packages used
– AndréC
4 hours ago
Almost certainly
– cmhughes
3 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Been trying to write the code for this but have been unsuccessful so far and I am on out of time to try to make it work.
Stuff I had written till now.
documentclassarticle
usepackagetikz
begindocument
begintikzpicture[domain=-3.78:4],[domain=0:7]
draw [->] (-4,0) -- (7,0)node [right] $x$;
draw [->] (0,0) -- (0,7)node [above] $y$;
draw (1,3)to[in=30, out=45](3,3);
draw [color=black] plot(x,0.45*x+1.7);
draw [color=black] plot(x,1.5*x-1.3);
draw (2.875,2.986)-- (2.875,0);
draw (4.86,5.99)-- (4.86,0);
endtikzpicture
enddocument
I can't figure how to add the labels, the angles, the proper curve and the line making angle theta keeps going below the x-axis but I don't want it to.
tikz-pgf graphs
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Been trying to write the code for this but have been unsuccessful so far and I am on out of time to try to make it work.
Stuff I had written till now.
documentclassarticle
usepackagetikz
begindocument
begintikzpicture[domain=-3.78:4],[domain=0:7]
draw [->] (-4,0) -- (7,0)node [right] $x$;
draw [->] (0,0) -- (0,7)node [above] $y$;
draw (1,3)to[in=30, out=45](3,3);
draw [color=black] plot(x,0.45*x+1.7);
draw [color=black] plot(x,1.5*x-1.3);
draw (2.875,2.986)-- (2.875,0);
draw (4.86,5.99)-- (4.86,0);
endtikzpicture
enddocument
I can't figure how to add the labels, the angles, the proper curve and the line making angle theta keeps going below the x-axis but I don't want it to.
tikz-pgf graphs
tikz-pgf graphs
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 hours ago
Stefan Pinnow
18.9k83172
18.9k83172
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 5 hours ago
Huko
113
113
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Huko is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX! Please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
4 hours ago
That's better, but it's not a minimal example: it must start withdocumentclass
and end withenddocument
with the packages used
– AndréC
4 hours ago
Almost certainly
– cmhughes
3 hours ago
add a comment |Â
1
Welcome to TeX.SX! Please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
4 hours ago
That's better, but it's not a minimal example: it must start withdocumentclass
and end withenddocument
with the packages used
– AndréC
4 hours ago
Almost certainly
– cmhughes
3 hours ago
1
1
Welcome to TeX.SX! Please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
4 hours ago
Welcome to TeX.SX! Please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
4 hours ago
That's better, but it's not a minimal example: it must start with
documentclass
and end with enddocument
with the packages used– AndréC
4 hours ago
That's better, but it's not a minimal example: it must start with
documentclass
and end with enddocument
with the packages used– AndréC
4 hours ago
Almost certainly
– cmhughes
3 hours ago
Almost certainly
– cmhughes
3 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
lines in the image in your question is now clear visible, so it might be that some lines has wrong style:
mwe (minimal working example) should be self explanatory ... first is drawn axis, then triangle, tangent and on the end the curve. for curve is used hobby
library. for it are determined four points (A: start, B: end,P determined by intersections of tangent and triangle and and Q determined by triangle.
documentclass[tikz, margin=3mm]standalone
usetikzlibraryangles,
hobby,
intersections,
quotes
begindocument
begintikzpicture[
every label/.style = circle, label distance=2pt, fill=white, inner sep=2pt,
my angle/.style = draw,<->,
angle radius=12mm,angle eccentricity=1.2
]
% axisi
draw [->] (-4,0) -- (7,0) node [right] $x$;
draw [->] (0,-1) -- (0,0) coordinate[label=below:O] (O)
-- (0,7) node [above] $y$;
% triangle
draw[name path=A]
(1,0) coordinate[label=below:L] (L) --
(6,6) coordinate[label=right:Q] (Q) --
(Q |- O) coordinate[label=below:M] (M);
% tangente
draw[name path=B]
(-3,0) coordinate[label=below:T] (T) -- ( 7,4);
path [name path=C]
( 3,0) coordinate[label=below:N] (N) -- + (0,7);
path [name intersections=of=A and B, by=P,H]
node[above] at (P) P;
node[below right] at (H) H;
draw[densely dashed]
(P |- O) node[below] N --
(P) node[above] P;
% curve
coordinate (A) at (1,2); % start of curve
coordinate (B) at (6.2,7); % end of curve
draw [red, densely dotted, very thick, use Hobby shortcut]
([out angle=5, in angle=265] A) .. (P) .. (Q) .. (B);
% angles
pic [my angle=12mm/1.2, "$psi$"] angle = M--T--H;
pic [my angle=12mm/1.2, "$theta$"] angle = M--L--Q;
endtikzpicture
enddocument
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
lines in the image in your question is now clear visible, so it might be that some lines has wrong style:
mwe (minimal working example) should be self explanatory ... first is drawn axis, then triangle, tangent and on the end the curve. for curve is used hobby
library. for it are determined four points (A: start, B: end,P determined by intersections of tangent and triangle and and Q determined by triangle.
documentclass[tikz, margin=3mm]standalone
usetikzlibraryangles,
hobby,
intersections,
quotes
begindocument
begintikzpicture[
every label/.style = circle, label distance=2pt, fill=white, inner sep=2pt,
my angle/.style = draw,<->,
angle radius=12mm,angle eccentricity=1.2
]
% axisi
draw [->] (-4,0) -- (7,0) node [right] $x$;
draw [->] (0,-1) -- (0,0) coordinate[label=below:O] (O)
-- (0,7) node [above] $y$;
% triangle
draw[name path=A]
(1,0) coordinate[label=below:L] (L) --
(6,6) coordinate[label=right:Q] (Q) --
(Q |- O) coordinate[label=below:M] (M);
% tangente
draw[name path=B]
(-3,0) coordinate[label=below:T] (T) -- ( 7,4);
path [name path=C]
( 3,0) coordinate[label=below:N] (N) -- + (0,7);
path [name intersections=of=A and B, by=P,H]
node[above] at (P) P;
node[below right] at (H) H;
draw[densely dashed]
(P |- O) node[below] N --
(P) node[above] P;
% curve
coordinate (A) at (1,2); % start of curve
coordinate (B) at (6.2,7); % end of curve
draw [red, densely dotted, very thick, use Hobby shortcut]
([out angle=5, in angle=265] A) .. (P) .. (Q) .. (B);
% angles
pic [my angle=12mm/1.2, "$psi$"] angle = M--T--H;
pic [my angle=12mm/1.2, "$theta$"] angle = M--L--Q;
endtikzpicture
enddocument
add a comment |Â
up vote
3
down vote
lines in the image in your question is now clear visible, so it might be that some lines has wrong style:
mwe (minimal working example) should be self explanatory ... first is drawn axis, then triangle, tangent and on the end the curve. for curve is used hobby
library. for it are determined four points (A: start, B: end,P determined by intersections of tangent and triangle and and Q determined by triangle.
documentclass[tikz, margin=3mm]standalone
usetikzlibraryangles,
hobby,
intersections,
quotes
begindocument
begintikzpicture[
every label/.style = circle, label distance=2pt, fill=white, inner sep=2pt,
my angle/.style = draw,<->,
angle radius=12mm,angle eccentricity=1.2
]
% axisi
draw [->] (-4,0) -- (7,0) node [right] $x$;
draw [->] (0,-1) -- (0,0) coordinate[label=below:O] (O)
-- (0,7) node [above] $y$;
% triangle
draw[name path=A]
(1,0) coordinate[label=below:L] (L) --
(6,6) coordinate[label=right:Q] (Q) --
(Q |- O) coordinate[label=below:M] (M);
% tangente
draw[name path=B]
(-3,0) coordinate[label=below:T] (T) -- ( 7,4);
path [name path=C]
( 3,0) coordinate[label=below:N] (N) -- + (0,7);
path [name intersections=of=A and B, by=P,H]
node[above] at (P) P;
node[below right] at (H) H;
draw[densely dashed]
(P |- O) node[below] N --
(P) node[above] P;
% curve
coordinate (A) at (1,2); % start of curve
coordinate (B) at (6.2,7); % end of curve
draw [red, densely dotted, very thick, use Hobby shortcut]
([out angle=5, in angle=265] A) .. (P) .. (Q) .. (B);
% angles
pic [my angle=12mm/1.2, "$psi$"] angle = M--T--H;
pic [my angle=12mm/1.2, "$theta$"] angle = M--L--Q;
endtikzpicture
enddocument
add a comment |Â
up vote
3
down vote
up vote
3
down vote
lines in the image in your question is now clear visible, so it might be that some lines has wrong style:
mwe (minimal working example) should be self explanatory ... first is drawn axis, then triangle, tangent and on the end the curve. for curve is used hobby
library. for it are determined four points (A: start, B: end,P determined by intersections of tangent and triangle and and Q determined by triangle.
documentclass[tikz, margin=3mm]standalone
usetikzlibraryangles,
hobby,
intersections,
quotes
begindocument
begintikzpicture[
every label/.style = circle, label distance=2pt, fill=white, inner sep=2pt,
my angle/.style = draw,<->,
angle radius=12mm,angle eccentricity=1.2
]
% axisi
draw [->] (-4,0) -- (7,0) node [right] $x$;
draw [->] (0,-1) -- (0,0) coordinate[label=below:O] (O)
-- (0,7) node [above] $y$;
% triangle
draw[name path=A]
(1,0) coordinate[label=below:L] (L) --
(6,6) coordinate[label=right:Q] (Q) --
(Q |- O) coordinate[label=below:M] (M);
% tangente
draw[name path=B]
(-3,0) coordinate[label=below:T] (T) -- ( 7,4);
path [name path=C]
( 3,0) coordinate[label=below:N] (N) -- + (0,7);
path [name intersections=of=A and B, by=P,H]
node[above] at (P) P;
node[below right] at (H) H;
draw[densely dashed]
(P |- O) node[below] N --
(P) node[above] P;
% curve
coordinate (A) at (1,2); % start of curve
coordinate (B) at (6.2,7); % end of curve
draw [red, densely dotted, very thick, use Hobby shortcut]
([out angle=5, in angle=265] A) .. (P) .. (Q) .. (B);
% angles
pic [my angle=12mm/1.2, "$psi$"] angle = M--T--H;
pic [my angle=12mm/1.2, "$theta$"] angle = M--L--Q;
endtikzpicture
enddocument
lines in the image in your question is now clear visible, so it might be that some lines has wrong style:
mwe (minimal working example) should be self explanatory ... first is drawn axis, then triangle, tangent and on the end the curve. for curve is used hobby
library. for it are determined four points (A: start, B: end,P determined by intersections of tangent and triangle and and Q determined by triangle.
documentclass[tikz, margin=3mm]standalone
usetikzlibraryangles,
hobby,
intersections,
quotes
begindocument
begintikzpicture[
every label/.style = circle, label distance=2pt, fill=white, inner sep=2pt,
my angle/.style = draw,<->,
angle radius=12mm,angle eccentricity=1.2
]
% axisi
draw [->] (-4,0) -- (7,0) node [right] $x$;
draw [->] (0,-1) -- (0,0) coordinate[label=below:O] (O)
-- (0,7) node [above] $y$;
% triangle
draw[name path=A]
(1,0) coordinate[label=below:L] (L) --
(6,6) coordinate[label=right:Q] (Q) --
(Q |- O) coordinate[label=below:M] (M);
% tangente
draw[name path=B]
(-3,0) coordinate[label=below:T] (T) -- ( 7,4);
path [name path=C]
( 3,0) coordinate[label=below:N] (N) -- + (0,7);
path [name intersections=of=A and B, by=P,H]
node[above] at (P) P;
node[below right] at (H) H;
draw[densely dashed]
(P |- O) node[below] N --
(P) node[above] P;
% curve
coordinate (A) at (1,2); % start of curve
coordinate (B) at (6.2,7); % end of curve
draw [red, densely dotted, very thick, use Hobby shortcut]
([out angle=5, in angle=265] A) .. (P) .. (Q) .. (B);
% angles
pic [my angle=12mm/1.2, "$psi$"] angle = M--T--H;
pic [my angle=12mm/1.2, "$theta$"] angle = M--L--Q;
endtikzpicture
enddocument
edited 10 mins ago
answered 43 mins ago
Zarko
114k863151
114k863151
add a comment |Â
add a comment |Â
Huko is a new contributor. Be nice, and check out our Code of Conduct.
Huko is a new contributor. Be nice, and check out our Code of Conduct.
Huko is a new contributor. Be nice, and check out our Code of Conduct.
Huko is a new contributor. Be nice, and check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453161%2fcan-someone-help-me-draw-this%23new-answer', 'question_page');
);
Post as a guest
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
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
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
1
Welcome to TeX.SX! Please help us help you by providing a minimal compilable code example (MWE).
– TeXnician
4 hours ago
That's better, but it's not a minimal example: it must start with
documentclass
and end withenddocument
with the packages used– AndréC
4 hours ago
Almost certainly
– cmhughes
3 hours ago