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.enWed, 05 Aug 2015 10:27:08 GMTvBulletin60http://www.vbforums.com/images/misc/rss.pngVBForums - Maths Forum
http://www.vbforums.com/
help on computing scale
http://www.vbforums.com/showthread.php?801781-help-on-computing-scale&goto=newpost
Wed, 05 Aug 2015 05:35:32 GMTI have this actual picture with size width and height at 14x17 inches. In px @ 96 dpi, that is 1344x1632 then multiplied it by 35% and that is 470.4px x 571.2px for my fixed size of my image element.
Now I have this new picture with size 8 x 10 inches In px @ 96 dpi, that is 768x960. But I have a fixed sized of 470.4px x 571.2px for width and height.
Now I want to know what is the percentage of zoom factor where I can say that when I multiply 768 and 960, the result will be 470.40 and 571.20.
Maybe you will advice me, to divide 470.40 by 768 and 571.20 by 960, then add the result and divide that by 2 to get the average zoom factor. But I am not sure if that is the right computation.I have this actual picture with size width and height at 14x17 inches. In px @ 96 dpi, that is 1344x1632 then multiplied it by 35% and that is 470.4px x 571.2px for my fixed size of my image element.

Now I have this new picture with size 8 x 10 inches In px @ 96 dpi, that is 768x960. But I have a fixed sized of 470.4px x 571.2px for width and height.

Now I want to know what is the percentage of zoom factor where I can say that when I multiply 768 and 960, the result will be 470.40 and 571.20.

Maybe you will advice me, to divide 470.40 by 768 and 571.20 by 960, then add the result and divide that by 2 to get the average zoom factor. But I am not sure if that is the right computation.
]]>Maths Forumcodesearcherhttp://www.vbforums.com/showthread.php?801781-help-on-computing-scalePlotting scaled triangle
http://www.vbforums.com/showthread.php?799889-Plotting-scaled-triangle&goto=newpost
Wed, 08 Jul 2015 12:08:24 GMTI have a triangle where I know all 3 side lengths, and all three angles.
I need a method to plot all 3 points relative to each other and scaled so the triangle width is 250 pixels or the triangle height is 250 pixels, whichever is greater without either width or height exceeding 250 pixels.
The start point is irrelevant as I have a function to reposition the points to draw the triangle in a bitmap...

I'd appreciate any assistance with this.
]]>Maths Forum.paul.http://www.vbforums.com/showthread.php?799889-Plotting-scaled-triangle<![CDATA[[RESOLVED] Reaaranging expression]]>
http://www.vbforums.com/showthread.php?799763-RESOLVED-Reaaranging-expression&goto=newpost
Mon, 06 Jul 2015 16:53:50 GMTCan someone have a look through my workings and tell me whether it's correct?