Hi All,
Quick question.
How can you find the x & y co-ordinates symbolically from having known slope & known area?
For example:-
If we know the area from the right angle triangle = 1400.
And the slope = 2/360*x.
then the answer is x = 720 & y = 4
But I am trying to setup a dynamic / Manipulate plot where I can adjust the slope.
And as I change the slope the x & y coordinates change according to the new slope value whilst maintaining the triangle area of 1400. Therefore I was wondering if you could show me the coding to symbolically set this up.
DynamicModule[
{m},
Manipulate[Show[
Plot[2/360*x, {x, 0, 1850}, Axes -> {True, True},
PlotRange -> {{0, 1850}, {0, 16}}],
Plot[m/360*x, {x, 0, 1850}, PlotStyle -> {Brown, Dashed},
Axes -> {True, True}, PlotRange -> {{0, 1850}, {0, 16}}],
ListPlot[{{{270, 1.5`}, {540, 3.`}, {810, 4.5`}, {1080,
6.`}, {1350, 7.5`}, {1620, 9.`}}, {{360, 2}, {720, 4}, {1080,
6}, {1440, 8}, {1800, 10}}}, PlotStyle -> {Red, Blue},
Filling -> Axis],
PlotLabel -> HoldForm["Plot of simple example AreaVsTime = degree"],
LabelStyle -> {GrayLevel[0]}, ImageSize -> 600,
GridLines -> {Table[i*360, {i, 10}], None},
GridLinesStyle -> Directive[Purple, Dashed, Thin],
Frame -> True, PlotRangePadding -> Scaled[0.02],
FrameTicks -> {{Table[i, {i, 0, 20, 2}],
Table[i, {i, 0, 15, 3}]}, {Table[i*360, {i, 10}],
Table[i*360, {i, 10}]}},
FrameTicksStyle -> {{Blue, Red}, {Blue, Purple}},
FrameStyle -> Directive[FontSize -> 7],
PerformanceGoal -> "Quality"]
, {{m, 3, "Slope adjustment"}, 0.5, 10}]]
Many thanks for your help & attention.
Best regards,
Lea…