Re: [Jprogramming] A plane rotation

2016-03-14 Thread Donald Kelly
stem on line AB in which A has coordinate 0 and B has coordinate 1. Forgive an old math teacher, Kip Murray On Friday, March 11, 2016, Donald Kelly wrote: > We are trying to do the same thing- where you concentrate on a point- > slope approach, I tend to a rotation of points -and there

Re: [Jprogramming] A plane rotation

2016-03-11 Thread Donald Kelly
We are trying to do the same thing- where you concentrate on a point- slope approach, I tend to a rotation of points -and there can be many- points on a shape or a curve. With this latest example I use the following. rotheta=:([:r.[)*] pts=:_1j0 0j1 1j2 ctr=:_1j1 ] s=:ctr+ (1r4p1) rotheta

Re: [Jprogramming] xkcd 356

2013-01-09 Thread Donald Kelly
In my opinion, in most cses computer solutions are much esier using nodal admittance methods once you select a node as a reference then it is very easy to set up an admittance matrix yii is the sum of admittances connected to node i from all nodes including the reference. yij=yji =-sum of admitt

Re: [Jprogramming] xkcd 356

2013-01-09 Thread Donald Kelly
This is the resistance between adjacent nodes. Up to today I couldn't handle non-adjacent nodes but have found what appears to be an elegant way to deal with it. This also assumes an infinite grid but would give good results for a grid which is large compared to the distance between the nodes un