<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7289312572784172746</id><updated>2011-04-21T17:51:36.668-07:00</updated><title type='text'>Geek Talk</title><subtitle type='html'>Programming, Math and Electronics</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-4775103098928216544</id><published>2008-06-20T22:42:00.000-07:00</published><updated>2008-06-20T22:51:28.198-07:00</updated><title type='text'>My New Laptop</title><content type='html'>In a few weeks i'll finally have enough money to buy a fancy new laptop!&lt;br /&gt;&lt;br /&gt;Features:&lt;br /&gt;&lt;br /&gt;   -   Intel Core 2 Duo T9300 processor (6MB cache, 2.5MHz)&lt;br /&gt;   -   17" Ultrasharp screen, 1900x1200 resolution with truelife (glossy)&lt;br /&gt;   -   320GB SATA HDD&lt;br /&gt;   -   256MB Nvidia 8600 GeForce graphics card&lt;br /&gt;   -   3GB RAM&lt;br /&gt;   -   All the software etc etc.&lt;br /&gt;   -   $2200 from my bank account&lt;br /&gt;&lt;br /&gt;Not to happy about the last part... &lt;br /&gt;&lt;br /&gt;Once i've got my laptop I think i'll save up for a mean desktop! &lt;br /&gt;&lt;br /&gt;The one good thing about about top of the line computers is that they are not even close to the cost of top of the line push bikes!  So you really feel like your getting value for money.&lt;br /&gt;&lt;br /&gt;Mark.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-4775103098928216544?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/4775103098928216544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=4775103098928216544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4775103098928216544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4775103098928216544'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/06/my-new-laptop.html' title='My New Laptop'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-6276258956347991897</id><published>2008-05-31T20:13:00.000-07:00</published><updated>2008-05-31T20:28:10.400-07:00</updated><title type='text'>Falling Down the Rabbit Hole</title><content type='html'>Many people run at the very thought of quantum physics, personally I love it.&lt;br /&gt;&lt;br /&gt;I've always been the type that likes to try and visualise what's going on around us.  I was scanning over youtube the other day and found a neat series of short clips from 'Dr. Quantum', its an animated old man in a cape, who very successfully explains some very complicated quantum topics (A simple youtube search will find the clips for you). &lt;br /&gt;&lt;br /&gt;I've messing around with XNA for a while now, and i'm at the point where I can begin working on my final year university project, a quantum astrophysics simulation engine.   The idea is that the user will be able to scroll around a 3D model of our solar system, and place all sorts of cool astro-disasters.  Ever wondered what would happen if our sun had enough mass to make a black hole?, what would happen to Earth if the moon hit us?&lt;br /&gt;&lt;br /&gt;It will also attempt to simulate a theoretical quantum perspective (only 2 of the possible infitite time dimensions though)&lt;br /&gt;&lt;br /&gt;XNA seems realitively straight forward compared to native DirectX, so the programming side (I hope) will not take more than a year.  The physics side... well I think i'm going to need some help from our superstar ex-spacerocket-builder lecturer for that one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anyway, it should be interesting, whether its too ambitious, well time will tell.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mark.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-6276258956347991897?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/6276258956347991897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=6276258956347991897' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/6276258956347991897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/6276258956347991897'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/05/falling-down-rabbit-hole.html' title='Falling Down the Rabbit Hole'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-3376546385252802154</id><published>2008-05-09T16:11:00.000-07:00</published><updated>2008-05-09T16:28:12.299-07:00</updated><title type='text'>Whoops</title><content type='html'>&lt;span style="color:#ffffff;"&gt;Prove that sin(j*x) = j*(sinh(x)):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is what I did:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;sin(j*x) = (e^j*x - e^-j*x) / 2*j&lt;br /&gt;j*(sinh(x)) = (e^x - e^-x) / 2&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Therefore:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;(e^j*x - e^-j*x) / 2*j = j*(e^x - e^-x) / 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Whoops... If your not shaking your head already:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;sin(j*x) = (e^jb - e^-jb) / 2j , where b = jx&lt;br /&gt;&lt;br /&gt;sin(j*x) = (e^j*(j*x) - e^-j*(j*x)) / 2*j&lt;br /&gt;&lt;br /&gt;sin(j*x) = (e^-x) - e^x)) / 2*j&lt;br /&gt;&lt;br /&gt;sin(j*x) = ((e^-x) - e^x)) / 2*j ) * (j/j)&lt;br /&gt;&lt;br /&gt;sin(j*x) = j*((e^-x - e^x)) / -2&lt;br /&gt;&lt;br /&gt;sin(j*x) = j*(e^x) - e^-x)) / 2*j &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-.-;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-3376546385252802154?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/3376546385252802154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=3376546385252802154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/3376546385252802154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/3376546385252802154'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/05/whoops.html' title='Whoops'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-5515721584350447934</id><published>2008-04-26T06:19:00.000-07:00</published><updated>2008-04-26T06:34:31.851-07:00</updated><title type='text'>Can you spot the error?</title><content type='html'>&lt;span style="color:#33cc00;"&gt;I was stuck on this problem for not 1, not 2 but 3 nights!&lt;br /&gt;&lt;br /&gt;... Can you spot the stupid error I made?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33ccff;"&gt;Problem:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;Let w = 2000&lt;br /&gt;V = 6VL = 0.2H&lt;br /&gt;R = 400&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Given the differential equation L*(di/dt) + R*i = V*cos(w*t) &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Find i(t). - The above equation is true for t &gt; 0&lt;br /&gt;&lt;br /&gt;NOTE: When im integrating ive used the '!' symbol&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33ccff;"&gt;For the transient part:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;-&gt; 0.2*(di/dt) + 400*i = 6*cos(w*t)&lt;br /&gt;-&gt; (di/dt) + 2000*i = 30*cos(w*t)&lt;br /&gt;-&gt; di/dt + 2000*i = 0&lt;br /&gt;-&gt; di = -2000*i*dt&lt;br /&gt;-&gt; !(1/i)*di = !-2000*dt&lt;br /&gt;-&gt; ln(i) = -2000t + c&lt;br /&gt;-&gt; i(transient) = e^(-2000t)*e^c &lt;em&gt;(Let e^c = A (a constant))&lt;/em&gt;&lt;br /&gt;-&gt; i(transient) = A*e^-2000t&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33ccff;"&gt;For the steady state part:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Ohms law states that the current i = V/Z, where V is voltage, and Z is impedance.&lt;br /&gt;So, V = 6&gt;0 V. The '&gt;' is the polar form (or phasor some might know it as) representation of the complex angle associated with the voltage, so 6V, 0 angle.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;Z = R + j*w*L&lt;br /&gt;Z = 400 + j*2000*0.2&lt;br /&gt;Z = 400 + j400Z = 565.685&gt;0.785 &lt;em&gt;(all angles are in radians)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;-&gt; i = V/Z-&gt; i = 6&gt;0 / 565.685&gt;0.785&lt;br /&gt;-&gt; i = 10.61&gt;-0.785 mA&lt;br /&gt;-&gt; i(steady state) = 10.61*sin(w*t - 0.785) mA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#33ccff;"&gt;&lt;strong&gt;To derrive i(t):&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;-&gt; i(t) = i(steady state) + i(transient)&lt;br /&gt;-&gt; i(t) = A*e^-2000t + 10.61*sin(w*t - 0.785) mA&lt;/span&gt;&lt;span style="color:#3366ff;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To find A make t = 0&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffffff;"&gt;-&gt; i(0) = A(1) + (10.61*10^-3)*sin(-0.785)&lt;br /&gt;-&gt; 0 = A - 7.5*10^-3&lt;br /&gt;-&gt; A = 7.5*10^-3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So the final equation for i(t) is&lt;strong&gt;:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ffffff;"&gt;-7.5*e^-2000t + 10.61*sin(w*t - 0.785) mA&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Trialling this solution by substitution does not satisfy the equation!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-5515721584350447934?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/5515721584350447934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=5515721584350447934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/5515721584350447934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/5515721584350447934'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/04/can-you-spot-error.html' title='Can you spot the error?'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-5603958474823406357</id><published>2008-03-27T16:10:00.001-07:00</published><updated>2008-03-27T16:20:15.004-07:00</updated><title type='text'>Delegates</title><content type='html'>This has always been a topic that I have never quite grasped.&lt;br /&gt;I learnt yet another cool trick with delegates that other day though!&lt;br /&gt;&lt;br /&gt;You can start a new thread as below:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#3366ff;"&gt;Thread&lt;/span&gt; &lt;span style="color:#33ff33;"&gt;thread =&lt;/span&gt; &lt;span style="color:#66ffff;"&gt;new&lt;/span&gt; &lt;span style="color:#3366ff;"&gt;Thread&lt;/span&gt;&lt;span style="color:#33ff33;"&gt;(&lt;/span&gt;&lt;span style="color:#66ffff;"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#33ff33;"&gt;.Test);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#33ffff;"&gt;private void&lt;/span&gt; &lt;/span&gt;&lt;span style="color:#33ff33;"&gt;Test()&lt;br /&gt;{&lt;br /&gt;// do stuff&lt;br /&gt;} &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But you can also do it like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Thread&lt;/span&gt; &lt;span style="color:#33ff33;"&gt;thread&lt;/span&gt; &lt;span style="color:#33ff33;"&gt;=&lt;/span&gt; &lt;span style="color:#66ffff;"&gt;new&lt;/span&gt; &lt;span style="color:#3366ff;"&gt;Thread&lt;/span&gt;&lt;span style="color:#33ff33;"&gt;(&lt;/span&gt;&lt;span style="color:#66ffff;"&gt;delegate&lt;/span&gt;&lt;span style="color:#33ff33;"&gt;()&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33ff33;"&gt;{&lt;br /&gt;// do stuff&lt;br /&gt;}&lt;br /&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cool... :-).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-5603958474823406357?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/5603958474823406357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=5603958474823406357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/5603958474823406357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/5603958474823406357'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/03/delegates.html' title='Delegates'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-4589955078664891012</id><published>2008-03-21T18:00:00.000-07:00</published><updated>2008-03-21T18:01:01.411-07:00</updated><title type='text'>Dragonball - The Movie</title><content type='html'>Need I say more?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.imdb.com/title/tt1098327/"&gt;http://www.imdb.com/title/tt1098327/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-4589955078664891012?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/4589955078664891012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=4589955078664891012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4589955078664891012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4589955078664891012'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/03/dragonball-movie.html' title='Dragonball - The Movie'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-7885366676583863536</id><published>2008-03-12T23:20:00.001-07:00</published><updated>2008-03-12T23:30:29.914-07:00</updated><title type='text'>You can make 1 = 2... Wrong</title><content type='html'>A few people may have seen this video: &lt;a href="http://www.youtube.com/watch?v=cqj5Qrxd5M0"&gt;http://www.youtube.com/watch?v=cqj5Qrxd5M0&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just to clear it up, you cannot make 1 = 2!&lt;br /&gt;&lt;br /&gt;The working is as follows...&lt;br /&gt;&lt;br /&gt;a = b&lt;br /&gt;&lt;br /&gt;a + a = b + a&lt;br /&gt;&lt;br /&gt;2a = b + a&lt;br /&gt;&lt;br /&gt;2a - 2b = b + a - 2b&lt;br /&gt;&lt;br /&gt;2(a - b) = a - b ---&gt; (it's still correct here...)&lt;br /&gt;&lt;br /&gt;Now the idiot that wrote this working claims that you can divide both sides by (a -b), and be left with 2 = 1.&lt;br /&gt;&lt;br /&gt;Ok great, what he failed to mention is that if a = b, a - b must equal 0. This means he is saying (2(0))/0 = (0)/(0). You can't divide by zero so this is invalid math.&lt;br /&gt;&lt;br /&gt;I'm sure a few people's hearts skipped a beat when they first saw this though. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-7885366676583863536?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/7885366676583863536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=7885366676583863536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/7885366676583863536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/7885366676583863536'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/03/you-can-make-1-2-wrong.html' title='You can make 1 = 2... Wrong'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-4266482777391129657</id><published>2008-03-12T23:06:00.000-07:00</published><updated>2008-11-13T05:28:20.622-08:00</updated><title type='text'>The Perfect Assignment - Or Not...</title><content type='html'>After completing my math assignment the other night I remembered a simple rule that I had completely forgotten, which I'm going to post here so I don't forget again...&lt;br /&gt;&lt;br /&gt;Most people who can do math know about the trigometric quadrant chart below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5177104678922565490" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_C9wbmnwUEmc/R9jFRqgxN3I/AAAAAAAAABo/hD8WloSDDZQ/s400/four-quadrants.gif" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;I was given the equation v = Asin(wt) - Bcos(wt), and asked to convert it to v = Rsin(wt + 0) form.&lt;br /&gt;&lt;br /&gt;Now I knew that R must equal the root of (A^2 + B^2), and 0 must be tan^-1(B/A).&lt;br /&gt;&lt;br /&gt;However, most of you will know that the angle can be the calculated value above, or the above value + pi. What I overlooked was that a positive sin and negative cos in the initial equation does not mean the angle is in the second quadrant.&lt;br /&gt;&lt;br /&gt;v = Asin(wt) - Bcos(wt) can be written as cos(wt).sin(wt) - sin(wt).cos(wt), so A must equal cos(wt), and B must equal -sin(wt).&lt;br /&gt;&lt;br /&gt;tan^-1(B/A) can therfore be written as tan^-1(-sin(wt)/cos(wt).&lt;br /&gt;&lt;br /&gt;This means that the sin value is infact negative and cos value is positive, placing the angle in the 4th quadrant.&lt;br /&gt;&lt;br /&gt;There goes 15 marks :-(.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-4266482777391129657?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/4266482777391129657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=4266482777391129657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4266482777391129657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4266482777391129657'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/03/perfect-assignment-or-not.html' title='The Perfect Assignment - Or Not...'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_C9wbmnwUEmc/R9jFRqgxN3I/AAAAAAAAABo/hD8WloSDDZQ/s72-c/four-quadrants.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-396056087101087607</id><published>2008-03-12T01:06:00.000-07:00</published><updated>2008-03-12T01:15:14.105-07:00</updated><title type='text'>The Zerg!</title><content type='html'>Blizzard have finally released the first glimpse of the Zerg for their upcoming game Starcraft 2.&lt;br /&gt;&lt;br /&gt;For those that know me, you all know that I'm a massive Blizzard fan (except for WOW - which I hate more than anything else...).&lt;br /&gt;&lt;br /&gt;I'm looking forward to the games' release!&lt;br /&gt;&lt;br /&gt;Check it all out at &lt;a href="http://www.starcraft2.com/features/zerg/"&gt;http://www.starcraft2.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-396056087101087607?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/396056087101087607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=396056087101087607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/396056087101087607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/396056087101087607'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/03/zerg.html' title='The Zerg!'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-1166528729072435910</id><published>2008-02-29T14:36:00.001-08:00</published><updated>2008-02-29T14:46:52.575-08:00</updated><title type='text'>Osbourne's Rule</title><content type='html'>I came about an interesting rule the other day for converting a trigometric function into a hyperbolic.&lt;br /&gt;&lt;br /&gt;You can take some trigometric functions such as:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#66ff99;"&gt;&lt;strong&gt;i ) sin(A+B) = sinA.cosB + cosA.sinB&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ii) cos(A+B) = cosA.cosB - sinA.sinB&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;from here, if there is a sin.sin then the sign changes. Otherwise its exactly the same.&lt;br /&gt;&lt;br /&gt;So the above become:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#66ff99;"&gt;&lt;strong&gt;i) sinh(A+B) = sinhA.coshB + coshA.sinhB&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ii) cosh(A+B) = sinhA.coshB + sinhA.sinhB&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This might be a simple math rule to most, but in the past I had always found the functions by substituting their exponential equivalents in, and re-arrganging.&lt;br /&gt;&lt;br /&gt;This makes things alot simpler&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-1166528729072435910?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/1166528729072435910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=1166528729072435910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/1166528729072435910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/1166528729072435910'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/02/osbourne.html' title='Osbourne&apos;s Rule'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-9135334017239588079</id><published>2008-02-26T20:05:00.001-08:00</published><updated>2008-11-13T05:28:20.780-08:00</updated><title type='text'>AlphaC Framework</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_C9wbmnwUEmc/R8TtrzL7j5I/AAAAAAAAABQ/Mw-MvkGJV5U/s1600-h/Logo.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5171519608858578834" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_C9wbmnwUEmc/R8TtrzL7j5I/AAAAAAAAABQ/Mw-MvkGJV5U/s400/Logo.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Im pleased to announce that I will be building the first (known) RTS graphics engine built on the XNA framework.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I am putting alot of effort into adding a dynamic unit testing suite, which will save massive amounts of testing time for anyone wishing to build a visually appealling 3D RTS game.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;More details to follow.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-9135334017239588079?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/9135334017239588079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=9135334017239588079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/9135334017239588079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/9135334017239588079'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/02/alphac-framework.html' title='AlphaC Framework'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_C9wbmnwUEmc/R8TtrzL7j5I/AAAAAAAAABQ/Mw-MvkGJV5U/s72-c/Logo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-7346465954890349287</id><published>2008-02-26T01:20:00.000-08:00</published><updated>2008-03-12T01:05:48.961-07:00</updated><title type='text'>Reflector</title><content type='html'>If you don't have this program, download it... now!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.aisto.com/roeder/dotnet/"&gt;http://www.aisto.com/roeder/dotnet/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's remarkable.&lt;br /&gt;&lt;br /&gt;It allows you to &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;disassemble&lt;/span&gt; a .NET assembly and view it's internal coding. Very handy if you want to see what makes the .NET framework tick (or any other .NET assembly).&lt;br /&gt;&lt;br /&gt;It also allows you to view the code in several different &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;languages&lt;/span&gt;. I find it very handy for translating from C# to C++.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-7346465954890349287?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/7346465954890349287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=7346465954890349287' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/7346465954890349287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/7346465954890349287'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/02/reflector.html' title='Reflector'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-4061567556828036627</id><published>2008-02-26T01:10:00.001-08:00</published><updated>2008-02-26T10:38:37.380-08:00</updated><title type='text'>Matrices and Transforms</title><content type='html'>Over the course of the summer I have been experimenting with 3D model transforms (moving a model in 3D space). It has really been interesting, as the concept is so simple!&lt;br /&gt;&lt;br /&gt;You can describe a model's location in space by using a series of matrices. You can have a matrix for rotation, position, scale. You can then simply multiply these all together with an &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;identity&lt;/span&gt; matrix and presto!, you have the model transformation!&lt;br /&gt;&lt;br /&gt;So all you need to do is create a series of properties in your model class which return a matrix for each of the above, then when the model render phase is called, you can multiply the returned property values together to set the transform for the model.&lt;br /&gt;&lt;br /&gt;The best thing about this method is you can use it to control the camera movement as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-4061567556828036627?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://geektalk-dummu.blogspot.com/feeds/4061567556828036627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7289312572784172746&amp;postID=4061567556828036627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4061567556828036627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/4061567556828036627'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/02/matrices-and-transforms.html' title='Matrices and Transforms'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7289312572784172746.post-8484862081694329512</id><published>2008-02-25T17:27:00.000-08:00</published><updated>2008-02-25T17:30:35.397-08:00</updated><title type='text'>Welcome to my Blog!</title><content type='html'>In order to conform with all other geeks, I thought I might start up a blog.&lt;br /&gt;&lt;br /&gt;I'll aim to post my experiences while building my first RTS graphics engine, and other university related topics.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mark.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7289312572784172746-8484862081694329512?l=geektalk-dummu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/8484862081694329512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7289312572784172746/posts/default/8484862081694329512'/><link rel='alternate' type='text/html' href='http://geektalk-dummu.blogspot.com/2008/02/welcome-to-my-blog.html' title='Welcome to my Blog!'/><author><name>Mark Brock</name><uri>http://www.blogger.com/profile/13708631887745002849</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
