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.enFri, 29 May 2015 00:01:56 GMTvBulletin60http://www.vbforums.com/images/misc/rss.pngVBForums - Maths Forum
http://www.vbforums.com/
shellsort and selectionsort code help
http://www.vbforums.com/showthread.php?795621-shellsort-and-selectionsort-code-help&goto=newpost
Sun, 10 May 2015 20:47:36 GMTHello guys, I'm new here and obviously I am a total Vb-newbie .. and i have a question. I'm trying to generate random numbers and then sort them. So I did the code for the 'random-generate'-stuff but now i wanna sort them with shellsort and Selectionsort. The sorted numbers should be shown Listboxes. Can you help me with the code for the two kinds of sorting? thanks
]]>Maths Forumduffman97http://www.vbforums.com/showthread.php?795621-shellsort-and-selectionsort-code-help<![CDATA[[RESOLVED] solving equation]]>
http://www.vbforums.com/showthread.php?795383-RESOLVED-solving-equation&goto=newpost
Thu, 07 May 2015 05:07:10 GMTI have an equation that I'm trying to solve:

y =- x²⁄16 + 21x⁄16 + 11⁄8

Multiply through by 16:
16y = -x² + 21x + 22

But that's as far as I can get.
I'd understand it if it was:

y = -x² + 21x + 22 = 0

But I'm not sure with 16y.

Can anyone explain how to simplify this equation?
Thanks for your help.
]]>Maths Forum.paul.http://www.vbforums.com/showthread.php?795383-RESOLVED-solving-equation