VBForums - Maths Forum
http://www.vbforums.com/
By popular request, a place for you to discuss Maths of all forms. Somewhere to think about algorithms and the applications of maths to programming too.enSun, 25 Sep 2016 14:01:32 GMTvBulletin60http://www.vbforums.com/images/misc/rss.pngVBForums - Maths Forum
http://www.vbforums.com/
<![CDATA[[RESOLVED] Matrix Math VB.NET 2010]]>
http://www.vbforums.com/showthread.php?834897-RESOLVED-Matrix-Math-VB-NET-2010&goto=newpost
Mon, 05 Sep 2016 19:26:42 GMTHi All! I have a VB.NET form with a picture box on that reads CNC G code files and draws a tool path representation on a bitmap using the DrawLine method. The BM image is then transferred to the PB image. I want to rotate the graphics in 3D with the mouse to view the tool path in X, Y and Z. I have been reading up on 3D Matrix math as well as Matrix.RotationYawPitchRoll etc... but have no clue how it all works. Everything I've found in the forums and MSDN is, at least for me, vague. 3D Matrix math seems quite complexed. Before I go and buy a bunch of books on the subjects, I was woundering if I'm heading in the right direction? What would be the best and easiest way to approach this task? and could someone direct me to a good tutorial? Thanks for any help!
]]>Maths ForumDFPCNChttp://www.vbforums.com/showthread.php?834897-RESOLVED-Matrix-Math-VB-NET-2010Ratio Issue
http://www.vbforums.com/showthread.php?834541-Ratio-Issue&goto=newpost
Sun, 28 Aug 2016 17:34:18 GMTSuppose that I have a pool of fish that have a variety of attributes. Of the total in the pool, some percentage have attribute G.

All of the fish in the pool are tagged with either tag A (10%), tag B (40%), or tag C (50%). Furthermore, we know that G is not evenly distributed among the three tags. The distribution of G is like this: 70% are A tags, 30% are B tags, and 0% are C tags.

Now, if I take a sizeable random sample from this population, the number of tags should match the ratio at which they appear in the population, so the number of that sample that is G seems like it should be:

The second question is making things a bit more complicated. Suppose we know that only a portion of the fish are tagged, but that ALL of the G fish are tagged and tagged at the ratio mentioned above, and that the ONLY fish sampled are tagged fish, such that they come from the tagged pool and don't include any of the untagged fish.

As I write this, it seems like the exact same equation would be the right one. In this second scenario, it seems like the untagged fish can be ignored, because the sample is taken only from the tagged fish rather than the total population of fish.

Is that right?
]]>Maths ForumShaggy Hikerhttp://www.vbforums.com/showthread.php?834541-Ratio-Issue