Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Senior Member khaos's Avatar
    Join Date
    Mar 2009
    Location
    Ithaca NY
    Posts
    1,752
    Thanked: 160

    Default Higher Mathmatics !!! about the Razor angle...

    Is Gugi/are you (perspective is a bitch) using matlab to do the razor angle compilation?



    Note: This is a split from the data collection thread on razor angle here : http://straightrazorpalace.com/razor...zor-angle.html

    Thanks
    gssixgun
    Last edited by gssixgun; 10-05-2009 at 07:51 PM.

  2. #2
    yeehaw. Ben325e's Avatar
    Join Date
    Jul 2008
    Location
    Greenville NC
    Posts
    512
    Thanked: 213

    Default

    Quote Originally Posted by khaos View Post
    Is Gugi/are you (perspective is a bitch) using matlab?
    Matlab is great for lots of things, but to keep track of all the individual data, My money is on an Excel (or similar) spreadsheet. People don't give Excel enough credit for analyzing data. It has powerful enough math features to handle this kind of thing with ease.


    Here is a post from the "my bevel angle calculations" thread. This formula gives an accurate representation of the bevel angle with multiple layers of tape, one layer of tape, or no tape at all.

    x = spine width
    y = distance from spine/hone contact point to tip of bevel with no tape on spine
    n = number of tape layers
    t = thickness of tape
    Θ = total bevel angle °


    total bevel angle:

    Θ = 2{arctan[(.5x + nt)/{ycos(arcsin{.5x/y})}]}

    arcsin(.5x/y) gets you the angle on one side of the bevel, then y times cosine of the resultant angle gets you the width of the razor that I was formerly calling w.

    This allows for w to remain constant no matter how many layers of tape are added, eliminating the need to 1.) remeasure the hypotenuse every time you add a layer of tape, and 2.) measure w (acutal razor width) initially, which could be difficult to do accurately.

  3. #3
    Senior Member khaos's Avatar
    Join Date
    Mar 2009
    Location
    Ithaca NY
    Posts
    1,752
    Thanked: 160

    Default

    Well, if one were to create a couple of vectors in matlab, its simple enough to add in a loop to extend them when adding data points. It can then make a chart out of them just like excel can. The difference being in matlab you can personalise it a lot more. Excel everything has to be set up just right...

    Also noticed you are taking a cos of an arcsin? why? sin=a/c so cos would be sqrt(c^2-a^2)/c... in this situation cos()= y^2-.25x^2/y, and ycos() would then be... y^2-.25x^2 which is a lot simpler than that whole job there...
    Last edited by khaos; 10-05-2009 at 06:45 PM.

  4. #4
    I shave with a spoon on a stick. Slartibartfast's Avatar
    Join Date
    Jan 2009
    Location
    Stay away stalker!
    Posts
    4,578
    Thanked: 1262
    Blog Entries
    1

    Default

    Gugi is a computer. He does the calculations in his head.

  5. #5
    Razor honing maniac turbine712's Avatar
    Join Date
    Jun 2009
    Location
    On the beautiful St. Croix river
    Posts
    228
    Thanked: 51

    Default

    Damn, my grandson has hidden my abacus and slide rule.

  6. #6
    Ravenous Bugblatter Beast radaddict's Avatar
    Join Date
    Aug 2007
    Location
    North Carolina
    Posts
    181
    Thanked: 28

    Default

    Quote Originally Posted by Slartibartfast View Post
    Gugi is a computer. He does the calculations in his head.
    I'm math challenged. I find an on-line calculator for determining the angle. Or do it the old fashioned way - plot it out on paper and use a protractor.

  7. #7
    There is no charge for Awesomeness Jimbo's Avatar
    Join Date
    Aug 2006
    Location
    Maleny, Australia
    Posts
    7,977
    Thanked: 1587
    Blog Entries
    3

    Default

    Why would you even consider proprietary software when you can use R? R is free, does vectorised calculations without the need for time-intensive looping (if you are clever enough), and creates fully customisable publication-quality graphics (allowing latex-like syntax for symbolic axis labels and plot titles). It even allows output to be directly exported into latex via Sweave.

    Furthermore, given that by default the data collected in the present case is by necessity a sample from the population of all straight razors, if the need arises in the future to infer relationships or parameters from the general population, R allows stochastic non-linear modelling using state-of-the-art optimisation algorithms (ranging from the tried and true Quasi-Newton - based procedures, newton-raphson, through to genetic algorithms, simulated annealing etc) . If that proves insufficient (which is highly unlikely in the present case), R allows you to write your own code in Fortran, C, or C++, and interface that back into the integrated environment via pointer referencing (in the case of the C-like languages). It is also, in and of itself, an object-oriented programming language with a C-like structure, so you may take advantage of the plethora of pre-written code upon which the many inbuilt R functions are based.

    Matlab, Excel........ Don't make me laugh!!!

    James.
    <This signature intentionally left blank>

  8. #8
    Senior Member blabbermouth
    Join Date
    Apr 2007
    Location
    St. Paul, MN, USA
    Posts
    2,401
    Thanked: 335

    Question

    Quote Originally Posted by Jimbo View Post
    Why would you even consider proprietary software when you can use R? R is free, does vectorised calculations without the need for time-intensive looping (if you are clever enough), and creates fully customisable publication-quality graphics (allowing latex-like syntax for symbolic axis labels and plot titles). It even allows output to be directly exported into latex via Sweave.

    Furthermore, given that by default the data collected in the present case is by necessity a sample from the population of all straight razors, if the need arises in the future to infer relationships or parameters from the general population, R allows stochastic non-linear modelling using state-of-the-art optimisation algorithms (ranging from the tried and true Quasi-Newton - based procedures, newton-raphson, through to genetic algorithms, simulated annealing etc) . If that proves insufficient (which is highly unlikely in the present case), R allows you to write your own code in Fortran, C, or C++, and interface that back into the integrated environment via pointer referencing (in the case of the C-like languages). It is also, in and of itself, an object-oriented programming language with a C-like structure, so you may take advantage of the plethora of pre-written code upon which the many inbuilt R functions are based.

    James.
    Huh? No, really, sounds good to me. Huh?


  9. #9
    Senior Member khaos's Avatar
    Join Date
    Mar 2009
    Location
    Ithaca NY
    Posts
    1,752
    Thanked: 160

    Default

    I suggested matlab because it is basically a cross between a program itself and a programming language, so it is simpler that writing your own code but easier to customize than Excel. If you really wanted to you could just drop down and do it in Java or some variant of C, but then you're getting into actual programming which is a bother in itself.

    Also one doesn't have to loop in matlab. I forget the exact syntax but if X is a vector can't one simply say X=X+Xnew?

    When one has honing angle vector A and some X variable (width seems most appropriate) you do a lot of things very simply, then just add to it.
    While these simple things are essentially the same as you could accomplish in excel, you would have more control over it.

  10. #10
    Never a dull moment hoglahoo's Avatar
    Join Date
    Feb 2008
    Location
    Tulsa, OK
    Posts
    8,922
    Thanked: 1501
    Blog Entries
    1

    Default

    I can estimate the bevel angle to three one thousandths of a degree just by eyeballing it. don't believe me? http://straightrazorpalace.com/conve...ling-game.html
    Find me on SRP's official chat in ##srp on Freenode. Link is at top of SRP's homepage

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •