<?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-1264025783776719002</id><updated>2011-08-01T06:22:53.133-07:00</updated><category term='sin'/><category term='circumference'/><category term='facebook'/><category term='econ'/><category term='hyperbolic'/><category term='recession'/><category term='therom'/><category term='argand'/><category term='pythagoras'/><category term='3d'/><category term='pi'/><category term='maths'/><category term='cos'/><category term='inverse'/><category term='cosine rule'/><category term='tutorial'/><category term='area'/><category term='inflation'/><category term='graphics'/><category term='program'/><category term='functions'/><category term='application'/><category term='tan'/><category term='arcsine'/><category term='proof'/><category term='imaginary numbers'/><category term='geometry'/><category term='multiplication'/><category term='algebra'/><category term='economics'/><category term='c++ calculator'/><category term='sin rule'/><category term='cos rule'/><category term='matrix'/><category term='comples numbers'/><category term='base rate'/><category term='unemployment'/><category term='quadratics'/><category term='maths help'/><category term='woolworths'/><category term='circle'/><category term='physics'/><category term='trigonometry'/><category term='differentiation'/><category term='factorising'/><category term='identities'/><category term='sine rule'/><category term='computing'/><title type='text'>Breakingwave</title><subtitle type='html'>Maths tutorials and programs explaining areas of A level and GCSE maths.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1264025783776719002.post-4161575008703631281</id><published>2009-01-22T07:16:00.001-08:00</published><updated>2009-01-22T07:16:27.706-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='algebra'/><category scheme='http://www.blogger.com/atom/ns#' term='physics'/><title type='text'>Equations of Motion</title><content type='html'>&lt;p align="left"&gt;The 4 equations of motion deal with an object which is travelling with constant acceleration (which can be 0 and therefore constant speed).&lt;/p&gt;  &lt;p&gt;The equations are as follows:&lt;/p&gt;  &lt;p&gt;(1) v = u + at    &lt;br /&gt;(2) s= t(v+u)/2     &lt;br /&gt;(3) v&lt;sup&gt;2&lt;/sup&gt;=u&lt;sup&gt;2&lt;/sup&gt;+2as     &lt;br /&gt;(4) s = ut + at&lt;sup&gt;2&lt;/sup&gt;/2&lt;/p&gt;  &lt;p&gt;Where    &lt;br /&gt;a = acceleration – this must be constant for equations to hold     &lt;br /&gt;u = initial velocity, ie at the start of the journey     &lt;br /&gt;v = final velocity, ie at the end of the journey     &lt;br /&gt;s = displacement which is a vector quantity for the distance of the object from its starting point     &lt;br /&gt;t = time taken for journey     &lt;br /&gt;Any of these values can be found using the equations if at least 3 of the other values are known.&lt;/p&gt;  &lt;p&gt;Equation (1) comes from the definition of acceleration as acceleration is the rate of change of velocity and therefore for constant acceleration    &lt;br /&gt;a = (v-u)/t which you can rearrange to make     &lt;br /&gt;v = u + at&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_KL8e4oxjxbw/SXiNxsHtTuI/AAAAAAAAAB0/JvR5PWMDCjo/s1600-h/vtgraph%5B14%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="velocity time graph" border="0" alt="velocity time graph" src="http://lh3.ggpht.com/_KL8e4oxjxbw/SXiNyJV6FcI/AAAAAAAAAB4/98_Jl8KfbmQ/vtgraph_thumb%5B12%5D.jpg?imgmax=800" width="397" height="228" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Equation 2 can be found by either considering a distance time graph or using the average speed. (v+u)/2 gives the average speed during the journey as a is constant and buy multiplying this by t we find the displacement. Or from the graph we can find it as the area under the graph is a trapezium of height t and sides u and v so using the area of a trapezium formulae we find 2.&lt;/p&gt;  &lt;p&gt;Equation (4) can be formed by substituting 1 into 2 so    &lt;br /&gt;s = t(u+at+u)/2     &lt;br /&gt;s = t(2u + at)/2     &lt;br /&gt;s= 2ut/2 + at&lt;sup&gt;2&lt;/sup&gt;/2     &lt;br /&gt;s = ut + at&lt;sup&gt;2&lt;/sup&gt;/2&lt;/p&gt;  &lt;p&gt;Equations 3 can also be found using 1 and 2 by rearranging 2 to get an expression for t we find    &lt;br /&gt;t=2s/(u+v)&lt;/p&gt;  &lt;p&gt;If we substitute this into v = u+at we get    &lt;br /&gt;v=u+2as/(v+u)     &lt;br /&gt;And by bringing up the v+u we find     &lt;br /&gt;v&lt;sup&gt;2&lt;/sup&gt;+vu = u&lt;sup&gt;2&lt;/sup&gt;+vu + 2as     &lt;br /&gt;And because we have vu on both sides we can cancel these to find 3&lt;/p&gt;  &lt;p&gt;v&lt;sup&gt;2&lt;/sup&gt;=u&lt;sup&gt;2&lt;/sup&gt;+2as&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-4161575008703631281?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/4161575008703631281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/equations-of-motion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/4161575008703631281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/4161575008703631281'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/equations-of-motion.html' title='Equations of Motion'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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://lh3.ggpht.com/_KL8e4oxjxbw/SXiNyJV6FcI/AAAAAAAAAB4/98_Jl8KfbmQ/s72-c/vtgraph_thumb%5B12%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1264025783776719002.post-2960253182182970992</id><published>2009-01-11T09:48:00.001-08:00</published><updated>2009-01-11T09:48:39.546-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='maths help'/><category scheme='http://www.blogger.com/atom/ns#' term='algebra'/><category scheme='http://www.blogger.com/atom/ns#' term='functions'/><title type='text'>Transformations of Graphs</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This looks at how a given graph will change when the the function is changed slightly eg how the graph y=x will change when it becomes y = 2x.&lt;/p&gt;  &lt;h3&gt;y = af(x)&lt;/h3&gt;  &lt;p&gt;The graph f(x) will &amp;quot;steeper&amp;quot; as the y value of each point is multiplied by a. It will appear like a &amp;quot;stretched&amp;quot; version of the graph y=f(x)&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_KL8e4oxjxbw/SWowrCVVoRI/AAAAAAAAABE/MO7Rv70we2A/s1600-h/tans1%5B2%5D.jpg"&gt;&lt;/a&gt;&lt;/p&gt; &lt;a href="http://lh6.ggpht.com/_KL8e4oxjxbw/SWowuPqH3cI/AAAAAAAAABM/c3kK1Sbztk8/s1600-h/tans2%5B7%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="graph transformation y=af(x)" border="0" alt="graph transformation y=af(x)" src="http://lh5.ggpht.com/_KL8e4oxjxbw/SWowwm_kdnI/AAAAAAAAABQ/AFLkk1XV8-Y/tans2_thumb%5B5%5D.jpg?imgmax=800" width="244" height="244" /&gt;&lt;/a&gt;   &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;&amp;#160;&lt;/h3&gt;  &lt;h3&gt;y =f(x) + a&lt;/h3&gt;  &lt;p&gt;The graph f(x) will move up by the amount a as a is added to each y value. This means that the points of intersection of the graph and the y axis will increase by the amount a. The intersection of the graph and the x-axis will depend upon the function of the graph.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_KL8e4oxjxbw/SWowxPk1pPI/AAAAAAAAABU/WmtzT0JVKck/s1600-h/tans3%5B2%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="transformation graph f(x) + a" border="0" alt="transformation graph f(x) + a" src="http://lh4.ggpht.com/_KL8e4oxjxbw/SWowzzfCT_I/AAAAAAAAABg/fCSsLdedzVw/tans3_thumb.jpg?imgmax=800" width="244" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;h3&gt;y = f(ax)&lt;/h3&gt;  &lt;p&gt;This will make the graph appear &amp;quot;narrower&amp;quot; beacuse y is taking the value of f(x) a time across. So if the value of f(x) is 3 when x =12 then the value of f(4x) = 3 when x=3 as 12/4=3.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_KL8e4oxjxbw/SWow2W7GlJI/AAAAAAAAABk/QiWhHi78gaI/s1600-h/tans4%5B2%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="transformation graph f(ax)" border="0" alt="transformation graph f(ax)" src="http://lh4.ggpht.com/_KL8e4oxjxbw/SWow6iSjIlI/AAAAAAAAABo/8GkptRQv2DE/tans4_thumb.jpg?imgmax=800" width="244" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;h3&gt;y=f(x+a)&lt;/h3&gt;  &lt;p&gt;This will shift the graph to the &lt;strong&gt;left&lt;/strong&gt; by a. This is because the value of f(x) at x+a is displayed at the point x so effectively the graph occurs a earlier and therefore shifts to the left.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_KL8e4oxjxbw/SWow8Sw6VsI/AAAAAAAAABs/u_1iz4JXYCc/s1600-h/tans5%5B2%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="transformation graph y(x+a)" border="0" alt="transformation graph y(x+a)" src="http://lh3.ggpht.com/_KL8e4oxjxbw/SWow9Kvg_kI/AAAAAAAAABw/aXuuvEYyxr8/tans5_thumb.jpg?imgmax=800" width="244" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-2960253182182970992?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/2960253182182970992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/transformations-of-graphs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/2960253182182970992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/2960253182182970992'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/transformations-of-graphs.html' title='Transformations of Graphs'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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://lh5.ggpht.com/_KL8e4oxjxbw/SWowwm_kdnI/AAAAAAAAABQ/AFLkk1XV8-Y/s72-c/tans2_thumb%5B5%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1264025783776719002.post-5733208666395600695</id><published>2009-01-10T05:00:00.001-08:00</published><updated>2009-01-10T05:00:12.954-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='maths help'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><title type='text'>Sec, Cosec, Cot</title><content type='html'>&lt;p&gt;Sec, cosec and cot are all functions in trigonometry. They are simply equal to one over on of the other functions, ie cos, sin and tan.&lt;/p&gt;  &lt;p&gt;so &lt;/p&gt;  &lt;p&gt;Sec = 1/cos&lt;/p&gt;  &lt;p&gt;Cosec = 1/sin&lt;/p&gt;  &lt;p&gt;cot = 1/tan&lt;/p&gt;  &lt;p&gt;You can remember which is paired with which using the third letter rule. This is that the third letter is the first letter of the corresponding function ie)&lt;/p&gt;  &lt;p&gt;se&lt;strong&gt;c &lt;/strong&gt;goes with &lt;strong&gt;c&lt;/strong&gt;os     &lt;br /&gt;co&lt;strong&gt;s&lt;/strong&gt;ec goes with &lt;strong&gt;s&lt;/strong&gt;in     &lt;br /&gt;co&lt;strong&gt;t&lt;/strong&gt; goes with &lt;strong&gt;t&lt;/strong&gt;an&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-5733208666395600695?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/5733208666395600695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/sec-cosec-cot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5733208666395600695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5733208666395600695'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/sec-cosec-cot.html' title='Sec, Cosec, Cot'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-8418975718029474362</id><published>2009-01-08T03:36:00.000-08:00</published><updated>2009-01-08T03:37:33.935-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='differentiation'/><category scheme='http://www.blogger.com/atom/ns#' term='proof'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><category scheme='http://www.blogger.com/atom/ns#' term='sin'/><category scheme='http://www.blogger.com/atom/ns#' term='arcsine'/><title type='text'>Differentiate Inverse Sine (arcsin) - proof</title><content type='html'>&lt;p&gt;How to differentiate cos&lt;sup&gt;-1&lt;/sup&gt;x&lt;/p&gt;&lt;br /&gt;&lt;p&gt;y=cos&lt;sup&gt;-1&lt;/sup&gt;x&lt;br&gt;&lt;br /&gt;Bring the cos across&lt;br&gt;&lt;br /&gt;cosy = x&lt;br&gt;&lt;br /&gt;Differentiate both sides, remember when differentiating y time by dy/dx&lt;br&gt;&lt;br /&gt;-sin(y) dy/dx = 1&lt;br&gt;&lt;br /&gt;dy/dx = -1/siny&lt;/p&gt;&lt;br /&gt;&lt;p&gt;However we want to get the differential in terms of x, to do this we can use the identity&lt;br&gt;&lt;br /&gt;sin&lt;sup&gt;2&lt;/sup&gt;t+cos&lt;sup&gt;2&lt;/sup&gt;t = 1&lt;br&gt;&lt;br /&gt;so&lt;br&gt;&lt;br /&gt;sint = √(1 - cos&lt;sup&gt;2&lt;/sup&gt;t)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;putting this into our expression for dy/dx we get&lt;/p&gt;&lt;br /&gt;&lt;p&gt;dy/dx = 1/√(1-cos&lt;sup&gt;2&lt;/sup&gt;y)&lt;br&gt;&lt;br /&gt;but cosy = x so&lt;/p&gt;&lt;br /&gt;&lt;p style="text-align: center;"&gt;&lt;strong&gt;dy/dx = 1/√(1-x&lt;sup&gt;2&lt;/sup&gt;)&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;by David Woodford&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-8418975718029474362?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/8418975718029474362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/differentiate-inverse-sine-arcsin-proof.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8418975718029474362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8418975718029474362'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/differentiate-inverse-sine-arcsin-proof.html' title='Differentiate Inverse Sine (arcsin) - proof'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-7351172241703933496</id><published>2009-01-06T10:31:00.000-08:00</published><updated>2009-01-06T10:32:32.903-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='differentiation'/><category scheme='http://www.blogger.com/atom/ns#' term='sin'/><category scheme='http://www.blogger.com/atom/ns#' term='arcsine'/><category scheme='http://www.blogger.com/atom/ns#' term='inverse'/><title type='text'>Differentiate Inverse Sine</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 12px; line-height: 16px; "&gt;&lt;p&gt;This tutorial explain how to differentiate inverse sine, this applies when using radians.&lt;/p&gt;&lt;p&gt;begin with&lt;/p&gt;&lt;p&gt;y = sin&lt;sup&gt;-1&lt;/sup&gt; x&lt;br /&gt;bring sin&lt;sup&gt;-1&lt;/sup&gt; across to become sin&lt;br /&gt;sin y = x&lt;br /&gt;differentiate&lt;br /&gt;cos y dy/dx = 1&lt;br /&gt;note that the derivative of sint wrtt is cos t as explained in an earlier tutorial and by the chain rule when we differentiated sin y it became cosy time dy/dx as we are differnetiatiny a y and the derivative of y is dy/dx&lt;/p&gt;&lt;p&gt;then make dy/dx the subject&lt;/p&gt;&lt;p&gt;dy/dx = 1/cosy&lt;/p&gt;&lt;p&gt;We know the identity&lt;br /&gt;sin&lt;sup&gt;2&lt;/sup&gt;t + cos&lt;sup&gt;2&lt;/sup&gt;t = 1&lt;br /&gt;so we can wrtie&lt;br /&gt;cos t =√(1 - sin&lt;sup&gt;2&lt;/sup&gt;t)&lt;/p&gt;&lt;p style="text-align: left; "&gt;we can now put this into the expression for dy/dx to get&lt;br /&gt;dy/dx = 1/√(1 - sin&lt;sup&gt;2&lt;/sup&gt;y)&lt;br /&gt;but we know from the second line that sin y = x so&lt;/p&gt;&lt;p style="text-align: center; "&gt;&lt;strong&gt;dy/dx = 1/√(1 - x&lt;/strong&gt;&lt;sup&gt;&lt;strong&gt;2&lt;/strong&gt;&lt;/sup&gt;&lt;strong&gt;)&lt;/strong&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-7351172241703933496?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/7351172241703933496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/differentiate-inverse-sine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7351172241703933496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7351172241703933496'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/differentiate-inverse-sine.html' title='Differentiate Inverse Sine'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-3735893626528264223</id><published>2009-01-02T06:10:00.000-08:00</published><updated>2009-01-02T06:17:01.249-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='quadratics'/><category scheme='http://www.blogger.com/atom/ns#' term='factorising'/><category scheme='http://www.blogger.com/atom/ns#' term='algebra'/><title type='text'>Factorising Quadratics</title><content type='html'>&lt;p&gt;&lt;strong&gt;Factorising quadratics is basically putting them in brackets. In this section we will look at two different ways of factorising quadratics( for simple and complex ones) and when they should be used.&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Note/ sometimes a quadratic cannot be factorized using whole numbers, this is when you must use the quadratic equation to find the values of x. See my earlier &lt;a title="quadratic formula and c++ program" href="http://trevorpythag.wordpress.com/2008/02/24/quadratic-formula/"&gt;post and c++ program&lt;/a&gt;&lt;/h3&gt;&lt;br /&gt;&lt;h3&gt;Simple type&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Use when there is no coefficent of x&lt;sup&gt;2&lt;/sup&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;eg)x&lt;sup&gt;2&lt;/sup&gt;+2x-8&lt;/p&gt;&lt;br /&gt;&lt;p&gt;start by opening 2 brackets with an x in each&lt;br&gt;&lt;br /&gt;(x   )(x    )&lt;br&gt;&lt;br /&gt;put the first sign in the first bracket. If the second sign is + put the same sign in both, if its - put the opposite sign in the second bracket&lt;br&gt;&lt;br /&gt;(x+ )(x- )&lt;br&gt;&lt;br /&gt;find the 2 numbers that will add(if both signs in brackets are +) or subtract(if the signs in the brackets are different) to make the middle number(2) and multiply to make the end number(8)&lt;br&gt;&lt;br /&gt;(x+4)(x-2)&lt;br&gt;&lt;br /&gt;and thats your quadratic factorized&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Complex Type&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Use when there is a coefficent of x&lt;sup&gt;2&lt;/sup&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;eg) 8x&lt;sup&gt;2&lt;/sup&gt;-14x-15&lt;br&gt;&lt;br /&gt;Before we can open brackets we need to split up the 14x&lt;br&gt;&lt;br /&gt;8x&lt;sup&gt;2&lt;/sup&gt; ?x ?x-15&lt;br&gt;&lt;br /&gt;the rule for the signs is the same as in the simple case, put the first sign before the first x term. If the second sign is + put the same sign in both, if its - put the opposite sign before the second x term&lt;br&gt;&lt;br /&gt;8x&lt;sup&gt;2&lt;/sup&gt;-?x+?x-15&lt;br&gt;&lt;br /&gt;we also use the same rule for the to coefficients of x, they must add or subtract to make the middle number(14) but they must times to make the end number times the first(15×8=120)&lt;br&gt;&lt;br /&gt;8x&lt;sup&gt;2&lt;/sup&gt;-20x+6x-15&lt;br&gt;&lt;br /&gt;we then take out the common factor of the first 2 terms(4x)&lt;br&gt;&lt;br /&gt;4x(2x-5) + 6x -15&lt;br&gt;&lt;br /&gt;we use the bracket(2x-5) as the common factor for the second 2 terms and find what we need to multiply by(3)&lt;br&gt;&lt;br /&gt;4x(2x-5)+3(2x-5)&lt;br&gt;&lt;br /&gt;we then take the 2 numbers in front of the brackets(4x and 3) as our second bracket&lt;br&gt;&lt;br /&gt;(4x+3)(2x-5)&lt;br&gt;&lt;br /&gt;and there we have a fully factorized quadratic&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-3735893626528264223?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/3735893626528264223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/factorising-quadratics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/3735893626528264223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/3735893626528264223'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/factorising-quadratics.html' title='Factorising Quadratics'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-7664002170700461203</id><published>2009-01-02T06:09:00.000-08:00</published><updated>2009-01-02T06:10:52.057-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='multiplication'/><category scheme='http://www.blogger.com/atom/ns#' term='matrix'/><title type='text'>Matrix Multiplication</title><content type='html'>&lt;p&gt;This is a simple tutorial on how to multiply 2 matrices together. You can speed up doing this using my c++ matrix calculator (&lt;a title="c++ matrix calculator" href="http://www.dwebs.bravehost.com/computing/matrix.exe"&gt;download matrix calculator&lt;/a&gt;) but I strongly recommend learning how to do them long hand first as you should only use formulae and program that you understand how they work. Multiplying matrices is a useful thing to know as it enables complex algebra to be simplified and i used extensively in 3d computer graphics.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;What Matrices can i Multiply Together&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;You may fin it surprising that only certain size matrices can be multiplied together, this is because of the way the multiplication is done and how the size of the answer is determined.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The size of a matrix is given as rows by columns&lt;br&gt;&lt;br /&gt;eg) 2 3 1&lt;br&gt;&lt;br /&gt;3 6 1&lt;br&gt;&lt;br /&gt;is a&amp;nbsp; 2×3 matrix. When multiply matrices the columns of the first matrix must be equal to the rows of the second. The size of the new matrix is given by the rows of the first by the columns of the second&lt;/p&gt;&lt;br /&gt;&lt;p&gt;eg) Fig1&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://trevorpythag.files.wordpress.com/2008/04/matrixsize.jpg"&gt;&lt;img class="alignnone size-full wp-image-37" src="http://trevorpythag.files.wordpress.com/2008/04/matrixsize.jpg?w=354&amp;amp;h=100" alt="demostration of the size of matrix after multiplication" width="354" height="100"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;How is the multiplication Done&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The way in which matrix multiplication is done is surprisingly simple.&amp;nbsp; Go to the first point in the new matrix. Look at the row it is in and go to the start of that row in the first matrix and the start of the column it is in in the second matrix. Multiply these to numbers together, then move along one in the first matrix and down one in the second matrix and multiply these together. Keep going till you have reached the end of the row of the first matrix, now add all of these values up and that is the first value for your new matrix.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;So you go to the row in the first, the column in the second, times each pair of values and add them up for each value.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;In the above diagram (fig 1)&lt;br&gt;&lt;br /&gt;u=ag + bk&lt;br&gt;&lt;br /&gt;v=ah+bl&lt;br&gt;&lt;br /&gt;w=ai+bm&lt;br&gt;&lt;br /&gt;x=cg+dk&lt;br&gt;&lt;br /&gt;y=ch+dl&lt;br&gt;&lt;br /&gt;and so on….&lt;/p&gt;&lt;br /&gt;&lt;p&gt;That may sound a little confusing but you’ll soon get used to it and it is very useful. If you want to practise and check your answers please &lt;a title="c++ matrix calculator" href="http://www.dwebs.bravehost.com/computing/matrix.exe"&gt;download my c++ matrix calculator&lt;/a&gt;, the command for multiply is mlt, though you will have to define you matrices using the dim command first. All the data it needs off you is asked for&lt;/p&gt;&lt;br /&gt;&lt;p&gt;If you have any comments please leave them below or email me at woodford_4@hotmail.co.uk&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-7664002170700461203?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/7664002170700461203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/matrix-multiplication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7664002170700461203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7664002170700461203'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/matrix-multiplication.html' title='Matrix Multiplication'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-7231107993940510777</id><published>2009-01-02T06:08:00.000-08:00</published><updated>2009-01-02T06:09:41.559-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='differentiation'/><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><title type='text'>Differentiating Trigonometry</title><content type='html'>&lt;h2&gt;&lt;a href="http://trevorpythag.wordpress.com/2008/06/23/sine-and-cos-graphs-differentiating-sin-and-cos/" rel="bookmark" title="Permanent Link to Sine and Cos Graphs Differentiating sin and&amp;nbsp;cos"&gt;Sine and Cos Graphs Differentiating sin and&amp;nbsp;cos&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;    &lt;small&gt;June 23, 2008&lt;/small&gt;&lt;br&gt;&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    &lt;div class="entry"&gt;&lt;br /&gt;     &lt;div class="snap_preview"&gt;&lt;p&gt;This is the basics of the sine cos and tan graphs and how sine and cos relate to give you tan. It also shows how to differentiate sin and cos.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The output or range of both sine and cos is from -1 to 1 when given any angle. They can be shown on a graph where y = sin(x) and y = cos(x). In these graphs all the angles go along the x axis and you can see a wave type shape is formed&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Sine Graph&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;img src="http://www.wsd1.org/waec/math/Pre-Calculus%20Advanced/Trigonometry/Graphing/images/sinxbasic.gif" alt="graph of y=sin(x)"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Cosine Graph&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Cos.svg/800px-Cos.svg.png" alt="cosine graph"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;As you can see both the sin and cos graphs move periodically between -1 and 1 as the angles change, this pattern continues indefinitely because once you pass 360 degrees or 2 pi radians you will return back to the beginning. If you try to perform sin&lt;sup&gt;-1&lt;/sup&gt; of  a value out side the range -1 to 1 you will get an error.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Differentiate Sin and Cos&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;also notice that the gradient of the sin graph is the value of the cos graph for the same angle and that the gradient of the cos graph is the -value of the sin graph for that angle. This means that we can differentiate the sin and cos graphs:&lt;br&gt;&lt;br /&gt;if f(x) = sin(x) then f ‘ (x)=cos(x)&lt;br&gt;&lt;br /&gt;and&lt;br&gt;&lt;br /&gt;if f(x) = cos(x) then f ‘ (x) = -sin(x)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;however if we use ax instead of x we must differentiate it by bringing the a out, when its just x this doesn’t matter as the differential of x is 1.&lt;br&gt;&lt;br /&gt;ie)&lt;br&gt;&lt;br /&gt;let y = sin(f(x))&lt;br&gt;&lt;br /&gt;now let u = f(x)&lt;br&gt;&lt;br /&gt;du/dx = f ‘ (x)&lt;br&gt;&lt;br /&gt;also&lt;br&gt;&lt;br /&gt;y=sin(u) as u = f(x)&lt;br&gt;&lt;br /&gt;dy/du = cos(u)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;from the chain rule&lt;/p&gt;&lt;br /&gt;&lt;p&gt;dy/dx = du/dx * dy/du&lt;br&gt;&lt;br /&gt;therefore&lt;br&gt;&lt;br /&gt;&lt;strong&gt;if y = sin(f(x))&lt;br&gt;&lt;br /&gt;dy/dx = f ‘ (x)cos(f(x))&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;and similarly for cos&lt;br&gt;&lt;br /&gt;if y = cos(f(x))&lt;br&gt;&lt;br /&gt;dy/dx = -f ‘ (x)sin(f(x))&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-7231107993940510777?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/7231107993940510777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/differentiating-trigonometry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7231107993940510777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7231107993940510777'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/differentiating-trigonometry.html' title='Differentiating Trigonometry'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-6159621709607517742</id><published>2009-01-02T06:07:00.000-08:00</published><updated>2009-01-02T06:08:21.533-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='application'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><title type='text'>How to create a Facebook application</title><content type='html'>&lt;p&gt;This is aimed at people how already know programming and want to apply some of these skills to making a facebook application. You dont need to know much, even html will do though you wont make much of an application with this. Ive made mine using php and it was a site i had already developed.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Facebook is a great place to put your web apps and is easy to do but the documentation I could find on the site wasn’t that great (though mayb im just blind).  First of all you need a facebook account, you should be able to do this easily enough, you also need an application, the application is no different to any other website and can be written in any language your familiar with (we just put it in a frame later on), i wrote my app when learning php with no intention of ever using it in facebook.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first thing you need to do is get the developer application on facebook.  Then choose to create an application by clicking set up an application.  Choose a name and then click optional fields(this is where we set it up).&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Callback URL is where you enter the address of your app, so if you have created a website you put a link to that sites home page. The canvas URL is the url for app on facebook, you have to choose a unique address for it which people can use to get to the app.  If you just want to place your app in the page like i did, meaning that it works like a normall webpage, choose iframe under the canvas url box. We then choose application type to be website.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The next important field is “Can you application by added on facebook” and since your making an app for face book you probably want to set this to yes.  You then need to fill in the install option page(if it can be added on face book). Here you want users to be able to add it to all pages. The default FMBL is the code that will appear on their facebook page when they add it.&amp;nbsp; I set as a link to the apps home page.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The final section to fill in is the integration points that helps facebook work with your app. The only part you need to fill in here the side nav URL which is the link that will appear in the applications part of the users page when they use facebook, so they can get to your app.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Finally click save, after that you can mess around on the developer trying out the different parts, try adding an image in the settings part. You also have to develop some code so that you application actually does something  have fun,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;David Woodford &lt;img src="http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-6159621709607517742?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/6159621709607517742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/how-to-create-facebook-application.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/6159621709607517742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/6159621709607517742'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/how-to-create-facebook-application.html' title='How to create a Facebook application'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1264025783776719002.post-8933489188427449818</id><published>2009-01-02T06:06:00.001-08:00</published><updated>2009-01-02T06:06:58.269-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='comples numbers'/><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='argand'/><category scheme='http://www.blogger.com/atom/ns#' term='identities'/><category scheme='http://www.blogger.com/atom/ns#' term='imaginary numbers'/><title type='text'>Complex and Imaginary Numbers</title><content type='html'>&lt;p&gt;Most of the time in maths you are working with “real” numbers ie) all the rational numbers so we have 1,3,3.5567,4/7,root 2 etc, however sometimes we will need to extend our field of numbers to imaginary numbers. This is when we want to find the root of a negative number eg root -9, as (-3)&lt;sup&gt;2&lt;/sup&gt; and 3&lt;sup&gt;2&lt;/sup&gt; both  equal 9 we are unable to find the square root of -9. In order to solve this number we can use the “imaginary” number &lt;em&gt;i&lt;/em&gt; such that&lt;br&gt;&lt;br /&gt;i = √-1&lt;/p&gt;&lt;br /&gt;&lt;p&gt;We then say that √-9 = 3i since √ab = √a&amp;nbsp;√b and therefore √-9=√9 √-1 = 3i . This allows us to solve all equations with negative roots. It is also useful to know what i&lt;sup&gt;n&lt;/sup&gt; gives as shown below&lt;/p&gt;&lt;br /&gt;&lt;p&gt;i&lt;sup&gt;2&lt;/sup&gt; = -1&lt;br&gt;&lt;br /&gt;i&lt;sup&gt;3&lt;/sup&gt;=-i&lt;br&gt;&lt;br /&gt;i&lt;sup&gt;4&lt;/sup&gt;=1&lt;br&gt;&lt;br /&gt;i&lt;sup&gt;5&lt;/sup&gt;=i&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Complex numbers are made up of both real and imaginary parts,&lt;br&gt;&lt;br /&gt;eg z =a+ib&lt;br&gt;&lt;br /&gt;is a complex number. When comparing complex numbers we need only compare the real and imaginary parts, by equation them to each other,&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ie) if the complex number z=a+ib&lt;br&gt;&lt;br /&gt;and 2z = 6+10i&lt;/p&gt;&lt;br /&gt;&lt;p&gt;a=3 and b=5&lt;/p&gt;&lt;br /&gt;&lt;p&gt;To solve complex equations with fractions we often have to rationalise the fractions, like we would with surd’s, so that there are no imaginary parts on the bottom and we can compare the coefficient’s, this is done by multiplying by the conjugate.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;note// the conjugate of z=a+ib is z’ = a-ib&lt;/p&gt;&lt;br /&gt;&lt;p&gt;eg) (2+3i)/(4+5i) = (2+3i)(4-5i)/(4+5i)(4-5i) = (23+2i)/41&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Complex numbers can be represented on an argand diagram when the y axis is the imaginary part and the x axis is the real part, so that the number a+ib is plotted at (a,b), and a line is draw between this and the origin to represent the number. The length of the line is called the moduls and the angle between the real axis and the line is the argument.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-8933489188427449818?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/8933489188427449818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/complex-and-imaginary-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8933489188427449818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8933489188427449818'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/complex-and-imaginary-numbers.html' title='Complex and Imaginary Numbers'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-5812500460493991026</id><published>2009-01-02T06:03:00.000-08:00</published><updated>2009-01-02T06:05:08.648-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='therom'/><category scheme='http://www.blogger.com/atom/ns#' term='proof'/><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='pythagoras'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>Proof of Pythagoras Theorem</title><content type='html'>&lt;p&gt;Pythagoras theorem, that the square of the longest side of a right angled triangle is equal to the sum of the squares of the other 2 sides.&lt;/p&gt;&lt;br /&gt;&lt;img title="Pythagoras Theorem Proof" src="http://trevorpythag.files.wordpress.com/2008/10/pythag.jpg?w=300&amp;amp;h=300" alt="Square used to prove Pythagoras theorem" width="300" height="300"&gt;&lt;br /&gt;&lt;p&gt;This can be proved quite easily by drawing a square into which fit 4 of the same right angled triangle as shown below&lt;/p&gt;&lt;br /&gt;&lt;p&gt;As you can see the area of the whole square is equal to the the sum of the 2 shorter sides squared or (a+b)&lt;sup&gt;2&lt;/sup&gt;. The area of the green square left is the square of the longest side c&lt;sup&gt;2&lt;/sup&gt;. We also know that the area of each of the triangles is 1/2 x base x height = ab/2&lt;/p&gt;&lt;br /&gt;&lt;p&gt;From these 3 areas we can prove the theorem. The know that the total area of the square is equal to the area of the green square plus 4 of the triangles ie)&lt;/p&gt;&lt;br /&gt;&lt;p style="text-align: center;"&gt;&lt;strong&gt;(a+b)&lt;sup&gt;2&lt;/sup&gt;=c&lt;sup&gt;2&lt;/sup&gt;+ 4ab/2&lt;br&gt;&lt;br /&gt;a&lt;sup&gt;2&lt;/sup&gt; + b&lt;sup&gt;2&lt;/sup&gt; + 2ab = c&lt;sup&gt;2&lt;/sup&gt;+ 2ab&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="text-align: center;"&gt;The 2ab ’s cancel and we are left with Pythagoras theorem&lt;br&gt;&lt;br /&gt;&lt;strong&gt;a&lt;sup&gt;2&lt;/sup&gt; + b&lt;sup&gt;2&lt;/sup&gt; = c&lt;sup&gt;2&lt;/sup&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;View the rest of my posts on this blog or at my website &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-5812500460493991026?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/5812500460493991026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/proof-of-pythagoras-theorem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5812500460493991026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5812500460493991026'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2009/01/proof-of-pythagoras-theorem.html' title='Proof of Pythagoras Theorem'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-8547658552128529653</id><published>2008-12-23T03:22:00.001-08:00</published><updated>2008-12-23T03:26:02.243-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='cos'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><category scheme='http://www.blogger.com/atom/ns#' term='identities'/><category scheme='http://www.blogger.com/atom/ns#' term='sin'/><title type='text'>Trigonometry Identities</title><content type='html'>&lt;p&gt;There a number of “identities” in trigonometry that can be found from the basic ideas of sin, cos and tan as explained in my earlier post. These identities can help in solving equations involving trig functions, especially when there are 2 or more different functions as the often allow you to write the equation in terms of one function, eg sin, that you can then solve.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;One of the identities is:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;sin&lt;sup&gt;2&lt;/sup&gt; + cos&lt;sup&gt;2&lt;/sup&gt; = 1. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To prove this consider a right angled triangle with side a,b and c as shown below&lt;/p&gt;&lt;br /&gt;&lt;img src="http://trevorpythag.files.wordpress.com/2008/12/untitled.jpg?w=300&amp;amp;h=300" /&gt;&lt;br /&gt;&lt;p&gt;From this we can use Pythagoras theorem to say:&lt;br /&gt;&lt;br /&gt;a&lt;sup&gt;2&lt;/sup&gt;+b&lt;sup&gt;2&lt;/sup&gt;=c&lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;&lt;br /&gt;now we know&lt;br /&gt;&lt;br /&gt;sin t = b/c so b = csin t&lt;br /&gt;&lt;br /&gt;cos t = a/c so a = ccos t&lt;/p&gt;&lt;br /&gt;&lt;p&gt;substituting these values in the above equation we get&lt;br /&gt;&lt;br /&gt;(csint)&lt;sup&gt;2&lt;/sup&gt; +(ccost)&lt;sup&gt;2&lt;/sup&gt; = c&lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;&lt;br /&gt;canceling the c&lt;sup&gt;2&lt;/sup&gt; we get&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;sint&lt;sup&gt;2&lt;/sup&gt; + cost&lt;sup&gt;2&lt;/sup&gt; = 1&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;p&gt;There are trig functions that are equal to 1 over sin, cos and tan called cosec = 1/sin, sec = 1/cos and cot = 1/tan. These can be remembered using the third letter rule as the third letter of each of these corresponds to the the function it is one over.&lt;/p&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;p&gt;Using these a cos&lt;sup&gt;2&lt;/sup&gt; + sin&lt;sup&gt;2&lt;/sup&gt; = 1 we can calculate other identities&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;tan&lt;sup&gt;2&lt;/sup&gt;t + 1 = sec&lt;sup&gt;2&lt;sup&gt;t&lt;/sup&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can obtain this by dividing through by cos&lt;sup&gt;2&lt;/sup&gt; as we know sin/cos = tan, cos/cos = 1 and 1/cos = sec.&lt;br /&gt;&lt;br /&gt;Other similar identities can be obtained for cosec and cot.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-8547658552128529653?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/8547658552128529653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/trigonometry-identities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8547658552128529653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8547658552128529653'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/trigonometry-identities.html' title='Trigonometry Identities'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-8775098751895063032</id><published>2008-12-17T08:46:00.000-08:00</published><updated>2008-12-17T08:47:26.684-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='unemployment'/><category scheme='http://www.blogger.com/atom/ns#' term='recession'/><category scheme='http://www.blogger.com/atom/ns#' term='econ'/><category scheme='http://www.blogger.com/atom/ns#' term='woolworths'/><category scheme='http://www.blogger.com/atom/ns#' term='inflation'/><title type='text'>Economic Update 17th December</title><content type='html'>&lt;p&gt;&lt;span lang="CY"&gt;A lot has happened again in the economic world this week including :&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent: -18pt;"&gt;&lt;span style="font-family: Symbol;" lang="CY"&gt;&lt;span&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="CY"&gt;Today the administrators that have taken over Woolworths said that all stores will close by January 5th.&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent: -18pt;"&gt;&lt;span style="font-family: Symbol;" lang="CY"&gt;&lt;span&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="CY"&gt;Unemployment has risen to 1.86 million.&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent: -18pt;"&gt;&lt;span style="font-family: Symbol;" lang="CY"&gt;&lt;span&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-GB"&gt;The pound hit a low of 1.0796 euros.&lt;/span&gt;&lt;span lang="CY"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent: -18pt;"&gt;&lt;span style="font-family: Symbol;" lang="CY"&gt;&lt;span&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-GB"&gt;Opec is making an output cut of 2.2million barrels per day.&lt;/span&gt;&lt;span lang="CY"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent: -18pt;"&gt;&lt;span style="font-family: Symbol;" lang="CY"&gt;&lt;span&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="CY"&gt;Yesterday the US interest rates to between 0 and 0.25%.&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-indent: -18pt;"&gt;&lt;span style="font-family: Symbol;" lang="CY"&gt;&lt;span&gt;·&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang="CY"&gt;National express is to cut 750 jobs&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left: 18pt;"&gt;&lt;span lang="CY"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span lang="CY"&gt;But on the positive side inflation has fallen to 4.1% !!! &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-8775098751895063032?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/8775098751895063032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/economic-update-17th-december.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8775098751895063032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8775098751895063032'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/economic-update-17th-december.html' title='Economic Update 17th December'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-5329667557285507942</id><published>2008-12-11T08:18:00.000-08:00</published><updated>2008-12-11T08:19:24.708-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='recession'/><category scheme='http://www.blogger.com/atom/ns#' term='base rate'/><title type='text'>Making Sense of the Economic Climate</title><content type='html'>Yesterday the Bank of England cut interest rates to 2% (lowest level since 1951) but is it actually going to help us.&lt;br /&gt;It will help those who are struggling to pay our mortgages as repayments should become cheaper but not all banks are going to pass on the cut/ the cut in fall to customers. They are much quicker to pass on the cut to savers however.&lt;br /&gt;Those without a mortgage and have savings are losing out, they did not borrow money they could not pay back yet they are the ones who are getting less income from their savings.&lt;br /&gt;Earlier in the week VAT was cut by 2.5% was this the right decision? In my opinion no, this is not going to get people to start spending money again as people have no money. People are likely to buy the same and keep the savings to pay for other outgoings .&lt;br /&gt;The retail sector is really starting to feel the pinch Woolworths, MFI and The Pier have all gone into administration and we could see many more go in the next few weeks/months.&lt;br /&gt;I don’t think that the economic situation is going to get any better in the near future infact i think that it is going to get wose but hopefully we have all learnt a valuable lesson, do not borrow so much money! and let us not go back to our borrowing ways&lt;br /&gt;Nicola crowston&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-5329667557285507942?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/5329667557285507942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/making-sense-of-economic-climate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5329667557285507942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5329667557285507942'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/making-sense-of-economic-climate.html' title='Making Sense of the Economic Climate'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-5165848195053554991</id><published>2008-12-10T07:00:00.000-08:00</published><updated>2008-12-10T07:02:11.831-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><category scheme='http://www.blogger.com/atom/ns#' term='identities'/><category scheme='http://www.blogger.com/atom/ns#' term='hyperbolic'/><category scheme='http://www.blogger.com/atom/ns#' term='functions'/><title type='text'>Hyperbolic Functions</title><content type='html'>&lt;p&gt;Hyperbolic functions are similar to sin,cos tan etc in trigonometry and share many similar rules. Usually hyperbolic functions are written like the trigonometric ones but with a h on the end, eg sinh and cosh.&lt;/p&gt; &lt;p&gt;The hyperbolic functions can be all written in terms of e, sinh and cosh are as follows&lt;/p&gt; &lt;p&gt;sinh(x) = (e&lt;sup&gt;x&lt;/sup&gt; - e&lt;sup&gt;-x&lt;/sup&gt;)/2&lt;br /&gt;cosh(x) = (e&lt;sup&gt;x&lt;/sup&gt; + e&lt;sup&gt;-x&lt;/sup&gt;)/2&lt;/p&gt; &lt;p&gt;And tanh can be defined as sinh/cosh so&lt;/p&gt; &lt;p&gt;tanh = (e&lt;sup&gt;x&lt;/sup&gt; - e&lt;sup&gt;-x&lt;/sup&gt;) / (e&lt;sup&gt;x&lt;/sup&gt; + e&lt;sup&gt;-x&lt;/sup&gt;)&lt;/p&gt; &lt;p&gt;though this is often written as&lt;br /&gt;tanh = (e&lt;sup&gt;2x&lt;/sup&gt; - 1) / (e&lt;sup&gt;2x&lt;/sup&gt; + 1)&lt;br /&gt;by timesing the top and bottom by e&lt;sup&gt;x&lt;/sup&gt;&lt;/p&gt; &lt;p&gt;the other other hyperbolic functions sinh as sech, coth etc can be found in the same way as they would be in trigonometry, by using 1 over the other functions, ie sech = 1/cosh&lt;/p&gt; &lt;p&gt;Most of the identities in trigonometry have a similar identity with hyperbolic functions, however in most of these whenever there is a sin&lt;sup&gt;2&lt;/sup&gt; it changes to a -sinh&lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;so&lt;br /&gt;cosh&lt;sup&gt;2&lt;/sup&gt; - sinh&lt;sup&gt;2&lt;/sup&gt;=1&lt;br /&gt;which you can work out by placing the equations with e’s in the place of sinh and cosh&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-5165848195053554991?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/5165848195053554991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/hyperbolic-functions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5165848195053554991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/5165848195053554991'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/hyperbolic-functions.html' title='Hyperbolic Functions'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-7196679406052025697</id><published>2008-12-05T08:37:00.000-08:00</published><updated>2008-12-05T09:09:14.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='maths'/><category scheme='http://www.blogger.com/atom/ns#' term='3d'/><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='computing'/><title type='text'>3D Graphics</title><content type='html'>This is a brief explanation of how to create basic 3D graphics. There are many different packages that will allow you to program using pre written 3D graphics library's, such as Java 3D but this is aimed at using and understanding the actual formula that can be used to draw the graphics yourself.&lt;br /&gt;&lt;br /&gt;This assumes you are looking straight ahead from a single point and will map points in the 3D space in front of you onto a single plane at a fixed distance in front of you, probably 1 unit to keep it simple.&lt;br /&gt;&lt;br /&gt;First of all consider the vertical direction, y axis. If we consider the right angled triangle formed by taking the line from you eye to the  point, the line from your eye to beneath the point (ie the line where y =0) and the final verical equal to the y cordinate, we can use trigonometry to work out the height that need to be displayed.&lt;br /&gt;&lt;br /&gt;From this we can work out the angle at your eye would be tan&lt;sup&gt;-1&lt;/sup&gt;(y/(x&lt;sup&gt;2&lt;/sup&gt;+z&lt;sup&gt;2&lt;/sup&gt;))&lt;br /&gt;This is because the length of the "opposite" is equal to the y co-ordinate and the adjacent can be found using pythagoras from the x and z co-ordinates.&lt;br /&gt;&lt;br /&gt;We now can use the angle we have found to work out where the point needs to be displayed in our plane. Again we need to form a triangle similar to the first one but where the top corner is the final position of the point when it is projected. Ie the opposite is the y co-ordinate we need.&lt;br /&gt;therefore,&lt;br /&gt;y = tan(t)((x/z)&lt;sup&gt;2&lt;/sup&gt;+1)&lt;br /&gt;y=&lt;u&gt;y((x/z)&lt;sup&gt;2&lt;/sup&gt;+1)&lt;/u&gt;&lt;br /&gt;   (x&lt;sup&gt;2&lt;/sup&gt;+z&lt;sup&gt;2&lt;/sup&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-7196679406052025697?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/7196679406052025697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/3d-graphics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7196679406052025697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/7196679406052025697'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/3d-graphics.html' title='3D Graphics'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-4469026096833818777</id><published>2008-12-03T11:12:00.000-08:00</published><updated>2008-12-03T11:13:42.503-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='program'/><category scheme='http://www.blogger.com/atom/ns#' term='maths help'/><category scheme='http://www.blogger.com/atom/ns#' term='matrix'/><category scheme='http://www.blogger.com/atom/ns#' term='c++ calculator'/><title type='text'>Matrix Calculator, C++ Program</title><content type='html'>&lt;p&gt;I recently went back to my c++ matrix calculator program and noticed it needed some improving so here are the improvements along with the source code.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a title="Matrix Calculator" href="http://www.dwebs.bravehost.com/computing/matrix.exe" target="_self"&gt;Download the c++ matrix calculator here&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Firstly I have added add/minus features to it. I accidentaly forgot to code these last time but have included them in the new program with the commands add and min. A note on the code, all the min function actually does is reverse all the signs on the second matrix and then call add.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;I have also allowed you to determine both the number of rows and columns in the matrix to give it more flexibility. However this is not extended to the transformations (rotate and reflect) which still only work in 3 dimensions. Also in this process I have changed the lgth variable in the matrix to colls so that it now has rows and colls.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Finally to avoid some errors i have ensured all answer matrices are assigned colls and rows values.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Please feel free to use the program and don’t be put off by the fact it uses a command prompt, just type help to see the list of commands and when you type the command followed by enter it will give you step by step guidance on what to do.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;David Woodford&lt;/p&gt;&lt;br /&gt;&lt;p&gt;// matrix.cpp : main project file.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;#include “stdafx.h”&lt;br&gt;&lt;br /&gt;#include &amp;lt;iostream&amp;gt;&lt;br&gt;&lt;br /&gt;#include &amp;lt;cmath&amp;gt;&lt;br&gt;&lt;br /&gt;#include &amp;lt;string&amp;gt;&lt;br&gt;&lt;br /&gt;using namespace std;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;class mat&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;public:&lt;br&gt;&lt;br /&gt;double mata[20][10];&lt;br&gt;&lt;br /&gt;int colls;&lt;br&gt;&lt;br /&gt;int rows;&lt;br&gt;&lt;br /&gt;void dimmat()&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter collums of matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; colls;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter rows of matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; rows;&lt;br&gt;&lt;br /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; cout &amp;lt;&amp;lt; “” &amp;lt;&amp;lt; endl;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;for(int n=0;n&amp;lt;rows;n++)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter values for row” &amp;lt;&amp;lt; n &amp;lt;&amp;lt; ” , each followed by ‘enter’:” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;for(int m=0;m&amp;lt;colls;m++)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; mata[n][m];&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;void display()&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;int rcount = 0;&lt;br&gt;&lt;br /&gt;int ccount = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;while(rcount &amp;lt; rows)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;while(ccount &amp;lt; colls)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;//cout &amp;lt;&amp;lt; “matrix:”&amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; mata[rcount][ccount] &amp;lt;&amp;lt; ” , “;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ccount++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; ‘\n’;&lt;br&gt;&lt;br /&gt;ccount=0;&lt;br&gt;&lt;br /&gt;rcount++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;/*void rotate()&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;mat mat2;&lt;br&gt;&lt;br /&gt;mat2.dimmat();&lt;br&gt;&lt;br /&gt;mat mat3;&lt;br&gt;&lt;br /&gt;mat3 = mult(this, mat2);&lt;br&gt;&lt;br /&gt;}*/&lt;br&gt;&lt;br /&gt;};&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat mult(mat A, mat B)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “multiply started” &amp;lt;&amp;lt; endl;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;//char pause;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat ans;&lt;br&gt;&lt;br /&gt;ans.colls=B.colls;&lt;br&gt;&lt;br /&gt;ans.rows=A.rows;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;int rcount = 0;&lt;br&gt;&lt;br /&gt;int ccount = 0;&lt;br&gt;&lt;br /&gt;int c2 = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;while(rcount &amp;lt; 3)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;//cout &amp;lt;&amp;lt; “row: ” &amp;lt;&amp;lt; rcount &amp;lt;&amp;lt; ” started” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;while(ccount &amp;lt; A.colls)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;//cout &amp;lt;&amp;lt; “collum: ” &amp;lt;&amp;lt; ccount &amp;lt;&amp;lt; “started” &amp;lt;&amp;lt; endl;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ans.mata[rcount][ccount] = 0;&lt;br&gt;&lt;br /&gt;while(c2 &amp;lt; A.rows)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;ans.mata[rcount][ccount] = ans.mata[rcount][ccount] + (A.mata[rcount][c2] * B.mata[c2][ccount]);&lt;br&gt;&lt;br /&gt;c2++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;//cout &amp;lt;&amp;lt; “value is: ” &amp;lt;&amp;lt; ans.mata[rcount][ccount] &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;//cin &amp;gt;&amp;gt; pause;&lt;br&gt;&lt;br /&gt;c2=0;&lt;br&gt;&lt;br /&gt;ccount++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;ccount=0;&lt;br&gt;&lt;br /&gt;rcount++;&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;if(A.colls != B.rows)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;”matrices are wrong sizes to be multiplied” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;return A;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;else&lt;br&gt;&lt;br /&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;ans.display();&lt;br&gt;&lt;br /&gt;return ans;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat add(mat A, mat B)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;mat ans;&lt;br&gt;&lt;br /&gt;if(A.colls == B.colls &amp;amp;&amp;amp; A.rows == B.rows)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;ans.colls = A.colls;&lt;br&gt;&lt;br /&gt;ans.rows=A.rows;&lt;br&gt;&lt;br /&gt;int i = 0;&lt;br&gt;&lt;br /&gt;int j = 0;&lt;br&gt;&lt;br /&gt;while(i &amp;lt; ans.colls)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;j=0;&lt;br&gt;&lt;br /&gt;while(j&amp;lt;ans.rows)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;ans.mata[i][j] = A.mata[i][j] + B.mata[i][j];&lt;br&gt;&lt;br /&gt;j++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;i++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;return ans;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;else&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “matricies cannot be added : diffrent lengths” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;return A;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat minus(mat A, mat B)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;int i =0;&lt;br&gt;&lt;br /&gt;int j =0;&lt;br&gt;&lt;br /&gt;while(i&amp;lt;B.colls)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;while(j&amp;lt;B.rows)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;B.mata[i][j] = 0 - B.mata[i][j];&lt;br&gt;&lt;br /&gt;j++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;j=0;&lt;br&gt;&lt;br /&gt;i++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;return add(A,B);&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;mat rotate(mat A, int angle)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;mat T;&lt;br&gt;&lt;br /&gt;T.colls = 3;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat matans;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;//creat transformation matrix&lt;br&gt;&lt;br /&gt;double pi = 3.14159265;&lt;br&gt;&lt;br /&gt;double theta = (angle*pi)/180;&lt;br&gt;&lt;br /&gt;T.mata[0][0] = cos(theta);&lt;br&gt;&lt;br /&gt;T.mata[0][1] = 0 - sin(theta);&lt;br&gt;&lt;br /&gt;T.mata[0][2] = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;T.mata[1][0] = sin(theta);&lt;br&gt;&lt;br /&gt;T.mata[1][1] = cos(theta);&lt;br&gt;&lt;br /&gt;T.mata[1][2] = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;T.mata[2][0] = 0;&lt;br&gt;&lt;br /&gt;T.mata[2][1] = 0;&lt;br&gt;&lt;br /&gt;T.mata[2][2] = 1;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;matans = mult(T, A);&lt;br&gt;&lt;br /&gt;return matans;&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat reflect(mat A, int angle)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;mat matans;&lt;br&gt;&lt;br /&gt;mat T;&lt;br&gt;&lt;br /&gt;T.colls = 3;&lt;br&gt;&lt;br /&gt;//creat transformation matrix&lt;br&gt;&lt;br /&gt;double pi = 3.14159265;&lt;br&gt;&lt;br /&gt;double theta = (angle*pi)/180;&lt;br&gt;&lt;br /&gt;T.mata[0][0] = cos(2 * theta);&lt;br&gt;&lt;br /&gt;T.mata[0][1] = sin(2 * theta);&lt;br&gt;&lt;br /&gt;T.mata[0][2] = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;T.mata[1][0] = sin(2*theta);&lt;br&gt;&lt;br /&gt;T.mata[1][1] = 0 - cos(2*theta);&lt;br&gt;&lt;br /&gt;T.mata[1][2] = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;T.mata[2][0] = 0;&lt;br&gt;&lt;br /&gt;T.mata[2][1] = 0;&lt;br&gt;&lt;br /&gt;T.mata[2][2] = 1;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;matans = mult(T, A);&lt;br&gt;&lt;br /&gt;return matans;&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;void input()&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;string dim = “dim”;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;string com;&lt;br&gt;&lt;br /&gt;int end = 0;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat matans;&lt;br&gt;&lt;br /&gt;int matcount = 0;&lt;br&gt;&lt;br /&gt;mat mats[11];&lt;br&gt;&lt;br /&gt;while(end == 0)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter command&amp;gt;”;&lt;br&gt;&lt;br /&gt;getline(cin, com);&lt;/p&gt;&lt;br /&gt;&lt;p&gt;if(dim == com)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “matrix” &amp;lt;&amp;lt; matcount &amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;mats[matcount].dimmat();&lt;br&gt;&lt;br /&gt;matcount++;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “rot”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “which matirx?” &amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;int matnum;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; matnum;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “what angle (degrees)” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int rotang;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; rotang;&lt;br&gt;&lt;br /&gt;matans = rotate(mats[matnum], rotang);&lt;br&gt;&lt;br /&gt;mats[10] = matans;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “rlt”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “which matirx?” &amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;int matnum;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; matnum;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “what angle (degrees)” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int rotang;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; rotang;&lt;br&gt;&lt;br /&gt;matans = reflect(mats[matnum], rotang);&lt;br&gt;&lt;br /&gt;mats[10] = matans;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “ans”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;matans.display();&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “mlt”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “first matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int mat1;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; mat1;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “second matirx” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int mat2;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; mat2;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;matans = mult(mats[mat1], mats[mat2]);&lt;br&gt;&lt;br /&gt;mats[10] = matans;&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “add”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter first matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int A;&lt;br&gt;&lt;br /&gt;int B;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; A;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter second matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; B;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;matans = add(mats[A],mats[B]);&lt;br&gt;&lt;br /&gt;mats[10] = matans;&lt;br&gt;&lt;br /&gt;matans.display();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;br&gt;&lt;br /&gt;if(com == “min”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter first matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int mata, matb;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; mata;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “enter second matrix” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; matb;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;matans = minus(mats[mata], mats[matb]);&lt;br&gt;&lt;br /&gt;mats[10] = matans;&lt;br&gt;&lt;br /&gt;matans.display();&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “dsp”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “which matirx?” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int matdsp;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; matdsp;&lt;br&gt;&lt;br /&gt;mats[matdsp].display();&lt;br&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;if(com == “let”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “which matirx?” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;int mat1;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; mat1;&lt;br&gt;&lt;br /&gt;int mat2;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;”eaqual to (10 is answer matrix)” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cin &amp;gt;&amp;gt; mat2;&lt;br&gt;&lt;br /&gt;mats[mat1] = mats[mat2];&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;br&gt;&lt;br /&gt;if(com == “help”)&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;”Davids Woodfords matrix calculator” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “takes the following commands” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘dim’&amp;nbsp;&amp;nbsp;&amp;nbsp; ::&amp;nbsp; allows you to dfine a matrix”&amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘rot’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: roates a matrix through an agnle” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘rlt’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: reflects a matrix through the line y=tan(a) where a is given” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘ans’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: displays the answer to the last calculation” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘mlt’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: lets u multiply 2 matricies together” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘dsp’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: displays a matrix specified”&amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘let’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: allows u to assign one matrix the value of another, eg answer”&amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘add’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: lets u add 2 matricies together” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;” ‘min’&amp;nbsp;&amp;nbsp;&amp;nbsp; :: lets u minus 2 matricies together” &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout&amp;lt;&amp;lt;”===================================================================”&amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt;”matricies are sotred in an array of 10, with numerical values starting at 0″&amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;cout&amp;lt;&amp;lt;”matrix 10 is the answer matrix”&amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;cout&amp;lt;&amp;lt;”any parameters will be asked for wen needed”&amp;lt;&amp;lt;endl;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;br&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;int main()&lt;br&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;cout &amp;lt;&amp;lt; “Welcome to David Woodfords Matrix calculator” &amp;lt;&amp;lt; endl &amp;lt;&amp;lt; endl;&lt;br&gt;&lt;br /&gt;cout&amp;lt;&amp;lt;”type ‘help’ for a list of commands” &amp;lt;&amp;lt;endl;&lt;br&gt;&lt;br /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; mat mata;&lt;br&gt;&lt;br /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; mata.dimmat();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp; mat matb;&lt;br&gt;&lt;br /&gt;matb.dimmat();&lt;/p&gt;&lt;br /&gt;&lt;p&gt;mat matans;&lt;br&gt;&lt;br /&gt;matans = mult(mata, matb);&lt;br&gt;&lt;br /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; mata.display();&lt;br&gt;&lt;br /&gt;*/&lt;br&gt;&lt;br /&gt;//rotate(mata, 30);&lt;br&gt;&lt;br /&gt;input();&lt;br&gt;&lt;br /&gt;return 0;&lt;/p&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-4469026096833818777?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/4469026096833818777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/matrix-calculator-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/4469026096833818777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/4469026096833818777'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/matrix-calculator-c-program.html' title='Matrix Calculator, C++ Program'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-6861158728474962923</id><published>2008-12-03T11:11:00.000-08:00</published><updated>2008-12-03T11:12:40.161-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tan'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='maths help'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><category scheme='http://www.blogger.com/atom/ns#' term='cos rule'/><category scheme='http://www.blogger.com/atom/ns#' term='sin'/><title type='text'>Tan=Sin/Cos</title><content type='html'>&lt;p style="text-align: right;"&gt;this site is now at &lt;a title="breaking-maths tutorials" href="http://breakingwave.hyperphp.com/breakingwave/master.php?page=intro.php&amp;amp;grp=maths"&gt;www.breakingwave.co.nr&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;This is often useful when solving trig equations so i thought i’d include it&lt;/p&gt;&lt;br /&gt;&lt;p&gt;basically:&lt;/p&gt;&lt;br /&gt;&lt;p&gt;sin = opp/hyp&lt;br&gt;&lt;br /&gt;and&lt;br&gt;&lt;br /&gt;cos=adj/hyp&lt;/p&gt;&lt;br /&gt;&lt;p&gt;so&lt;/p&gt;&lt;br /&gt;&lt;p&gt;sin/cos = &lt;sup&gt;(opp/hyp)&lt;/sup&gt;/&lt;sub&gt;(adj/hyp)&lt;/sub&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;so if we cancel the hyp’s we get&lt;/p&gt;&lt;br /&gt;&lt;p&gt;sin/cos = opp/adj&lt;/p&gt;&lt;br /&gt;&lt;p&gt;and since tan = opp/adj&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;tan = sin/cos&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-6861158728474962923?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/6861158728474962923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/tansincos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/6861158728474962923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/6861158728474962923'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/tansincos.html' title='Tan=Sin/Cos'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-2735378573596448462</id><published>2008-12-03T11:10:00.000-08:00</published><updated>2008-12-03T11:11:35.116-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cosine rule'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='maths help'/><category scheme='http://www.blogger.com/atom/ns#' term='trigonometry'/><category scheme='http://www.blogger.com/atom/ns#' term='cos rule'/><category scheme='http://www.blogger.com/atom/ns#' term='sin rule'/><category scheme='http://www.blogger.com/atom/ns#' term='sine rule'/><title type='text'>Sine and Cosine Rules</title><content type='html'>&lt;p&gt;This is the basics of the sine cos and tan graphs and how sine and cos relate to give you tan. It also shows how to differentiate sin and cos.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The output or range of both sine and cos is from -1 to 1 when given any angle. They can be shown on a graph where y = sin(x) and y = cos(x). In these graphs all the angles go along the x axis and you can see a wave type shape is formed&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Sine Graph&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;img src="http://www.wsd1.org/waec/math/Pre-Calculus%20Advanced/Trigonometry/Graphing/images/sinxbasic.gif" alt="graph of y=sin(x)"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Cosine Graph&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Cos.svg/800px-Cos.svg.png" alt="cosine graph"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;As you can see both the sin and cos graphs move periodically between -1 and 1 as the angles change, this pattern continues indefinitely because once you pass 360 degrees or 2 pi radians you will return back to the beginning. If you try to perform sin&lt;sup&gt;-1&lt;/sup&gt; of  a value out side the range -1 to 1 you will get an error.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Differentiate Sin and Cos&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;also notice that the gradient of the sin graph is the value of the cos graph for the same angle and that the gradient of the cos graph is the -value of the sin graph for that angle. This means that we can differentiate the sin and cos graphs:&lt;br&gt;&lt;br /&gt;if f(x) = sin(x) then f ‘ (x)=cos(x)&lt;br&gt;&lt;br /&gt;and&lt;br&gt;&lt;br /&gt;if f(x) = cos(x) then f ‘ (x) = -sin(x)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;however if we use ax instead of x we must differentiate it by bringing the a out, when its just x this doesn’t matter as the differential of x is 1.&lt;br&gt;&lt;br /&gt;ie)&lt;br&gt;&lt;br /&gt;let y = sin(f(x))&lt;br&gt;&lt;br /&gt;now let u = f(x)&lt;br&gt;&lt;br /&gt;du/dx = f ‘ (x)&lt;br&gt;&lt;br /&gt;also&lt;br&gt;&lt;br /&gt;y=sin(u) as u = f(x)&lt;br&gt;&lt;br /&gt;dy/du = cos(u)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;from the chain rule&lt;/p&gt;&lt;br /&gt;&lt;p&gt;dy/dx = du/dx * dy/du&lt;br&gt;&lt;br /&gt;therefore&lt;br&gt;&lt;br /&gt;&lt;strong&gt;if y = sin(f(x))&lt;br&gt;&lt;br /&gt;dy/dx = f ‘ (x)cos(f(x))&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;and similarly for cos&lt;br&gt;&lt;br /&gt;if y = cos(f(x))&lt;br&gt;&lt;br /&gt;dy/dx = -f ‘ (x)sin(f(x))&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-2735378573596448462?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/2735378573596448462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/sine-and-cosine-rules.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/2735378573596448462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/2735378573596448462'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/sine-and-cosine-rules.html' title='Sine and Cosine Rules'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1264025783776719002.post-8467230336080400630</id><published>2008-12-03T11:08:00.000-08:00</published><updated>2008-12-03T11:10:16.772-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='circle'/><category scheme='http://www.blogger.com/atom/ns#' term='pi'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='circumference'/><category scheme='http://www.blogger.com/atom/ns#' term='maths help'/><category scheme='http://www.blogger.com/atom/ns#' term='area'/><title type='text'>Area and Circumference of a Circle: pi</title><content type='html'>&lt;p&gt;This is a basic guide to using pi to find the area and circumference of a circle using pi. And also explores why pi makes our formulea work.&lt;/p&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;img src="http://www.mathsisfun.com/geometry/images/circle.gif" alt="Circle radius and circumference" height="220" width="208"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;area =πr&lt;sup&gt;2&lt;/sup&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;circumference = 2πr or πd&lt;/p&gt;&lt;br /&gt;&lt;p&gt;where r =  radius and d=diameter&lt;/p&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;strong&gt;Area&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;div&gt;First lets look at the area of a circle, given by area =πr&lt;sup&gt;2&lt;/sup&gt;. This is simple enough to use, we multiply the radius by itself and then by pi.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Does this make sense?&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Well r squared is at least going to be an area but it might be a bit small so we multipy by pi. However this doesnt explain much untill we consider what pi is, the easiest way i find to do this is as follows&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src="http://www.j-bradford-delong.net/movable_type/images2/circle2.gif" alt="" height="300" width="400"&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If we imagine a square that the circle fits inside perfectly(so it touches all four sides like the one above) r squared would give us one quadrant, so the area of that square is 4 x r&lt;sup&gt;2&lt;/sup&gt; . Of course the circle’s area is a bit smaller so we need to find the ratio between the areas of the square and circle. If we then times this value by four we have a magic constant to multiply r squared by to find the area of a circle (we times by four because we need the area of 4 quadrants and r squared gives us one).&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now this magic constant is pi (which makes sense being just over 3, meaning the area of the circle is just over 3/4 of the area of the square).&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Circumference&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;The circumference of a circle is given by 2πr or πd. This seems simple, we just multiply the diameter (2r) by our magic constant pi.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Does this also make sense?&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;seeing as we only have one r this time so only one length it seems we are just finding a factor to increase the length by to make a different length(the circumference) which makes sense.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Again lets consider the square into which our circle fits perfectly, the perimeter of this square would be 4 time the length of one of the sides.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now the length of the sides = the diameter so the perimeter is 4d.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Notice again that the value we are trying to find for the square is multiplied by 4, but for a circle were gonna need a ratio thats a bit smaller.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;So we need to replace the 4, for a square, with another, smaller, number — it seems pi will do the job.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;To me when i consider pi i don’t look at it as a magical fundamental constant, but more a magical fundamental constant multiplied by four, because when I consider how these formula work using pi this is how they seem to work.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;So this new constant is really the ratio of&lt;/div&gt;&lt;br /&gt;&lt;div&gt;area of square to area of circle&lt;br&gt;&lt;br /&gt;perimeter of square to circumference of circle.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;and it = pi/4 = 0.785398….&lt;/div&gt;&lt;br /&gt;&lt;div&gt;so if you have a value for a square and you want a similar value for the circle you just need to multiply it by this number and you’ll have your answer &lt;img src="http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"&gt; &lt;/div&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;div&gt;I welcome comments, improvements or errors in this post. Please leave your comments below or email me at woodford_4@hotmail.co.uk&lt;/div&gt;&lt;br /&gt;&lt;div&gt;thanks&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-8467230336080400630?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/8467230336080400630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/area-and-circumference-of-circle-pi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8467230336080400630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8467230336080400630'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/area-and-circumference-of-circle-pi.html' title='Area and Circumference of a Circle: pi'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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-1264025783776719002.post-8771668498715124152</id><published>2008-12-03T11:03:00.000-08:00</published><updated>2008-12-03T11:08:56.280-08:00</updated><title type='text'>Ellipse’s: equation, foci, eccentricity</title><content type='html'>&lt;p&gt;The equation of ellipse is usually written in one of 2 ways, as a parametric equation or as a Cartesian equation are as follows&lt;/p&gt;&lt;br /&gt;&lt;p&gt;P(h +a cos t ,k+ b sint), Where P is a point of the ellipse&lt;/p&gt;&lt;br /&gt;&lt;p&gt;or&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img src="http://upload.wikimedia.org/math/f/a/b/fab390fc0da850f54008e7d449474753.png" alt="" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;where h and k are the amount the center of the ellipse is offset from the origin in the x and y directions and a and b the points on the x and y axis where the ellipse cuts.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;An ellipse has to focal points (+/- ae) and can be defined as the loci of all the points P such that the sum of the distances from P to each focal point is constant.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The eccentricity of an ellipse e defines how sharp the ends of it are. e is always &amp;lt; 1 and can be calculated from the equation b&lt;sup&gt;2&lt;/sup&gt; = a&lt;sup&gt;2&lt;/sup&gt;(1-e&lt;sup&gt;2&lt;/sup&gt;).&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The directrices of an ellipse are x = ±a/e. These are lines such that the ratio of the distance from every point P on the ellipse from the directic and foci is the constant e, the eccentricity of the ellipse.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For example at the point (a,0) on the ellipse the distance to the directirc is&lt;br /&gt;&lt;br /&gt;a/e - a = a(1/e - 1) = a(1-e)/e&lt;br /&gt;&lt;br /&gt;and the distance from the ellipse to the foci is&lt;br /&gt;&lt;br /&gt;a - ae= a(1-e)&lt;br /&gt;&lt;br /&gt;the ration of these is&lt;br /&gt;&lt;br /&gt;a(1-e)&lt;br /&gt;&lt;br /&gt;a(1-e)/e&lt;br /&gt;&lt;br /&gt;which equals e&lt;/p&gt;&lt;br /&gt;&lt;p&gt;and for any point p,&lt;br /&gt;&lt;br /&gt;the distance to the directric is&lt;br /&gt;&lt;br /&gt;a/e - acost = a(1/e - cost) = a(1-ecost)/e&lt;br /&gt;&lt;br /&gt;when squared becomes&lt;br /&gt;&lt;br /&gt;a&lt;sup&gt;2&lt;/sup&gt;cost(e&lt;sup&gt;2&lt;/sup&gt;cost-2e)+a&lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;&lt;br /&gt;e&lt;sup&gt;2&lt;/sup&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;the distance to the foci is&lt;/p&gt;&lt;br /&gt;&lt;p&gt;√{(acost-ae)&lt;sup&gt;2&lt;/sup&gt; + b&lt;sup&gt;2&lt;/sup&gt;sin&lt;sup&gt;2&lt;/sup&gt;t}&lt;br /&gt;&lt;br /&gt;which with substitution for b given above becomes&lt;br /&gt;&lt;br /&gt;a&lt;sup&gt;2&lt;/sup&gt;cost(e&lt;sup&gt;2&lt;/sup&gt;cost-2e)+a&lt;sup&gt;2&lt;/sup&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;hence the ratio of the square of these 2 distances e&lt;sup&gt;2&lt;/sup&gt; so the ratio of the distances themselves is e&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Post by David Woodford, also avalible at  &lt;a title="Ellipse notes, foci, eccentricity , parametric equation" href="http://www.breakingwave.hyperphp.com/breakingwave/master.php?page=ellipse.php&amp;amp;grp=maths"&gt;www.breakingwave.co.nr&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1264025783776719002-8771668498715124152?l=trevorpythag.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://trevorpythag.blogspot.com/feeds/8771668498715124152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/ellipses-equation-foci.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8771668498715124152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1264025783776719002/posts/default/8771668498715124152'/><link rel='alternate' type='text/html' href='http://trevorpythag.blogspot.com/2008/12/ellipses-equation-foci.html' title='Ellipse’s: equation, foci,&amp;nbsp;eccentricity'/><author><name>Breakingwave</name><uri>http://www.blogger.com/profile/09104132732654159314</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></feed>
