Results 1 to 10 of 18

Hybrid View

  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
    The original Skolor and Gentileman. gugi's Avatar
    Join Date
    Aug 2007
    Posts
    17,430
    Thanked: 3919
    Blog Entries
    1

    Default

    Quote Originally Posted by Ben325e View Post
    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.
    Actually the change in the hypotenuse is a second order effect, so it's negligible, the errors of the actual measurement are much larger.
    The stretching of the tape can change the thickness significantly, so it is important to take a measurement with the actual tape on.



    In any case I can do any calculation in octave much faster than anybody can do it in excel (programming it is faster, the data entry is faster, and i'd speculate that the negligible amount of compute time is faster too). It's more portable than anything else too, as I can give you a simple ascii file and unless having to have to buy excell or download a free alternative that is compatible with your file, the octave program is downloadable for free and it much smaller than say open office.

    but since it is so efficient most people find the interface a bit too spartan to what they are used.

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

    Default

    Quote Originally Posted by gugi View Post
    since it is so efficient most people find the interface a bit too spartan to what they are used.
    doesn't that produce a less efficient result for those people who have trouble using it?
    Find me on SRP's official chat in ##srp on Freenode. Link is at top of SRP's homepage

  10. #10
    The original Skolor and Gentileman. gugi's Avatar
    Join Date
    Aug 2007
    Posts
    17,430
    Thanked: 3919
    Blog Entries
    1

    Default

    Quote Originally Posted by hoglahoo View Post
    doesn't that produce a less efficient result for those people who have trouble using it?
    yes, in the same way the cartridge razors are a lot more efficient for those who lack the skills to use something better.

Posting Permissions

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