Showing posts with label math. Show all posts
Showing posts with label math. Show all posts

October 18, 2018

Frogs Everywhere

I think I've done more frogging than knitting the past couple of weeks. 

I can't say much because at least I'm now working on yarn crafting projects again.  Between the month of sewing I had to do this summer and some other miscellaneous stuff going on, I didn't really get back in the yarn crafting gear until the fall hit.

Sure, I did finish a pair of socks for my husband (finally, and without losing one this time!):



But the rest of the time since went like this:

  • Finish up the custom baby dress and write up the pattern (which, being a on the fly pattern, mostly involves trying to figure out how the heck you wrote down what you wrote when making the darn thing). 
  • Finally start an adult sweater to replace the one I been wearing so long I've had to darn both sleeves at the elbow (anyone remember when the work sweater was completed? It's been awhile; I can't say I'm surprised).
  • Realize that I could get a sweater done for NYS Sheep and Wool if I pick up the one I was designing and knitting two years ago and un-screw up the neckline idea. 
  • Get past the neckline, do another trim, then decide on another neckline trim to better match the other trim, redo the neckline.
  • Finally get to the sleeves, so I do the math for the sleeves, try to work the sleeves, realize sleeve doesn't fit, rip sleeve out, adjust and restart sleeve. Now sleeve is too big on cap but tight elsewhere, rip sleeve out, get peeved at sweater when as I'm not going to finish it in time for Sheep and Wool and have no clue how to actually mathematically calculate an afterthought sleeve.  I then banned sweater to the time-out corner for a couple of days. 
  • Decide that due to all the other crap that I should start a nice seed stitch cowl out of some soft yarn bought two years ago. Then I realized that the yarn is too thin to work for a good seed stitch cowl, so I surf patterns, don't like any of the patterns, get idea, try idea, rip idea out, try another idea, rip idea out, chart third idea, start idea, rip idea out, adjust chart, start idea, rip idea out, repeat two more times. I finally get an idea I'm mostly happy with off ground, but at this point I've created a time-consuming pattern for what was supposed to be an easy cowl. I resisted the urge to go find more yarn in the stash to do that seed stitch cowl.  Work on not-easy cowl on the subway for some reason.
  • Go back to sweater, figure out a way to recalculate the stupid sleeves, start sleeve again, get half way done, realize it's still screwed up, rip it out.  I then realize I was using the stitch gauge instead of the row gauge to calculate everything for the sleeve, not that my method didn't work. Recalculate using correct gauge and start sleeve again.
  • Decide to also work on getting baby dress pattern tech edited, tech editor finds first row has one stitch off of cast on, realize the one stitch off is because all the other calculations are screwed up and spend all night trying to figure out how the heck I managed to knit the thing in the first place.
  • Then decided that I should write this blog post instead of working on sleeve or anything else I decided to design or start at the same time.

I mean, it's probably a good thing that I've gotten my design groove back.  I'm looking forward to getting something out there given the time it's been since I've had actual time and inspiration to devote to this.  But why do I have to make it so hard on myself when I could just simply work on something already written or easy without struggling through all the frogs?  Then again, I write software as a day job.  It all involves sitting there and beating your head against the wall wondering why on earth you're doing this when what you did isn't working for the 5th time...until you figure it out, get something done, and feel accomplished and confident.  Then you're more than willing dive right back into another wall because it won't be as crazy this time...right?

And if I have to frog that cowl or the sleeves one more time, the yarn is shot and I won't know what to do with myself.  Probably ban it back to the timeout corner.

May 28, 2015

Lessons in Math, or the Things I Shouldn't Be Doing

EDIT 6/3/2015: made the rule more general and removed the assignment = sign because that's not math, that's a programming concept.
 
The sad part about having a thousand things to do that don't include this blog post is that very little yarn crafting gets done.  It doesn't help when you now have company on the train ride; it's not conducive to working on projects. But that's a whole different story.

This story is about what I've gotten done.  Mainly, about how I forgot how math works.

You see, when my knit group decided to do stuffed animals as its next "knit-along", I decided to do something slightly different and crochet a holy hand grenade instead[1]:


 As you can probably see, it's not my best effort.  I lost track of the beginning of the round in the sphere, didn't do invisible decreases, can't sew straight, and the cross on top was the bane of my existence. This is of course what happens when you buy the yarn and a crochet hook that's slightly too small for it on the fly and start the project on a bus.  Anyway, since I had to buy a full skein of the gold yarn for this project, and the grenade isn't that big as written, I ended up with most of a skein of gold yarn left.

So I decided to make a bigger, hopefully less screwed up, one.  But in my quest to do so, I failed math.  On the suggestion to make a grenade double the size, I immediately found a crochet sphere calculator (using my phone, on a bus...this seems to be a trend that ends badly) and doubled the maximum number of stitches which make up the equator of the sphere.

This doesn't double the size of the sphere, by the way:


It makes it way bigger than that.

You see, doubling the circumference of the great circle in the sphere does double one thing: the diameter of that circle. However, when we say 'size' what we're really referring to is the volume of the sphere; how much space it takes up. 

Doubling the diameter of a flat circle roughly quadruples the area of that circle.  Doubling the diameter of a sphere roughly multiplies the volume by eight. So the resulting sphere is eight times bigger, not two.  Oops.

What I should have done was double the volumn of the sphere.  Is there an easy way to do that in terms of equator size?  In order to figure out what the hell happened and how to do this on the top of my head, I did it the hard way first and did some math.

The original sphere was about 50 stitches around.  My gauge was 6st per inch.  So that give me about a 8.3in equator, or using the equation C=pi*2r, a 1.33in radius.

My 'doubled' sphere was therefore 100 stitches around. That gives me an 2.65in radius.

The volume of a sphere is V=(4/3)*pi*r^3.  That would make my 50 stitch sphere about 9.85in^3 in volume, and my 100 stitch sphere about 77.95in^3 in volume...as I said, about 8 times more.  But I wanted only double the volume...that is, I wanted a sphere about 19.7in^3 in volume.

19.7in^3 = (4/3)*pi*r^3 give me a radius of 1.675in, which gives me a circumference of 10.5in,which is about 2in more than my original circumference. At my gauge listed above, this would result in about 14 more stitches, but gauge changes so let's stay in inches.

This isn't the rule, by the way.  The rule actually turns out to be this: take the cube root of the multiplyer you wish to place on the sphere's volume (in my case, this is 2, so about 1.2599) * the circumference of your original sphere to get the circumference of a sphere with m*volume[2].  Let's write that in math: C(m) = cuberoot(m)*C.  That's how you change the size of a spherical item.

And people don't believe me when I tell them yarn craft is technical.

[1]My mom is convinced that now I'm on some watchlist due to the amount of bomb patterns I've been introduced to by doing this (there's a lot more on Ravelry than you'd think). Because this is the craziest thing I've looked at on the internet.

[2] I was having issues figuring this out on my own, so thanks to my boyfriend's WoW friends (particularly the one who is a mathematician) for taking up the problem and figuring the actual rule between volume and circumference out for me.

March 24, 2012

Knitting vs Crochet, Part 2: Does Crochet Really Take More Yarn? (Part 2)

Better late than never.  Click here for Part 1.

Changes
Since I overestimated by ability to keep the swatch size the same, I'm normalizing the height and width measurements by using square inches instead.  So, I'll get the amount of yarn used per square inch.  Easier that way anyway.

Also, since I'm not going by pure measurement, I didn't take pictures of all the swatches.  I did take this one to prove I did them though:



My gauges didn't come out the same either, though not very far off.  Again, since I'm using gauge to calculate the stitch width and height to get me the dimension of the stitch in square inches (I know, it's weird, but it lets me do the amount comparison) in order to get amount used per stitch, the gauge isn't a problem.  I was hoping for a more direct comparison, but oh well. 

I did do the garter stitch and double crochet swatches (which is why it took me so long).

Also, to state, I'm doing everything in inches.  Not standard, but that's what I did because I'm a stupid American who just realized her tape measure has centimeters on it.  Measurements are to 1/16 of an inch.

Results
My raw results are in this chart (sorry for the size...no real way to post this without it running off the page.  However, for integrity, I want to put my raw data here):


Stitch Used Tool Diameter Width (in) Height (in) Swatch Size (sq in) Stitch Gauge (/in) Row Gauge (/in) Stitch Width (in) Stitch Height (in) Stitch Size (sq in) # of Stitches in Sq. In. Length of Yarn Used (in) Amount of Yarn Used per Sq. In. (in) Yarn Used per Stitch (in)
DC 4.25mm 3.7500 2.2500 8.4375 4.5 3.0 0.2222 0.3333 0.0741 13.5000 312.3125 37.0148 2.7418
Garter 4.25mm 4.3750 2.0000 8.7500 5.0 10.0 0.2000 0.1000 0.0200 50.0000 341.6875 39.0500 0.7810
SC 4.25mm 3.7500 2.1875 8.2031 4.5 6.0 0.2222 0.1667 0.0370 27.0000 355.5625 43.3448 1.6054
St St 4.25mm 3.8125 2.3750 9.0547 5.5 7.5 0.1818 0.1333 0.0242 41.2500 297.2500 32.8283 0.7958
DC 5mm 3.8125 2.1250 8.1016 4.0 2.5 0.2500 0.4000 0.1000 10.0000 264.3750 32.6326 3.2633
Garter 5mm 4.2500 2.0000 8.5000 4.5 10.0 0.2222 0.1000 0.0222 45.0000 316.5000 37.2353 0.8275
SC 5mm 3.6875 2.1250 7.8359 4.0 5.0 0.2500 0.2000 0.0500 20.0000 306.0625 39.0588 1.9529
St St 5mm 3.7500 2.3750 8.9063 5.0 6.5 0.2000 0.1538 0.0308 32.5000 250.6250 28.1404 0.8659

To give my formulas:
  • Square Inches = W * H
  • Amount of yarn used per sq. in = [yarn used in whole swatch (in)]/[square inches of area used]
  • Stitch height/width = 1/[row gauge (for height)] or [1/stitch gauge (for width)].  This is because my gauges are all per 1 inch (if you, say, used 4 in for your gauge, it would be 4/[gauge measurement]...or, more explicitly: [gauge measurement]/[# in. for swatch] = 1 st / [x in] -> x = [# in. for swatch]/[gauge measurement])
  • Amount of yarn used per stitch = [amount of yarn used per square inch] / [the number of stitches in a square inch] (which is 1/[size of a stitch in square inches]).
Since that chart is large and pretty unreadable, I created these comparison table, one for amount of yarn used per sq. in. and one for amount used in a stitch.  They are both sorted min to max amount used:

Amount of Yarn Used per Sq. In. (in) Tool Diameter
Stitch Used 4.25mm 5mm
Stockinette Stitch 32.8283 28.1404
Double Crochet 37.0148 32.6326
Garter 39.0500 37.2353
Single Crochet 43.3448 39.0588






Yarn Used per Stitch (in) Tool Diameter
Stitch Used 4.25mm 5mm
Garter 0.7810 0.8275
Stockinette Stitch 0.7958 0.8659
Single Crochet 1.6054 1.9529
Double Crochet 2.7418 3.2633

There's a couple of things here I noticed right away.  The least apparent thing may be easier to see in this graph:


Can't see it?  I've added lines between the 4.25mm data points for on stitch and the 5mm for the next stitch:

Hm.  There's a relationship here. If you order the stitches from least to most yarn used, it shows that you can go to the next stitch, and the only thing you need to do is increase the needle/hook diameter to the next up size and you'll use around the same amount of yarn. And the stitch order staggers between knitting and crochet.  This itself is a nail in the coffin for the whole '3 times more yarn' myth.  I wonder if this trend holds out if you added more diameter sizes.  I really don't want to make up more swatches to find out, though.

On the other hand, to maybe, possibly, give some credence to those who say crochet takes up more yarn, look at the table for per stitch.  Yes, it turns out that both knitting stitches I looked at use less yarn per stitch than both crochet stitches. But then look at this table:


Stitch Size Tool Diameter
Stitch Used 4.25mm 5mm
Garter 0.0200 0.0222
Stockinette Stitch 0.0242 0.0308
Single Crochet 0.0370 0.0500
Double Crochet 0.0741 0.1000

Using the same order of stitches as the second table above, I created one with the stitches size in square inches.  So, yes, the knitting stitches take less yarn.  They also cover less area, which is what I figured. But this still doesn't settle why, when you look at square inches and not stitches, the order changes.  My guess is that the ratio of the area gained in the square inch to the amount of yarn used is not the same for each stitch, and that it would work out to be that the stitch that used the least yarn while covering the most area would be the one to use the least amount of yarn in a square inch.  I don't feel like doing that comparison.  It's not that important to this myth.

Anyway, to get back on track, we get to the final conclusion as seen in the first table (Yarn Used per Square Inch).  So, how much yarn does each craft take against the other?  It depends on the stitch you're using.  Using the same tool size:

Percentage of Yarn Used



Stitch Used Garter Stockinette Single Crochet Double Crochet
Garter 0.0000% 0.0016% -0.0011% 0.0005%
Stockinette Stitch -0.0019% 0.0000% -0.0032% -0.0013%
Single Crochet 0.0010% 0.0024% 0.0000% 0.0015%
Double Crochet -0.0005% 0.0011% -0.0017% 0.0000%

Table is read down, then across (so pick a stitch on the left hand side, then find the stitch to compare it to at the top, then find where they meet to find the percentage more of yarn the first took against the other.  If it's negative, it took less.

None of these are anywhere close to 3 times the amount. 

There's one more thing I do want to explore here, though.  Those saying that 'crochet takes more yarn' could claim is that, in reality, if a knitter and a crocheter were doing similar projects, they would pick completely different tool sizes.  And, most likely, the knitter would use a bigger tool than the crocheter (my guess based on my experience...if you can prove me wrong, let me know).  This is what I was trying to test with the 'same gauge' thing.  The problem is that the gauges aren't all that compatible between knitting and crocheting.  Should have known that. 

However, the data I do have shows that this argument doesn't work either.  Look at the first table again.  If, say, a knitter wanted to crochet something that would normally be in garter stitch and still use a similar amount of yarn, just change it to double crochet.  Going from garter to double crochet results in less yarn being used, and if you go down a tool size or two (which you would), it'll use close to the same amount of yarn.  Once again, it comes down to what you're doing in that craft.  The knitter could use less yarn and therefore get more out of the same yardage, but the crocheter could do so too.

Conclusion
Therefore...myth  BUSTED.  Crocheters aren't using up all your yarn.  Actually, you may be using more yarn than a crocheter, since it all depends on stitch and tool size chosen.  And even if the crocheter is using more yarn, they're NOT using anywhere close to 3 times as much.  So stop repeating this myth.