topic Re: Projectile Motion/Mathscript in LabVIEW
https://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3792619#M1069995
<BLOCKQUOTE><HR /><LI-USER uid="591926"></LI-USER> wrote:<BR />
<P>Here's what I ended up with.</P>
<P> </P>
<P>Hope it helps</P>
<P>-Hec</P>
<HR /></BLOCKQUOTE>
<P>As Bob_Schor said, this is a LabVIEW forum. Here is how the equation would look using native LabVIEW functions.</P>
<P> </P>
<P>Since I'm probably doing someone's homework for them, I am only posting a picture of the Block Diagram. So you will have to do a little work on your own to create the VI. </P>
<P> </P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Equation.JPG" style="width: 868px;"><img src="https://forums.ni.com/t5/image/serverpage/image-id/228003iB4EFCA570959DEB3/image-size/large?v=v2&px=999" role="button" title="Equation.JPG" alt="Equation.JPG" /></span></P>Mon, 14 May 2018 16:41:02 GMTjamiva2018-05-14T16:41:02ZProjectile Motion/Mathscript
https://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3783494#M1066805
<P>I am trying to make a program in which the physics of a projectile can be reflected on an xy graph, but my graph is not truly reflecting the outcome of the equation. Attached you will find my vi.</P>
<P> </P>
<P>the equation is R = V^2/(2*g) [ sin(2*theta) + sqrt( sin^2(2*theta) + 8*g*h*cos^2(theta)/v^2)]</P>Thu, 19 Apr 2018 21:25:34 GMThttps://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3783494#M1066805ebarrios952018-04-19T21:25:34ZRe: Projectile Motion/Mathscript
https://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3783967#M1066954
<P>ebarrios95</P>
<P> </P>
<P>What specifically does it mean that it is not reflecting the outcome?</P>
<P> </P>
<P>What is this application for?</P>Fri, 20 Apr 2018 19:34:21 GMThttps://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3783967#M1066954Dane.S2018-04-20T19:34:21ZRe: Projectile Motion/Mathscript
https://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3784835#M1067245
<P>This is a LabVIEW Forum. Stop thinking about MatLab, eschew Mathscript. </P>
<P> </P>
<P>You have an equation with variables R (undefined), V (also undefined), g (assumed to be the acceleration due to gravity at the Earth's surface), theta (undefined), and h (undefined). I:n usual math/physics notation, R and theta are polar coordinates. You talk about an X-Y Graph, but there are no X nor Y. You are talking about a projectile, so I'm assuming that time is involved -- is "time" in your equation? What is the difference between V (undefined) and v (also undefined)?</P>
<P> </P>
<P> </P>
<P>You need to formulate your problem more carefully. You probably want to let "t" (time) run from 0 to some final time (how will you calculate the final time?). You probably want the total time to be divided into N equal (time) intervals. How many times does that require? [Hint -- the answer is not N]. What LabVIEW Structure is ideal for generating the (however many different times you need)? [Hint -- it is not the Framed Sequence].</P>
<P> </P>
<P>Bob Schor</P>Tue, 24 Apr 2018 01:17:42 GMThttps://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3784835#M1067245Bob_Schor2018-04-24T01:17:42ZRe: Projectile Motion/Mathscript
https://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3792529#M1069965
<P>Here's what I ended up with.</P>
<P> </P>
<P>Hope it helps</P>
<P>-Hec</P>Mon, 14 May 2018 14:01:35 GMThttps://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3792529#M1069965Hecnev2018-05-14T14:01:35ZRe: Projectile Motion/Mathscript
https://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3792619#M1069995
<BLOCKQUOTE><HR /><LI-USER uid="591926"></LI-USER> wrote:<BR />
<P>Here's what I ended up with.</P>
<P> </P>
<P>Hope it helps</P>
<P>-Hec</P>
<HR /></BLOCKQUOTE>
<P>As Bob_Schor said, this is a LabVIEW forum. Here is how the equation would look using native LabVIEW functions.</P>
<P> </P>
<P>Since I'm probably doing someone's homework for them, I am only posting a picture of the Block Diagram. So you will have to do a little work on your own to create the VI. </P>
<P> </P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Equation.JPG" style="width: 868px;"><img src="https://forums.ni.com/t5/image/serverpage/image-id/228003iB4EFCA570959DEB3/image-size/large?v=v2&px=999" role="button" title="Equation.JPG" alt="Equation.JPG" /></span></P>Mon, 14 May 2018 16:41:02 GMThttps://forums.ni.com/t5/LabVIEW/Projectile-Motion-Mathscript/m-p/3792619#M1069995jamiva2018-05-14T16:41:02Z