Results 1 to 10 of 18
-
10-05-2009, 05:33 AM #1
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
gssixgunLast edited by gssixgun; 10-05-2009 at 07:51 PM.
-
10-05-2009, 01:48 PM #2
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.
-
10-05-2009, 06:10 PM #3
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.
-
10-05-2009, 06:45 PM #4
- Join Date
- Jan 2009
- Location
- Stay away stalker!
- Posts
- 4,578
- Blog Entries
- 1
Thanked: 1262Gugi is a computer. He does the calculations in his head.
-
10-05-2009, 06:55 PM #5
- Join Date
- Jun 2009
- Location
- On the beautiful St. Croix river
- Posts
- 228
Thanked: 51Damn, my grandson has hidden my abacus and slide rule.
-
10-05-2009, 07:06 PM #6
-
10-05-2009, 07:35 PM #7
- Join Date
- Aug 2006
- Location
- Maleny, Australia
- Posts
- 7,977
- Blog Entries
- 3
Thanked: 1587Why 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>
-
10-05-2009, 07:46 PM #8
- Join Date
- Apr 2007
- Location
- St. Paul, MN, USA
- Posts
- 2,401
Thanked: 335
-
10-05-2009, 07:47 PM #9
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-05-2009, 08:10 PM #10
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