tag:blogger.com,1999:blog-75453016572349524172024-02-07T02:56:01.623+00:00James Clare's blogspotAnonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-7545301657234952417.post-85680696729852523622014-03-28T15:36:00.001+00:002014-03-28T15:36:13.374+00:00Welcome the duodecimal currency so says Mr OsborneWell not quite. This by the way is not Mr Osborne the Green Goblin although he probably has been called worse. It's Mr George Osborne Chancellor of the exchequer.<br />
<div>
<br /></div>
<div>
Also he hasn't announced a new base for the currency, what he has done instead is announced that the humble £1 coin will have a different design. It will have 12 sides. Yes, this is where I have deceived you, I apologise.</div>
<div>
<br /></div>
<div>
<b>What does 12 sides mean anyway? Does it look better?</b></div>
<div>
Well have you ever wondered how machines recognise coins? They have holes which is just big enough for the coin to go through. 20p and 50p are 5 sided which means thanks to rotation and objects of constant width, they are easy to say what the width is. The issue with the 12 sided coin is it does not have that property, it's a bit of an issue, I'm not sure what the solution is. I personally find object of perfect symmetry ghastly but it depends on who you ask. The dozenal society in the UK would probably be quite pleased.<br />
<br />
<b>Who are the dozenal society?</b><br />
They believe that changing the base of currency and counting to 12 will make things simpler, and they are right. Also there is a dozenal society in the UK and in America.<br />
First of all counting. Every number you get in base 10 can easily be converted over to base 12. Take 2014 as a number, the first thing we have to do is work out the highest powers of 12 (power of 12 e.g. 12^0=1, 12^1=12, 12^2=144, ...) that is less than 2014. Which is 3 (12^4=20736 and 12^3=1728).<br />
<br />
2014/(12^3)=<u><i>1.16550925... </i></u><br />
(12^3)*1=1728. 2014-1728=286.<br />
286/(12^2)=<u><i>1.9861111...</i></u><br />
(12^2)*1=144. 286-144=142.<br />
142/12=<u><i>11.8333...</i></u><br />
12*11=132. 142-132=<u><i>10</i></u>.<br />
<br />
1*(12^3)+1*(12^2)+11*12+10.<br />
Convert 11 and 10 into base 12 numbers i.e. 10=a and 11=b<br />
<br />
2014(base10)=11ba(base12).<br />
There is other methods, this is just one of them.<br />
<br />
If anyone does implement the base 12 system they need a symbol for 10 and for 11 and also a name. This I believe is where the fun comes in, for naming anyway. We already have a number which is in alphabetic order (forty) so can we have reverse alphabetic name like trone for example. The other thing we haven't got is a Palindrome (something that reads the same forwards or backwards e.g. racecar, hannah, 123321). For 11 we could have caac or ette. It probably should be only 1 syllable.<br />
<br />
With base 10 we count on our fingers and thumbs, thats fine. In base 12 we only use the knuckles of our fingers of 1 hand (see already much more efficient) and the thumb can count along. If you count on one finger you can get to 3, do that on all 4 fingers we can get to 12. Now if use both hands we can get to 143 or 12^2-1, good lots of big numbers, but now you ask about learning the times tables.<br />
<br />
Lets count this in base 10. Up to 10 times table there is 100 digits but thanks to patterns we don't need to learn them all, only 77 digits. Times tables 5 and 2 and 10 we can reduce. In the 5 times table, a number ends with a 5 or a 0. We only 2 numbers we need to know. In the 2 times table after 5 numbers it repeats 2, 4, 6, 8, 10. The 10 times table is the same as the 1 times table but with a 0, so we don't need to learn them.<br />
In base 12 however there is a total of 144 digits but we only need to learn 85 numbers. This is more than base 10 but less overall. As a percentage you needed to know 77% of the 100 numbers. In base 12 we need to only know 60%(bit less) of 144 numbers. Why? In base 10 it has prime factors 2 and 5. In base 12 it has 2, 3, 4 and 6. More prime factors means less to remember.<br />
<br />
Also base 12 means there is some interesting things you can do with symmetry, but that's a subject for another day. </div>
Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-14254896674168807232013-08-23T10:00:00.000+01:002013-08-23T10:00:07.478+01:00Pick Up: there is no uming and O.R.ing in MY queue part 2<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVhRNMGEd_B3etjSlaUaRsQ_f3xwYSFhAKbW5dNrawwb0QEde58IMPxL8w_0lZxmpaDKqPA732deOwiJYkwWzglLJJxZQ2j0V7QhBu63_9VYiZk-Pjxw6JZ7Ak7dgaUYtp4ce7UcmSf0s/s1600/IMG_0382.jpg" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVhRNMGEd_B3etjSlaUaRsQ_f3xwYSFhAKbW5dNrawwb0QEde58IMPxL8w_0lZxmpaDKqPA732deOwiJYkwWzglLJJxZQ2j0V7QhBu63_9VYiZk-Pjxw6JZ7Ak7dgaUYtp4ce7UcmSf0s/s1600/IMG_0382.jpg" height="800" width="600" /></a>
<h2>Script:</h2>
<h3>Panel 1:</h3>
Ryan and Michael are walking to the front of the queue to see what the problem is.<br>
1st Security Guard: Good evening ladies. Have you got ID on you?
<h3>Panel 2:</h3>
1st security guard checks the ID
<h3>Panel 3:</h3>
Then he check her chest
<h3>Panel 4:</h3>
Finally he check out her legs<br>
1st security Guard: Okay, go on through
<h3>Panel 4:</h3>
Ryan turns to Michael
Ryan: Michael, I think we have found the problem.<br>
1st Security Guard: NEXT.<br>
<p>Well there are several problems here, where the hell did the 2nd security guy slide off to?</p>
<p> I apologise for the long long absence, I'm still not satisfied with my drawing ability, hopefully practise makes perfect. Anyway how to you solve a problem of a wandering eye?</p>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-85308737241492830082013-05-03T09:30:00.000+01:002013-05-03T09:31:07.283+01:00Pick Up: there is no uming and O.R.ing in MY queue part 1<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_0po8-sU8pbwXje9LWCABD_KQWDiABsX6aUvQdnhwJ4zz-H5zM88JCFcjP2usU6NMhzL-oTx6g2eOgrxI3HKSOkF0yUpSTG1QBcMB6a871gfwMDssZOnnR-bA7U4sp8Rl_w8X6oMpD18/s1600/IMG_0353.JPG" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_0po8-sU8pbwXje9LWCABD_KQWDiABsX6aUvQdnhwJ4zz-H5zM88JCFcjP2usU6NMhzL-oTx6g2eOgrxI3HKSOkF0yUpSTG1QBcMB6a871gfwMDssZOnnR-bA7U4sp8Rl_w8X6oMpD18/s1600/IMG_0353" height="800" width="600" /></a>
<h2>Script:</h2>
<h3>Panel 1:</h3>
Ryan:Holy...
<h3>Panel 2:</h3>
Ryan:What are we going to do?<br>
Michael:Nothing. I'm British, I know how to queue.
<h3>Panel 3:</h3>
Ryan:But what if we could speed it up?<br>
Ryan is rubbing his hands together and looking mischievous. Michael on the over hand looks intrigued and curious.
<p>Okay quite a bigger gap than I said, my delay was due to nervousness over drawing panel 2, as it turns out wasn't that hard and it's okay my art sucks. I'm annoyed I can't draw someone rubbing his hands together.</p>
<p>Since this is part 1 I written part 2 and 3 already. You can guess in the comments what you think Ryan is going to do next.</p>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-85912347088452319252013-02-03T17:35:00.000+00:002013-02-03T17:35:17.593+00:00Pick Up: Pulling the guys<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzLd5ikLuSLIW7JTIqDVJKMqZdsAWWmnYUuaymZF8qcT_Jor5-5G7QAOZvHs7s8mqrmkPVpNBHw7B6zQvuCIyN1tNRh2fLkikhBEzVQ_IYx_D8biGboyis4Xbg1okZr97btDm5HPKrMn8/s1600/IMG_0332.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="800" width="600" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzLd5ikLuSLIW7JTIqDVJKMqZdsAWWmnYUuaymZF8qcT_Jor5-5G7QAOZvHs7s8mqrmkPVpNBHw7B6zQvuCIyN1tNRh2fLkikhBEzVQ_IYx_D8biGboyis4Xbg1okZr97btDm5HPKrMn8/s1600/IMG_0332.jpg" /></a></div>
<h2>Script:</h2>
<h3>Panel 1:</h3>
Ryan:ooh
<h3>Panel 2:</h3>
Ryan:hmm <eyes closed, head tilted to one side><br>
<michael is curious>
<h3>Panel 3:</h3>
Ryan:and then... <smooch face><br>
Michael:What in all-the-numbers-that-have-2-in-it are you doing?
<h3>Panel 4:</h3>
Ryan:playing a scenario where I team up and apply the Nash equilibrium.<br>
Michael:you want to "score" the blonde girl from the film "A beautiful mind"
<h3>Panel 5:</h3>
Ryan:<sigh>No, the other girls.<br>
Michael:okay good, what am i here for then?
<h3>Panel 6:</h3>
Ryan: To help me pull guys to help pull girls
<h3>Panel 7:</h3>
blank look
<h3>Panel 8:</h3>
side on, Michael is serious.<br>
Michael:okay, let's do this.
<h2>the comic</h2>
<p>The proof for all numbers contain 2 was done on <a href="http://www.youtube.com/watch?v=UfEiJJGv4CE">numberphile youtube</a> for the proof we just consider positive integer numbers and count the numbers that contain 2 under 10, then numbers that contain 2 under 100 and the percentage of numbers that contain 2 goes up and you can keep on doing this and there is an equation to work it out. Watch the youtube video they do it for 3 but the same rules apply.<p>
<p>I assume most people in the maths area have watch "A beautiful mind". If you haven't I will try not to spoil it for you. A group of women enter a bar, there is one that stands apart from the rest (the blonde) and the guys are saying "best man gets the prize" Nash then saw what the outcome would be and came up with a different method where every guy wins and the blonde lady is left alone.</p>
<p>A guy who is a <a href="http://www.puatraining.com/blog/how-to-build-a-social-circle">pick up trainer suggested</a> looking for guys to help find and pick up women. Sounds strange but watch the video.</p>
<p>In the comic Michael the driver is not looking on the road on panels 2, 3, 5 and 7(purely coincidental). The seat belt was added after, if your driving you should always wear a seatbelt. The position of Michaels hands on the steering wheel is at the 10 and 2 position (on a clock) always good practise. The driver is in the left which means he's driving on the left hand side of the road (like they do in Britain).</p>
<p>I have wrote the script for the next one already so it should be up soonish.</p>
Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-83292004457842161712012-12-21T11:19:00.000+00:002012-12-21T11:30:37.544+00:00Pick Up: It's a golden car<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIFrOdUhItoMMjFIXkW2HECT4sgUZXd6gTrUhTEwZriMAQm7ANl99UBRJktq6YLS9bUy812hI04AqfeL3caxdruOfTWmQbTO7GxQyeiIgZ0N3cu68atAELGsiHwhcZEM2LG5Jlzx3PTPI/s1600/IMG_0323.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em">
<img border="0" height="800" width="600" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIFrOdUhItoMMjFIXkW2HECT4sgUZXd6gTrUhTEwZriMAQm7ANl99UBRJktq6YLS9bUy812hI04AqfeL3caxdruOfTWmQbTO7GxQyeiIgZ0N3cu68atAELGsiHwhcZEM2LG5Jlzx3PTPI/s1600/IMG_0323.jpg" />
</a></div>
Script:<br>
PANEL 1<br>
Ryan: So whose car are we going in?<br>
Michael: mine<br>
Ryan: What? I thought it would be mine because mines cool<br>
PANEL 2<br>
Michael: It is cool but my car has dimensions which are closer to the "Golden Ratio"<br>
Ryan: Does this mean what I think it means?<br>
Michael: I don't know<br>
Ryan: It's a real lady puller<br>
PANEL 3<br>
Michael: Not exactly... the gears are spaced to make it more fuel efficient. It has a go fast stripe though!<br>
<br>
<p>The golden ratio value is irrational so to 5 decimal places it is 1.61803. A while ago someone did a experiment putting different rectangle on a sheet of paper and they asked volunteers to select the most beautiful rectangle and would you have guessed it, it was the one that had a ratio of 1:1.61803... among other reason like Fibonacci numbers this is why this number may be considered beautiful. Sorry it has been so long, had to have the script tweaked, the car is meant to be based on the old volvo cars, nice and boxy. They have hat and scarves because it's winter and cold, sorry about facial expressions. Like I said before if you are a better artist or you know someone who would do this for FUN, get in touch.</p>
<p>Also it's the time of year for presents (Yay!) the giving and receiving of presents. For some people just staying warm is hard enough. The reason I'm saying this is as mathematicians we don't really believe in luck we believe in chaos and probability. Some people have everything going for them then that small chance of probability hits and things gets worse. Someone's situation may be their fault but some of it could be down to the pesky "no-way-is-that-going-to-happen" probability. Maybe this Christmas think of others. Merry Christmas and a happy new year.</p>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-25822585350698185572012-11-15T17:03:00.000+00:002012-11-15T17:03:16.048+00:00Maths Events in the London areaA while ago I was asked to publicise maths events in the London area, that might be of interest to London based university mathematics students. I was asked on behalf of the IMA (the Institute of Mathematics and its Applications.).<br />
I am not a member of the IMA and all the views in this blog are my own and no way are representative of the IMA.<br />
The<a href="https://www.facebook.com/pages/London-University-Maths-Societies-IMA/31670238106"> Facebook page</a> had been already set up so all I had to do is populate it with events. Harder than you can imagine and also I do need an audience so they can read it (current time of writing it has 190 fans) so I brought it over to <a href="https://twitter.com/IMALonEvents">twitter</a>, since this is where I was getting any events from. <br />
On Facebook I did run an advert campaign for 2 days trying to aim for London universities i.e.:
<ul>
<li>Birkbeck University</li>
<li>City University London</li>
<li>University of Greenwich</li>
<li>Imperial College London</li>
<li>Kingston University</li>
<li>Kings College London</li>
<li>London Metropolitan University</li>
<li>London School of Economics</li>
<li>The Open University???</li>
<li>Queen Mary, University of London</li>
<li>Royal Holloway, University of London</li>
<li>UCL, University College London</li>
</ul>
The main twitter accounts I got my maths event information is these:
<ul>
<li><a href="https://twitter.com/FOTSN">Festival of the spoken nerd</a></li>
<li><a href="https://twitter.com/mathsinthecity">Maths in the city</a></li>
<li><a href="https://twitter.com/sciencemuseum">Science museum</a></li>
<li><a href="https://twitter.com/MathsJam">Maths jam</a></li>
<li><a href="https://twitter.com/GreshamCollege">Gresham college</a></li>
<li><a href="https://twitter.com/robeastaway">Rob Eastaway</a></li>
<li><a href="https://twitter.com/standupmaths">Matt Parker</a></li>
<li><a href="https://twitter.com/peterrowlett">Peter Rowlett</a></li>
<li><a href="https://twitter.com/Tony_Mann">Tony Mann</a></li>
</ul>
There is others so I put them in a<a href="https://twitter.com/bluecombats/science-maths"> twitter list</a> not all talk about events, but most of the links are of some interest. If you know of any events please tweet @IMALonEvents or write on the facebook page please.Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-70545699511135643632012-10-17T10:24:00.001+01:002013-01-18T12:59:57.663+00:00Three word guessing game<p>
This I heard from Alistair from <a href="http://outofthenormmaths.wordpress.com/">Out of the Norm</a> at one of the <a href="http://www.mathsjam.com/">MathJams</a> a couple of people wondered if you could put this online, well I believe I have done it. The rules are simple, someone puts in a valid three letter word, then the other person guesses using valid three letter words. If you guess one letter or 3 letters correct you will get the result of "odd", if you get 2 letters correct the result is even, if all the letters are correct and in the right order result is "finish".
</p>
<p>
A couple of things I haven't done, CAN'T play against the computer it is a 2 player game, also can't verify if the word is a proper three letter word apart from that it's all good
</p>
<script type="text/javascript">
function HideWord(){
document.getElementById("ChooseWord").style.display="none";
document.getElementById("redoWord").style.display="";
document.getElementById("secondplayer").style.display="";
}
function ShowWord(){
document.getElementById("ChooseWord").style.display="";
document.getElementById("redoWord").style.display="none";
}
function Check(rowNumber){
var count1=0,finish=0,count=0,result;
var letter1=document.getElementById("FirstLetter").value;
var letter2=document.getElementById("SecondLetter").value;
var letter3=document.getElementById("ThirdLetter").value;
eval("var rowletter1=document.getElementById('row'+rowNumber+'FirstLetter').value;");
eval("var rowletter2=document.getElementById('row'+rowNumber+'SecondLetter').value;");
eval("var rowletter3=document.getElementById('row'+rowNumber+'ThirdLetter').value;");
//rules
//check for double letters
if(letter1==letter2){
count1=-1;
}
if(letter1==letter3){
count1=-1;
}
if(letter2==letter3){
count1=-1;
}
//check for double letters in guess
if(rowletter1==rowletter2){
count1=count1-1;
}
if(rowletter1==rowletter3){
count1=count1-1;
}
if(rowletter2==rowletter3){
count1=count1-1;
}
//check
if(letter1==rowletter1){
count=1+letter2Check(2,3,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
else if(letter1==rowletter2){
count=1+letter2Check(1,3,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
else if(letter1==rowletter3){
count=1+letter2Check(1,2,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
else{
letter2Check(1,2,3,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
//order correct
if(letter1==rowletter1){
finish=finish+1;
}
if(letter2==rowletter2){
finish=finish+1;
}
if(letter3==rowletter3){
finish=finish+1;
}
//count updated
//count=count+count1;
var remainder=count%2;
if(finish==3){
result="finish";
}
else if (remainder==0){
result="even";
}
else{
result="odd";
}
/*result=result+letter1+letter2+letter3+rowletter1+rowletter2+rowletter3+
count+finish+count1;
*/
eval("document.getElementById('row'+rowNumber+'Results').innerHTML=result;");
}
function letter2Check(row1,row2,row3,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3){
var count=0;
if(row3==null){
eval("if(letter2==(rowletter"+row1+")){\ncount=1+letter3Check(row2,null,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);\n}\nelse if(letter2==(rowletter"+row2+")){\ncount=1+letter3Check(row1,null,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);\n}\n");
}
else{
if(letter2==rowletter1){
count=1+letter3Check(2,3,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
else if(letter2==rowletter2){
count=1+letter3Check(1,3,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
else if(letter2==rowletter3){
count=1+letter3Check(1,2,null,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3);
}
else{
letter3Check(1,2,3,letter1,letter2,letter3);
}
}
return count;
}
function letter3Check(row1,row2,row3,letter1,letter2,letter3,rowletter1,rowletter2,rowletter3){
var count=0;
if((row2==null)&&(row3==null)){
eval("if(letter3==(rowletter"+row1+")){\ncount=1;\n}");
}
else if(row3==null){
eval("if(letter3==(rowletter"+row1+")){\ncount=1;\n}\nelse if(letter3==rowletter"+row2+"){\ncount=1;\n}");
}
else{
if(letter3==rowletter1){
count=1;
}
else if(letter3==rowletter2){
count=1;
}
else if(letter3==rowletter3){
count=1;
}
}
return count;
}
function reset(){
document.getElementById('FirstLetter').value='A';
document.getElementById('SecondLetter').value='A';
document.getElementById('ThirdLetter').value='A';
for(var i=1;i<21;i++){
eval("document.getElementById('row'+i+'FirstLetter').value='A';");
eval("document.getElementById('row'+i+'SecondLetter').value='A';");
eval("document.getElementById('row'+i+'ThirdLetter').value='A';");
eval("document.getElementById('row'+i+'Results').innerHTML='';");
}
}
</script>
<div id="ChooseWord">
Pick a three letter word
<select id="FirstLetter">
<!--Selected-->
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
<option value="E">E</option>
<option value="F">F</option>
<option value="G">G</option>
<option value="H">H</option>
<option value="I">I</option>
<option value="J">J</option>
<option value="K">K</option>
<option value="L">L</option>
<option value="M">M</option>
<option value="N">N</option>
<option value="O">O</option>
<option value="P">P</option>
<option value="Q">Q</option>
<option value="R">R</option>
<option value="S">S</option>
<option value="T">T</option>
<option value="U">U</option>
<option value="V">V</option>
<option value="W">W</option>
<option value="X">X</option>
<option value="Y">Y</option>
<option value="Z">Z</option>
</select>
<select id="SecondLetter">
<!--Selected-->
<option value="A" selected='selected'>A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
<option value="E">E</option>
<option value="F">F</option>
<option value="G">G</option>
<option value="H">H</option>
<option value="I">I</option>
<option value="J">J</option>
<option value="K">K</option>
<option value="L">L</option>
<option value="M">M</option>
<option value="N">N</option>
<option value="O">O</option>
<option value="P">P</option>
<option value="Q">Q</option>
<option value="R">R</option>
<option value="S">S</option>
<option value="T">T</option>
<option value="U">U</option>
<option value="V">V</option>
<option value="W">W</option>
<option value="X">X</option>
<option value="Y">Y</option>
<option value="Z">Z</option>
</select>
<select id="ThirdLetter">
<!--Selected-->
<option value="A" selected='selected'>A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
<option value="E">E</option>
<option value="F">F</option>
<option value="G">G</option>
<option value="H">H</option>
<option value="I">I</option>
<option value="J">J</option>
<option value="K">K</option>
<option value="L">L</option>
<option value="M">M</option>
<option value="N">N</option>
<option value="O">O</option>
<option value="P">P</option>
<option value="Q">Q</option>
<option value="R">R</option>
<option value="S">S</option>
<option value="T">T</option>
<option value="U">U</option>
<option value="V">V</option>
<option value="W">W</option>
<option value="X">X</option>
<option value="Y">Y</option>
<option value="Z">Z</option>
</select>
<input type=button value="Now hide the word" onclick="HideWord()"/>
</div>
<div id="redoWord" style="display:none;">
<input type=button value="redo the word" onclick="ShowWord()"/>
</div>
<div id="secondplayer" style="display:none;">
<table border="1">
<tr>
<td> numbers of guesses
</td>
<td> choose letters
</td>
<td>check
</td>
<td>result(odd/even/correct order)
</td>
</tr>
<tr>
<td>
1
<td>
<select id='row1FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row1SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row1ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(1)'/>
</td>
<td>
<span id='row1Results'></span>
</td>
<tr>
<td>
2
<td>
<select id='row2FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row2SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row2ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(2)'/>
</td>
<td>
<span id='row2Results'></span>
</td>
<tr>
<td>
3
<td>
<select id='row3FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row3SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row3ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(3)'/>
</td>
<td>
<span id='row3Results'></span>
</td>
<tr>
<td>
4
<td>
<select id='row4FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row4SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row4ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(4)'/>
</td>
<td>
<span id='row4Results'></span>
</td>
<tr>
<td>
5
<td>
<select id='row5FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row5SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row5ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(5)'/>
</td>
<td>
<span id='row5Results'></span>
</td>
<tr>
<td>
6
<td>
<select id='row6FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row6SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row6ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(6)'/>
</td>
<td>
<span id='row6Results'></span>
</td>
<tr>
<td>
7
<td>
<select id='row7FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row7SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row7ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(7)'/>
</td>
<td>
<span id='row7Results'></span>
</td>
<tr>
<td>
8
<td>
<select id='row8FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row8SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row8ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(8)'/>
</td>
<td>
<span id='row8Results'></span>
</td>
<tr>
<td>
9
<td>
<select id='row9FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row9SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row9ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(9)'/>
</td>
<td>
<span id='row9Results'></span>
</td>
<tr>
<td>
10
<td>
<select id='row10FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row10SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row10ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(10)'/>
</td>
<td>
<span id='row10Results'></span>
</td>
<tr>
<td>
11
<td>
<select id='row11FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row11SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row11ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(11)'/>
</td>
<td>
<span id='row11Results'></span>
</td>
<tr>
<td>
12
<td>
<select id='row12FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row12SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row12ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(12)'/>
</td>
<td>
<span id='row12Results'></span>
</td>
<tr>
<td>
13
<td>
<select id='row13FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row13SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row13ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(13)'/>
</td>
<td>
<span id='row13Results'></span>
</td>
<tr>
<td>
14
<td>
<select id='row14FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row14SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row14ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(14)'/>
</td>
<td>
<span id='row14Results'></span>
</td>
<tr>
<td>
15
<td>
<select id='row15FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row15SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row15ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(15)'/>
</td>
<td>
<span id='row15Results'></span>
</td>
<tr>
<td>
16
<td>
<select id='row16FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row16SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row16ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(16)'/>
</td>
<td>
<span id='row16Results'></span>
</td>
<tr>
<td>
17
<td>
<select id='row17FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row17SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row17ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(17)'/>
</td>
<td>
<span id='row17Results'></span>
</td>
<tr>
<td>
18
<td>
<select id='row18FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row18SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row18ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(18)'/>
</td>
<td>
<span id='row18Results'></span>
</td>
<tr>
<td>
19
<td>
<select id='row19FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row19SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row19ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(19)'/>
</td>
<td>
<span id='row19Results'></span>
</td>
<tr>
<td>
20
<td>
<select id='row20FirstLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row20SecondLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select><select id='row20ThirdLetter'>
<option value='A'>A</option>
<option value='B'>B</option>
<option value='C'>C</option>
<option value='D'>D</option>
<option value='E'>E</option>
<option value='F'>F</option>
<option value='G'>G</option>
<option value='H'>H</option>
<option value='I'>I</option>
<option value='J'>J</option>
<option value='K'>K</option>
<option value='L'>L</option>
<option value='M'>M</option>
<option value='N'>N</option>
<option value='O'>O</option>
<option value='P'>P</option>
<option value='Q'>Q</option>
<option value='R'>R</option>
<option value='S'>S</option>
<option value='T'>T</option>
<option value='U'>U</option>
<option value='V'>V</option>
<option value='W'>W</option>
<option value='X'>X</option>
<option value='Y'>Y</option>
<option value='Z'>Z</option>
</select></td>
<td>
<input type='Button' value'Check' onclick='Check(20)'/>
</td>
<td>
<span id='row20Results'></span>
</td>
</table>
<input type=button value="reset" onclick="reset()"/>
</div>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com2tag:blogger.com,1999:blog-7545301657234952417.post-19962517044920596422012-10-12T14:33:00.000+01:002012-12-21T11:30:02.461+00:00Pick Up: It's friday comic 001<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8jdfp1HeszhqpOWJO4xxd8y0aVCpo8s9Op5SUanZwwAHxE_rAgY4ify1x-i_QS9ZuVpoEtoheMDpvXFrsWv1VyYAT0V7w9zqrfmejWYZ0bJXwI60qWiWQ3a8b72C3N6kZoPEASDEX71k/s1600/IMG_0293.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em">
<img border="0" height="800" width="600" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8jdfp1HeszhqpOWJO4xxd8y0aVCpo8s9Op5SUanZwwAHxE_rAgY4ify1x-i_QS9ZuVpoEtoheMDpvXFrsWv1VyYAT0V7w9zqrfmejWYZ0bJXwI60qWiWQ3a8b72C3N6kZoPEASDEX71k/s1600/IMG_0293.jpg" />
</a>
</div>
<p>
Script</br>
PANEL 1<br>
2 seconds to 5pm<br><br>
PANEL 2<br>
5pm<br><br>
PANEL 3<br>
Ryan:It's Friday, it's the weekend<br><br>
PANEL 4<br>
Ryan:Hey Michael, are we going out tonight and you still on for being my wingman<br>
Michael:Yep<br><br>
PANEL 5<br>
Michael:What club do you want to go to<br>
Ryan:er<br><br>
PANEL 6<br>
Ryan:Let me find out<br><br>
PANEL 7<br>
Michael:Are you doing goal programming?<br>
Ryan:Yeah<br><br>
PANEL 8<br>
Michael:Don't bother, I know what club your going to pick<br>
Ryan:Oh yeah, which<br><br>
PANEL 9<br>
Michael:Club Panther, it's the only one that serves woo woo drinks<br>
Ryan:What, it's a nice drink.<br>
</p>
<p>
If you haven't seen "Harold and Kumar" they start with an goal and then get side tracked. That was the idea of what this is hopefully going to be.
</p>
<p>
In Panel 6 Ryan is rating amount of women in a bar. The problem is he hasn't stated if the women are single and or straight. He could have ended up in a lesbian bar. Last panel I mentioned woo woo drinks just a reference to Aled from the Chris Moyles show, it's ended after 8 years (longest running breakfast show in bbc Radio 1).
</p>
<p>
Due to amount of free time I have hopefully I'll do one at least once a month. By the way I know the drawing is rubbish, if you fancy doing the art email me(James Clare) <span id="start"></span>AT<span id="finish"></span>.
</p>
<script type="text/javascript">
document.getElementById("start").innerHTML="<first name>p<surname>";
document.getElementById("finish").innerHTML="gmailDOTcom";
</script>
Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-83282934846030187452012-08-30T21:02:00.000+01:002012-08-30T21:02:00.004+01:00a while ago I said I may post comics or drawings on here. Well I have done a rather hint of rudeness comic:
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdmfpRy4smfb719fDNEZ8BFxG66pIBNTm2ZQ0_rdbPV4R7zRa4CEEg6SOH-kdxlb7z0ivgwDLFzNGHHwd32hONy17ulf4uyiOqCl8IEUAtTnGkcm735jg1augYLBAVHTj3cLCAlXvxNBA/s1600/IMG_0286.JPG" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="299" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdmfpRy4smfb719fDNEZ8BFxG66pIBNTm2ZQ0_rdbPV4R7zRa4CEEg6SOH-kdxlb7z0ivgwDLFzNGHHwd32hONy17ulf4uyiOqCl8IEUAtTnGkcm735jg1augYLBAVHTj3cLCAlXvxNBA/s400/IMG_0286.JPG" /></a></div>
In case you can't tell the script is this:<br>
<br>
<b>GIRL:</b> Hmm nice what aftershave is that?<br>
<b>GUY:</b> It's not aftershave it's citrus shampoo<br>
<b>GIRL:</b> wow wonderful<br>
<b>GUY:</b> Yeah. If I get get lucky, my other regions smell real good.<br>
<p>Not the best script (or drawing) but I wasn't planning on being amazing, just constantly improving. That was a slightly true story. I don't wear aftershave mainly because I'm forgetful and I don't think it adds a nicer smell. Someone said I smelt nice, I knew it wasn't aftershave cause I don't wear any. It was in fact my underarm (antiperspirant deodorant) that smelt nice (the last panel I added cause I thought it was a good joke). Anyway I had an idea for a (maybe) less rude comic idea, here is the script:</p>
<b>GUY</b>:The title for this book is wrong, there is not 50 shades there is infinity shades of grey, anyway what is this book about?<br>
<b>GIRL</b>: A girl talking about S & M.<br>
<b>GUY</b>: You mean Single Machine scheduling.<br>
<b>GIRL</b>: Er...not quite.<br>
<br>
<p>The end goal is maybe come up with a running storyline, for the moment though I'll just have fun.</p>
Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-30368075874230362602012-08-11T16:50:00.000+01:002012-08-11T16:50:19.200+01:00Drawing something<p>A while ago I was playing with a few friends an application called "Draw Something" basically the idea is you choose from a list what you want to draw, you submit it and then your friend guesses what you drew. Sounds good. Only after you play a while some of the words crop up again so the idea of playing seems pointless.</p>
<p>Anyway a friend of mine rarely check the application so I write to him on facebook to come on and play (most of the time using colourful language). My last attempt to persuade my friend I drew this:</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHmEpwS5xkXoGdKMCLYqHfcA_7n_W9J3_gq8vkjuGmX5aq2ZVbqBoBwmg13a9qqlGPSQh0d6yvHyY6mtLwcTJnon_hMVnjkhD3HjhUR8YWK9x7YzFdppTG5Tib1ikgPNbEdU3CDJT7JWs/s1600/IMG_0231.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="400" width="299" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHmEpwS5xkXoGdKMCLYqHfcA_7n_W9J3_gq8vkjuGmX5aq2ZVbqBoBwmg13a9qqlGPSQh0d6yvHyY6mtLwcTJnon_hMVnjkhD3HjhUR8YWK9x7YzFdppTG5Tib1ikgPNbEdU3CDJT7JWs/s400/IMG_0231.jpg" /></a></div>
<p>Not the greatest drawing in the world, but it looks like a cowboy saying a line similar to the one in "Dirty Harry". I was thinking "Draw Something" will never ask me to draw something like this. I may put random pics I drew on here, maybe.</p>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-21716266607216413912012-07-16T12:06:00.001+01:002012-07-16T12:06:18.892+01:00Changing Bases<p>I have just started reading <a href="http://alexbellos.com/">Alex's Adventure in Numberland"</a> and in it, he started talking about counting in different bases and how different cultures count (I won't spoil it for you don't worry). One thing he said was learning the times tables would be easier and I can't disagree i.e.</p>
<table>
<tr>
<td>
3 times table
<ul style="list-style-type:none;">
<li>3 x 1 = 3</li>
<li>3 x 2 = 6</li>
<li>3 x 3 = 9</li>
<li>3 x 4 = 10</li>
<li>3 x 5 = 13</li>
<li>3 x 6 = 16</li>
<li>3 x 7 = 19</li>
<li>3 x 8 = 20</li>
<li>3 x 9 = 23</li>
</ul>
</td>
<td>
4 times table
<ul style="list-style-type:none;">
<li>4 x 1 = 4</li>
<li>4 x 2 = 8</li>
<li>4 x 3 = 10</li>
<li>4 x 4 = 14</li>
<li>4 x 5 = 18</li>
<li>4 x 6 = 20</li>
<li>4 x 7 = 24</li>
<li>4 x 8 = 28</li>
<li>4 x 9 = 30</li>
</ul>
</td>
</tr>
</table>
<p>The reason for it's simplicity is because 12 has more factors 1,2,3,4 and 6, whereas 10 has 1,2 and 5.</p>
<p>I wanted to know whether it was more good looking. When I was in primary school we made shapes on squares paper by using the times tables. First pick a point and then go in a clockwise direction (North, East, South and West) and plot the 2 times table. When you get to a 2 digit number like 14, you add the digits together (1 + 4 = 5) and plot this number.</p>
<p>For example this is base 10. times table 1 to 5.</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0P1sDoDEy21EzycyzsmEI7w_s3n9Gz5_lExhdhF-1dRsFGqMYcL-UYnDn0lTCfeNcIZKFjTNGyYq3hKv2Agi1CXgDQgEYe4SIFLXAShqDU5_8GF674IjjOLe1eIAgwOMeEoi87SrwvxU/s1600/01base10.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0P1sDoDEy21EzycyzsmEI7w_s3n9Gz5_lExhdhF-1dRsFGqMYcL-UYnDn0lTCfeNcIZKFjTNGyYq3hKv2Agi1CXgDQgEYe4SIFLXAShqDU5_8GF674IjjOLe1eIAgwOMeEoi87SrwvxU/s400/01base10.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8FKJ-VGLZbXgoPcyFnwxLDmZIigAaQgnJHZVDVDNGNgeuv5dbIJkA2THn1fZlQCrgc7pvcG37sQsIG8Y4xeMUi-js5d61MwMdstTBV9Vu41bWgjnUkI9eZpn8FAZeDrtFl5KYzQgouOs/s1600/02base10.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8FKJ-VGLZbXgoPcyFnwxLDmZIigAaQgnJHZVDVDNGNgeuv5dbIJkA2THn1fZlQCrgc7pvcG37sQsIG8Y4xeMUi-js5d61MwMdstTBV9Vu41bWgjnUkI9eZpn8FAZeDrtFl5KYzQgouOs/s400/02base10.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmCApDAc0rR5E1tyXeVe8t-b1yx4vVopW_1NGvVbeGneTrDQQLsfLnhQrs0ZYA11k1WqBI9xKZBCj1y1VG_A_wPR5ykb9Ofm0i-kDul2QJyKwJ1u-ybBvUGGekYhEzTl7d_4m-Q70MwCw/s1600/03base10.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmCApDAc0rR5E1tyXeVe8t-b1yx4vVopW_1NGvVbeGneTrDQQLsfLnhQrs0ZYA11k1WqBI9xKZBCj1y1VG_A_wPR5ykb9Ofm0i-kDul2QJyKwJ1u-ybBvUGGekYhEzTl7d_4m-Q70MwCw/s400/03base10.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIDgs_vX0PrQjIcYUEBawhQZEF3qCsXvTLmsV6v80Rx91gvh30hF7PlLEPAo86PYEYG_hKsntN8sXdriFJBJNKsS26WYdg-jUuZ9a5kQLDVPiFg-uD63Vl1qPejwkvLelXSUja8yFciLU/s1600/04base10.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIDgs_vX0PrQjIcYUEBawhQZEF3qCsXvTLmsV6v80Rx91gvh30hF7PlLEPAo86PYEYG_hKsntN8sXdriFJBJNKsS26WYdg-jUuZ9a5kQLDVPiFg-uD63Vl1qPejwkvLelXSUja8yFciLU/s400/04base10.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPH36QXznmGpazDnMhTAf5XYOIsrR-sMMYGLxT6Ui9OoSwxAqaHK3BAZEBGvij6BCTqrakyj3KNlb-ENL9Ekr4NZnDEQ103KxtEUvqiRJQaK-QtN-sIKvvDcFLNbYXW19y-n0JrQ4azwo/s1600/05base10.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPH36QXznmGpazDnMhTAf5XYOIsrR-sMMYGLxT6Ui9OoSwxAqaHK3BAZEBGvij6BCTqrakyj3KNlb-ENL9Ekr4NZnDEQ103KxtEUvqiRJQaK-QtN-sIKvvDcFLNbYXW19y-n0JrQ4azwo/s400/05base10.jpg" /></a></div>
<p>How does this compare with base 12?</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU8MtRSoRYN_ro2TcfGDN4r1_lMYSc1SyYtQb5kXDyN4KoxMGPLjBEYwGYST76_mBOMd-8jMd0qkv0ttIlLhMTM1yqhslVJJfNNdx-0105V02sLoLlRLq-34Kzs2FPf8mr1Ey3pkgWF00/s1600/01base12.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU8MtRSoRYN_ro2TcfGDN4r1_lMYSc1SyYtQb5kXDyN4KoxMGPLjBEYwGYST76_mBOMd-8jMd0qkv0ttIlLhMTM1yqhslVJJfNNdx-0105V02sLoLlRLq-34Kzs2FPf8mr1Ey3pkgWF00/s400/01base12.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLkdD1Q3CrGp-iu0G6iljTfKcR4k18hUnZhychhtGWD1H44DX78eJbeFD7Y0pe8C8k5oF-GqXRFdNGw4KnWQ3mhyphenhyphenJ0YdzdQpx3NFk7xaXyBwRp11TyahVMrd_Yt55tXu7WzZlI2RouwVg/s1600/02base12.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLkdD1Q3CrGp-iu0G6iljTfKcR4k18hUnZhychhtGWD1H44DX78eJbeFD7Y0pe8C8k5oF-GqXRFdNGw4KnWQ3mhyphenhyphenJ0YdzdQpx3NFk7xaXyBwRp11TyahVMrd_Yt55tXu7WzZlI2RouwVg/s400/02base12.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkaCSKtJ9UAj_XLohJzDotP2fL4IPwRA4zjAFkJhGbG5zcdQNhbJyOKBvUTAfNFeCowlKGgRwUm6NAizO8NNHNfrra3wHi357MReJGvvaQ0UUr2hBp-vcSrCSbuF27t8RXKrh_kE_KIqs/s1600/03base12.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkaCSKtJ9UAj_XLohJzDotP2fL4IPwRA4zjAFkJhGbG5zcdQNhbJyOKBvUTAfNFeCowlKGgRwUm6NAizO8NNHNfrra3wHi357MReJGvvaQ0UUr2hBp-vcSrCSbuF27t8RXKrh_kE_KIqs/s400/03base12.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUhoOBjdbL925SeqjK72leHXriX3ejkyt2iKRHQi7dUhpSe8OBxbSnqksmsI_EpMAO-rLALinuseSMQ9pfCJEy9mMHUHhz1oRJS7wbzt7UdDbctbiP7v55oJxm9OMdNFR7k1Uu4dnxWNw/s1600/04base12.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUhoOBjdbL925SeqjK72leHXriX3ejkyt2iKRHQi7dUhpSe8OBxbSnqksmsI_EpMAO-rLALinuseSMQ9pfCJEy9mMHUHhz1oRJS7wbzt7UdDbctbiP7v55oJxm9OMdNFR7k1Uu4dnxWNw/s400/04base12.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfSOQx-Uxs1mXBh6fPN4na4z0SuxEhmMGfMo5oemt8PAe_LiRVSYiZZg5YVHhPca-UHscJkxV5Wq8e1jEW5I88c2jFXtcg6pl6I3WIh5ovmoTt1sr1QlZleLbk9DJQg4huMUQlN0AnDQs/s1600/05base12.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfSOQx-Uxs1mXBh6fPN4na4z0SuxEhmMGfMo5oemt8PAe_LiRVSYiZZg5YVHhPca-UHscJkxV5Wq8e1jEW5I88c2jFXtcg6pl6I3WIh5ovmoTt1sr1QlZleLbk9DJQg4huMUQlN0AnDQs/s400/05base12.jpg" /></a></div>
Personally I think base 12 looks better, more patterns. If you are interested there is a <a href="http://www.dozenalsociety.org.uk/">UK</a> and <a href="http://www.dozenal.org/">USA</a> society dedicated to base 12. These pictures was created using Paint.NET (Windows)(I created the grid myself).Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-72040034316812326322012-06-01T14:11:00.000+01:002013-11-15T12:15:26.200+00:00Physica Mbrick3 beginners guideI may have mentioned that for my MSc project I designed a <a href="http://staffweb.cms.gre.ac.uk/%7Edg12/webphy/MeshBuilder.php">website</a> that should make it clearer what lines are available for what module and what they do. This is so you can create an inform file. To run physica you do need a geometry file as well. There is one called MBrick and this creates a file (meshfilename.mb) this then creates a geometry file (meshfilename.geo) when run in physica and will then produce some outputs.<br />
This will be your beginners guide to using MBrick (also known as MB3).<br />
first it would be a good idea to have a vague idea of what you are going to mesh, so start off with a picture (the measurements are in mm). The thickness of the block is 5mm.
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNnqaMKRG2wkol6e6T1v7N4LB17UMGw0yjzEzPaIi3o-kASRTN_vQAAhebtzt0LQagk7mm_FqbGuXwlIjcgupup0NQKnHFbJc3gcHV9ka-pOmdgsUWcS1O7D9aX6IbxcNDtOfJfddTD7c/s1600/physicaMeshDrawing.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNnqaMKRG2wkol6e6T1v7N4LB17UMGw0yjzEzPaIi3o-kASRTN_vQAAhebtzt0LQagk7mm_FqbGuXwlIjcgupup0NQKnHFbJc3gcHV9ka-pOmdgsUWcS1O7D9aX6IbxcNDtOfJfddTD7c/s400/physicaMeshDrawing.jpg" width="400" /></a></div>
This maybe a bit over the top with markings but you do now see what is trying to be modelled. <b>The following will be how you approach the problem if you are entering the data <a href="http://staffweb.cms.gre.ac.uk/%7Edg12/webphy/MeshBuilder.php">here</a></b>. The text based approach and description is available <a href="http://staffweb.cms.gre.ac.uk/%7Ephysica/3g/guide/mbrick.html">here</a> <br />
First we want to know whether the mesh will have deformations(-8) or not(-9). In this case no deformations so '-9'. Now we want to know scale, scale is measured in meters. Since our model is in millimetres we will put in 0.001. The next decision is whether this is a cylindrical model, it's not so '0'.<br />
Next we have <b>Spans</b> we have to divide up the block into sections and measure them<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQGXSj6PC50wnpHUoeBDcoWHqhOvxQJ2Ihq7bebjEgYQYgv6mVQQjv955-Was8tpyQynl-sFL_OrvkPJB7dY7Wx23z7kCGXtVYNFDs44-2zghEqxVugUXPFUd6kobFCLUXoUpmm3B22Rg/s1600/physicaMeshDrawingSpans.jpg" imageanchor="1" style=" margin-bottom: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQGXSj6PC50wnpHUoeBDcoWHqhOvxQJ2Ihq7bebjEgYQYgv6mVQQjv955-Was8tpyQynl-sFL_OrvkPJB7dY7Wx23z7kCGXtVYNFDs44-2zghEqxVugUXPFUd6kobFCLUXoUpmm3B22Rg/s400/physicaMeshDrawingSpans.jpg" width="400" /></a></div>
<table>
<tbody>
<tr>
<td>Length
</td>
<td>Divisions
</td>
<td>Comment
</td>
</tr>
<tr>
<td>8.0
</td>
<td>8
</td>
<td>Inlet width
</td>
</tr>
<tr>
<td>5.0
</td>
<td>1
</td>
<td>Slice thickness
</td>
</tr>
<tr>
<td>20.0
</td>
<td>16
</td>
<td>pipe length
</td>
</tr>
<tr>
<td>15.0
</td>
<td>12
</td>
<td>lower space height
</td>
</tr>
<tr>
<td>10.0
</td>
<td>8
</td>
<td>upper space height
</td>
</tr>
<tr>
<td>20.0
</td>
<td>16
</td>
<td>space width
</td>
</tr>
<tr>
<td>12.0
</td>
<td>10
</td>
<td>outlet width
</td>
</tr>
</tbody></table>
For deri-left and deri-right stick to the default 1.0. Deri-left and deri-right control mesh spacing. If for instance both (deri-left and deri-right) are greater than 1.0 then the mesh will start bunching up nearer to the middle. If however both are less than 1.0 then the mesh will bunch at the left and right ends. A combinations of higher or lower deri-right and deri-left maybe what you need, for the time being stick with default. Our spans now look like this:
<br />
<pre> 1 8.0 8 1.0 1.0 inlet width
2 5.0 1 1.0 1.0 slice thickness
3 20.0 16 1.0 1.0 pipe length
4 15.0 12 1.0 1.0 lower space height
5 10.0 8 1.0 1.0 upper space height
6 20.0 16 1.0 1.0 space width
7 12.0 10 1.0 1.0 outlet width
</pre><br/>
If you think about there is now have 6 rectangles which has to be created. Next we have to specify the 'Zero Mark' this is where you specify the starting point for the model. So x, y and z coordinate is all 0.0 and the Mark_ID is 0 as well.
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQuTuPJj3MXR6nrFmTqOxiqwaxvlMp6YgV4_1Xz8O6k9t8-igy-RxuM48JxeiMgIANezoi4rAigDJs9mTpGJ1eEc2_V5FQOtvcwNBB7Vt3jrYpc6ewrSnG7Z-j6KFFXXIXCRZgIguMNvg/s1600/physicaMeshDrawingmark.jpg" imageanchor="1" style=" margin-bottom: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQuTuPJj3MXR6nrFmTqOxiqwaxvlMp6YgV4_1Xz8O6k9t8-igy-RxuM48JxeiMgIANezoi4rAigDJs9mTpGJ1eEc2_V5FQOtvcwNBB7Vt3jrYpc6ewrSnG7Z-j6KFFXXIXCRZgIguMNvg/s400/physicaMeshDrawingmark.jpg" width="400" /></a></div>
From (0.0, 0.0, 0.0) you work up and outwards, what spans do we add in the x, y and z direction (NB The thickness is going to be in the y plane). The image should help you make sense of how you add in the x, y and z direction. First we move in x, y and z direction, in x we have 'inlet length', in y we have 'thickness' and z we have 'pipe length'. Second we only move in x and z, x we move 'pipe length', in z we move 'lower space height'. Finally third we move in x and z only, in x we move 'outlet width' and z we move 'upper space height'. The Marks including 'Zero Mark' look like this:
<br />
<pre> 0 0.0 0.0 0.0
1 1 2 3
2 6 0 4
3 7 0 5
</pre>
What has been created is a block, a solid block, we want to specify which volumes we are interested in to get to our model. First the goal is to specify where the pipe is. From the previous picture you can see it is located between mark 0 and mark 1 in x direction, mark 0 and mark 1 in y and mark 0 and 1 in z direction. The first line then is:
<pre> 0 1 0 1 0 1 2 inlet pipe
</pre>
The last number, '2' is the zone number.
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijJz_StyTwvefycrzwqnHS2Y0Cl87-sG7fhKGuXqbpR4m4rl_JaDy9yEPB5j22RrYz0dOZ1BYlPN04bAdBfwzefhtehKNj24UN5Wyd4F_E0XzX3zv_hE0-1EZdsaZw4gEUIgrSeFS-rNQ/s1600/physicaMeshDrawingZones.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijJz_StyTwvefycrzwqnHS2Y0Cl87-sG7fhKGuXqbpR4m4rl_JaDy9yEPB5j22RrYz0dOZ1BYlPN04bAdBfwzefhtehKNj24UN5Wyd4F_E0XzX3zv_hE0-1EZdsaZw4gEUIgrSeFS-rNQ/s400/physicaMeshDrawingZones.jpg" width="400" /></a></div>
<p>I'm ignoring the next line in zones because it is complicated (find out more after you see the text).</p>
Second line we want to specify the big section. This section lies between 0 and 2 in the x direction (horizontal), in the z direction (vertical) it is between 1 and 3. The y direction (thickness) is between 0 and 1. The specification for this is:
<pre> 0 2 0 1 1 3 2 central space
</pre>
The zone number for this is also 2.
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4ja4Nr-SElJf0wEybLNOquMKqq60AAji0BIYquvkURLIU-pki5ZNL56aEBclojqEfqaNYcG8y6LCY7bp6S_zBVBwpaU4BQDVngEXO8KsknVkWP8bDBb5_rU14JLq6JzbSPlykeSNMXF0/s1600/physicaMeshDrawingZones.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4ja4Nr-SElJf0wEybLNOquMKqq60AAji0BIYquvkURLIU-pki5ZNL56aEBclojqEfqaNYcG8y6LCY7bp6S_zBVBwpaU4BQDVngEXO8KsknVkWP8bDBb5_rU14JLq6JzbSPlykeSNMXF0/s400/physicaMeshDrawingZones.jpg" width="400" /></a></div>
Third and fourth area is similar to specify. For zones we have:
<br />
<pre> 0 1 0 1 0 1 2 inlet pipe
-12 0 0. 1 0. 0 0. 1 0. 0 0. 0 10. 1 initial level
0 2 0 1 1 3 2 central space
2 3 0 1 1 2 3 under outlet
2 3 0 1 2 3 4 cut away
</pre>
<p>NB <b>Additional feature: if mx0 = -12, the numbers after it are interpreted as follows:</b><br />
i0 dx0 i1 dx1 j0 dy0 j1 dy1 k0 dz0 k1 dz1 zone_ID [c]<br />
i0, i1 - lower and upper reference marks along x<br />
dx0, dx1 - x-displacements of lower and upper zone ends from their ref. marks<br />
j0, j1 - lower and upper reference marks along y<br />
dy0, dy1 - y-displacements of lower and upper zone ends from their ref. marks<br />
k0, k1 - lower and upper reference marks along z<br />
dz0, dz1 - z-displacements of lower and upper zone ends from their ref. marks</p>
The above "additional feature" is a cheat. What it does in this case is re writes the bottom half of the pipe and labels it as being zone 1.
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx_DR5OdFihPQDlhSvN17RxaWI-pjMqRIR7jqfNuMlCnycqHlbJYdCDR1yZj5rjhSmutwW1S3KrVhH_D49ffFOK0N7ctjNWAU01LiZ9mYvlQCSp4620BI5xgNh3UTGyDSZQ4O0r1VBuCQ/s1600/physicaMeshDrawingZones.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx_DR5OdFihPQDlhSvN17RxaWI-pjMqRIR7jqfNuMlCnycqHlbJYdCDR1yZj5rjhSmutwW1S3KrVhH_D49ffFOK0N7ctjNWAU01LiZ9mYvlQCSp4620BI5xgNh3UTGyDSZQ4O0r1VBuCQ/s400/physicaMeshDrawingZones.jpg" /></a></div>
What should have been done instead, which is a lot easier to understand is re-write the spans as being:
<pre> 1 8.0 8 1.0 1.0 inlet width
2 5.0 1 1.0 1.0 slice thickness
3 10.0 8 1.0 1.0 lower pipe length
4 10.0 8 1.0 1.0 upper pipe length
5 15.0 12 1.0 1.0 lower space height
6 10.0 8 1.0 1.0 upper space height
7 20.0 16 1.0 1.0 space width
8 12.0 10 1.0 1.0 outlet width
</pre>
and then re write the marks as being:
<pre> 0 0.0 0.0 0.0
1 1 2 3
2 7 0 4
3 8 0 5
4 0 0 6
</pre>
after that you then re write your zones as being:
<pre>
0 1 0 1 0 1 1 initial level
0 1 0 1 0 2 2 inlet pipe
0 2 0 1 2 4 2 central space
2 3 0 1 2 3 3 under outlet
2 3 0 1 3 4 4 cut away
</pre>
Easy. Anyway next up we have to specify the patch numbers. What you may not know is that when this runs it produces a file called 'bricks.txt' which shows you what the zones look like and the number of divisions (it wont show you spacing of the divisions). At the sides of this model, there will be numbers -1 will be on the left, -6 on top, -2 on the right, -5 on the bottom and unfortunately it won't show you the thickness (y) direction. There you would have seen -3 nearest to you, -4 furthest from you. These number are in fact zones. By the way bricks.txt number grid looks like this:
<pre>
0-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6-6 0
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
-1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-2
0-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5-5 0
</pre>
The patches are listed below:
<pre>
-1 0 5 central symmetry
-2 3 4 side free slip
-3 0 7 symm. low y
-4 0 8 symm. high y
-5 1 1 inlet
-6 0 6 top free slip
0 1 3 walls
0 2 3
0 3 3
4 2 9 upper side
4 3 2 oulet
</pre>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirSQAjhL0wmdpxy3Okw5FKLkIuidQWbC8rZHsXOGB67VYnQHo4knOAXr1ZVTOBk6YUTAHeLazFHk_XxkKtBQF39blc_JkvyLZAWkyeNmXcpa-eIT4WHG7fWp9X-cVYkvJZglNDT3yNgY/s1600/physicaMeshDrawingpatches.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"><img border="0" height="300" width="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirSQAjhL0wmdpxy3Okw5FKLkIuidQWbC8rZHsXOGB67VYnQHo4knOAXr1ZVTOBk6YUTAHeLazFHk_XxkKtBQF39blc_JkvyLZAWkyeNmXcpa-eIT4WHG7fWp9X-cVYkvJZglNDT3yNgY/s400/physicaMeshDrawingpatches.jpg" /></a></div>
<p>The first one might be slightly confusing, the '-1' is the left hand side of the model, the '0' being in the second column means it actually is the same as:
<pre>
-1 1 5
-1 2 5
</pre>
<p>So you can see it includes everything next to '-1'. The next patch i.e. patch 4 is the border between -2 and zone 3. The rest is similar. Patch 3 however is slight different. As you see in bricks.txt there is a lot of '0', well if any of them are next to 3, 2 or 1 then they are patch 3.</p>
The final bit of the MBrick is material number. The entry is:
<pre>
1 1
2 1
3 1
4 0
</pre>
<p>That is to say zone 1, 2 and 3 are material 1 and zone 4 will not be meshed. zone 4 is only needed to specify the outlet in patch format.</p>
The overall text for the MBrick file looks like this:
<pre> -9 0.001 0
1 8. 8 1.2 0.5 inlet width
2 5. 1 1. 1. slice thickness
3 20. 16 1.0 0.5 pipe length
4 15. 12 0.4 0.6 lower space height
5 10. 8 0.6 0.6 upper space height
6 20. 16 0.4 0.8 space width
7 12 10 0.8 0.5 outlet width
-9
0 0. 0. 0.
1 1 2 3
2 6 0 4
3 7 0 5
-9
0 1 0 1 0 1 2 inlet pipe
-12 0 0. 1 0. 0 0. 1 0. 0 0. 0 10. 1 initial level
0 2 0 1 1 3 2 central space
2 3 0 1 1 2 3 under outlet
2 3 0 1 2 3 4 cut away
-9
-1 0 5 central symmetry
-2 3 4 side free slip
-3 0 7 symm. low y
-4 0 8 symm. high y
-5 1 1 inlet
-6 0 6 top free slip
0 1 3 walls
0 2 3
0 3 3
4 2 9 upper side
4 3 2 oulet
-9
1 1
2 1
3 1
4 0
-9
</pre>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-5899929198781167982012-05-17T09:55:00.000+01:002012-05-17T09:55:39.300+01:00Installing and using PHYSICAWhen I have to install PHYSICA I am given 3 files and then some example cases. the 3 files are:
<ol>
<li>physica3g.exe</li>
<li>phy3g.bat</li>
<li>phylic.dat this one is the licence file</li>
</ol>
According to the <a href="http://www.greenwich.ac.uk/~physica/phy2.10/install/install.htm">physica website</a> you are given a CD with a file called pinstall.bat I was never given this, so I have to do this manually. The first step is to group these 3 files and the examples into a folder call it 'Physica' and put it in the root of the computer (i.e. for windows computers it should be in the path C:\Physica). After this we need to add some paths in the computer so it knows what to run. For Windows XP computers:
<ul>
<li>Step 1: Right hand click on 'My Computer' and select properties OR press the 'Start' button then click 'Control Panel' and click on 'System'</li>
<li>Step 2: There are a number of tabs on the top of 'System Properties' you will be automatically on the 'General' tab, click on the 'Advanced' tab. This will have Performance settings, User profiles settings, start up and recovery settings. You can ignore all of these as you want a button called 'Environment Variable'.</li>
<li>Step 3: Under 'System Variables' section You need to create a new variable called 'PHYKEY' so click 'New'. The Variable name will be 'PHYKEY' and the Variable Value will be the path to physica.exe so it should be 'C:\Physica'.</li>
<li>Step 4: We are not yet done with 'System Variable'. You need to edit 'Path' Variable. Select the variable and click edit (or double click path variable) Under Variable Value we need to ADD something to the end of it. Put ';C:\Physica' and click 'ok' and you are done.</li>
<li>Step 5: Testing. Run one of the test cases to check it runs. Open up the 'command prompt' located by clicking start button, click 'All programs','Accessories' then 'Command Prompt'. Back up to C:\ by typing 'cd ..' do this until it says 'C:\' then type 'cd ' then the path to one of the test cases then type 'phy3g' or if your 'phy3g.bat' is called something different type that in and it should work perfectly.</li>
</ul>
<p>If you are getting started with Physica or your out of practise with physica you can use the <a href="http://staffweb.cms.gre.ac.uk/~physica/">Website</a> or the <a href="http://staffweb.cms.gre.ac.uk/~dg12/webphy/index.php">website</a> I designed for my MSc project. My one actually generates the inform file for you, it also can generate mesh and plotpar files you can use (you have to rename them as just 'inform','filename.md' and 'plotpar' though).</p>
<p>Plotpar files produce pretty images, although you do have to install Ghostscript and GSview to view these images, these application are free to download</p>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-69942337220739799542012-05-03T16:02:00.000+01:002012-05-03T16:03:11.935+01:00What is a facebook page rss feed?<p>The author who i found this out from <a href="http://ahrengot.com/tutorials/facebook-rss-feed/">ahrengot.com/</a> found out when you go to a page it sometimes has numbers after it i.e. Mousehunt which page is
<blockquote>http://www.facebook.com/pages/MouseHunt/<b>273678496019476</b></blockquote>
You can use the number to create a rss feed which looks like this
<blockquote>http://www.facebook.com/feeds/page.php?format=rss20&id=<b>273678496019476</b></blockquote>
This works, some pages still have this feature which is brilliant.</p>
<p>Unfotunately facebook has upgraded the pages, which is good for design and looks good but they forgot about the people who like rss. Fear not, whilst scrolling through the comments one person (Stanwin) found the solution. What he did was on the page you want the rss off, go to photos (i presume this works with other stuff) click on an image and the url will look like this:<br>
<blockquote>http://www.facebook.com/photo.php?fbid=354695431234035&set=a.318573378179574.69412.<b>318522041518041</b>&type=1&theater</blockquote>
The number in bold is the one your interested in and you repeat what you did before so rss looks like
<blockquote>http://www.facebook.com/feeds/page.php?format=rss20&id=<b>318522041518041</b></blockquote>
And there you go it's all done.</p>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com4tag:blogger.com,1999:blog-7545301657234952417.post-23075807082727407452012-04-18T12:12:00.000+01:002012-04-18T12:43:05.938+01:00Quadractic equationThis equation I like more than the "beatiful" equation (<img src="http://upload.wikimedia.org/wikipedia/en/math/9/e/9/9e9a547076c6820b95e439dd1a5d6a32.png">) mainly becaus it's not that mysterious. There is certain propoties of the quadractic equation that can be looked at and tested.<br>
1st one is what shape will the equation be:<br>
<input type=button value="Play again" onclick="Shape()"><br>
<span id="aVariable"></span>x^2<span id="bVariable"></span>x<span id="cVariable"></span><br>
<input type=hidden id="avalue"><input type=hidden id="bvalue"><input type=hidden id="cvalue">
Is the shape of:<br>
<input type=button value="u" onclick="ShapeAnswer('u')"><br>
<input type=button value="n" onclick="ShapeAnswer('n')"><br>
<input type=button value="Linear" onclick="ShapeAnswer('Linear')"><br>
<p id="ShapeAnswerText"></p>
<script type="text/javascript">
var a=Math.random();
a=(a*20)-10;
a=Math.round(a);
document.getElementById("avalue").value=a;
document.getElementById("aVariable").innerHTML=a;
var b=Math.random();
b=(b*20)-10;
b=Math.round(b);
document.getElementById("bvalue").value=b;
if(b<0){
document.getElementById("bVariable").innerHTML=b;
}
else{
document.getElementById("bVariable").innerHTML="+"+b;
}
var c=Math.random();
c=(c*20)-10;
c=Math.round(c);
document.getElementById("cvalue").value=c;
if(c<0){
document.getElementById("cVariable").innerHTML=c;
}
else{
document.getElementById("cVariable").innerHTML="+"+c;
}
function Shape(){
document.getElementById("ShapeAnswerText").innerHTML="";
var a=Math.random();
a=(a*20)-10;
a=Math.round(a);
document.getElementById("avalue").value=a;
document.getElementById("aVariable").innerHTML=a;
var b=Math.random();
b=(b*20)-10;
b=Math.round(b);
document.getElementById("bvalue").value=b;
if(b<0){
document.getElementById("bVariable").innerHTML=b;
}
else{
document.getElementById("bVariable").innerHTML="+"+b;
}
var c=Math.random();
c=(c*20)-10;
c=Math.round(c);
document.getElementById("cvalue").value=c;
if(c<0){
document.getElementById("cVariable").innerHTML=c;
}
else{
document.getElementById("cVariable").innerHTML="+"+c;
}
}
function ShapeAnswer(shape){
//get relivant variable
var a=document.getElementById("avalue").value;
document.getElementById("ShapeAnswerText").innerHTML=a;
if(shape=='Linear'){
if(a==0){
document.getElementById("ShapeAnswerText").innerHTML="Yes, well done";
}
else{
document.getElementById("ShapeAnswerText").innerHTML="Nope, guess again";
}
}
else if(shape=='u'){
if(a>0){
document.getElementById("ShapeAnswerText").innerHTML="Yes, well done";
}
else{
document.getElementById("ShapeAnswerText").innerHTML="Nope, guess again";
}
}
else if(shape=='n'){
if(a<0){
document.getElementById("ShapeAnswerText").innerHTML="Yes, well done";
}
else{
document.getElementById("ShapeAnswerText").innerHTML="Nope, guess again";
}
}
}
</script>
And The second property you can get is directly from the quadractic equation, whether a equation has 2 roots, 1 root or it has imaginary roots<br>
<input type=button value="Play again" onclick="Roots()"><br>
<span id="a2Variable"></span>x^2<span id="b2Variable"></span>x<span id="c2Variable"></span><br>
b^2-4ac=<span id="equationValue"></span><br>
<input type=hidden id="a2value"><input type=hidden id="b2value"><input type=hidden id="c2value"><input type=hidden id="EquationV">
How many roots has this equation got?<br>
<input type=button value="1" onclick="RootsAnswer('1')"><br>
<input type=button value="2" onclick="RootsAnswer('2')"><br>
<input type=button value="Imaginary roots" onclick="RootsAnswer('Imaginary')"><br>
<p id="RootAnswerText"></p>
<script type="text/javascript">
var a=Math.random();
a=(a*20)-10;
a=Math.round(a);
document.getElementById("a2value").value=a;
document.getElementById("a2Variable").innerHTML=a;
var b=Math.random();
b=(b*20)-10;
b=Math.round(b);
document.getElementById("b2value").value=b;
if(b<0){
document.getElementById("b2Variable").innerHTML=b;
}
else{
document.getElementById("b2Variable").innerHTML="+"+b;
}
var c=Math.random();
c=(c*20)-10;
c=Math.round(c);
document.getElementById("c2value").value=c;
if(c<0){
document.getElementById("c2Variable").innerHTML=c;
}
else{
document.getElementById("c2Variable").innerHTML="+"+c;
}
var equation=(b*b)-(4*a*c);
document.getElementById("EquationV").value=equation;
document.getElementById("equationValue").innerHTML=equation;
function Roots(){
document.getElementById("RootAnswerText").innerHTML="";
var a=Math.random();
a=(a*20)-10;
a=Math.round(a);
document.getElementById("a2value").value=a;
document.getElementById("a2Variable").innerHTML=a;
var b=Math.random();
b=(b*20)-10;
b=Math.round(b);
document.getElementById("b2value").value=b;
if(b<0){
document.getElementById("b2Variable").innerHTML=b;
}
else{
document.getElementById("b2Variable").innerHTML="+"+b;
}
var c=Math.random();
c=(c*20)-10;
c=Math.round(c);
document.getElementById("c2value").value=c;
if(c<0){
document.getElementById("c2Variable").innerHTML=c;
}
else{
document.getElementById("c2Variable").innerHTML="+"+c;
}
var equation=(b*b)-(4*a*c);
document.getElementById("EquationV").value=equation;
document.getElementById("equationValue").innerHTML=equation;
}
function RootsAnswer(root){
//get relivant variable
var decision=document.getElementById("EquationV").value;
if(root=='1'){
if(decision==0){
document.getElementById("RootAnswerText").innerHTML="Yes, well done";
}
else{
document.getElementById("RootAnswerText").innerHTML="Nope, guess again";
}
}
else if(root=='2'){
if(decision>0){
document.getElementById("RootAnswerText").innerHTML="Yes, well done";
}
else{
document.getElementById("RootAnswerText").innerHTML="Nope, guess again";
}
}
else if(root=='Imaginary'){
if(decision<0){
document.getElementById("RootAnswerText").innerHTML="Yes, well done";
}
else{
document.getElementById("RootAnswerText").innerHTML="Nope, guess again";
}
}
}
</script>
Okay that was fun hope you enjoy.Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-42843641252518703002012-03-18T11:51:00.000+00:002012-03-18T12:01:43.084+00:00CodeEval FizzBuzz<a href="http://www.codeeval.com/dashboard/">CodeEval</a> is a site where programmers can compete for jobs or in my case hopefully learn something more. I have small experience in Java and Visual Basic. I have slightly more experience in HTML, JavaScript and PHP. So I use this site for practise.<br>
The 1st problem they put on there is FizzBuzz, the problem is below:<br>
<br>
<blockquote>
<h2>Description</h2>
Players generally sit in a circle. The player designated to go first says the number "1", and each player thenceforth counts one number in turn. However, any number divisible by 'A' e.g. three is replaced by the word fizz and any divisible by 'B' e.g. five by the word buzz. Numbers divisible by both become fizz buzz. A player who hesitates or makes a mistake is either eliminated.<br>
<br>
Write a program that prints out the the pattern generated by such a scenario given the values of 'A'/'B' and 'N' which are read from an input text file. The input text file contains three space delimited numbers i.e. A, B, N. The program should then print out the final series of numbers using 'F' for fizz, 'B' for 'buzz' and 'FB' for fizz buzz.<br>
<br>
<h2>Input sample:</h2>
Your program should read an input file (provided on the command line) which contains multiple newline separated lines. Each line will contain 3 numbers which are space delimited. The first number is first number to divide by ('A' in this example), the second number is the second number to divide by ('B' in this example) and the third number is where you should count till ('N' in this example). You may assume that the input file is formatted correctly and is the numbers are valid positive integers.e.g.<br>
<br>
3 5 10<br>
2 7 15<br>
<br>
<h2>Output sample:</h2>
Print out the series 1 through N replacing numbers divisible by 'A' by F, numbers divisible by 'B' by B and numbers divisible by both as 'FB'. Since the input file contains multiple sets of values, your output will print out one line per set. Ensure that there are no trailing empty spaces on each line you print.e.g.<br>
<br>
1 2 F 4 B F 7 8 F B<br>
1 F 3 F 5 F B F 9 F 11 F 13 FB 15<br>
<br>
</blockquote>
Unfortunately when I did the <b>Java</b> solution I couldn't do it, so I searched for the <a href="http://bipinbudhathoki.blogspot.com/2011/07/fizzbuzz-java-solution-for-codeevalcom.html">solution online</a>. <b>DO NOT CLICK LOOK UNLESS YOU HAVE TRIED IT FIRST</b><br>
<pre>
/*Sample code to read in test cases:
public class fizzbuzz {
public static void main (String[] args) {
...
File file = new File(args[0]);
BufferedReader in = new BufferedReader(new FileReader(file));
String line;
while ((line = in.readLine()) != null) {
String[] lineArray = line.split("\s");
if (lineArray.length > 0) {
//Process line of input Here
}
}
}
}
*/
import java.io.*;
import java.util.*;
public class fizzbuzz {
public static void main(String[] args) throws IOException{
Scanner console = new Scanner(new FileReader(args[0]));
while(console.hasNext()){
int first=console.nextInt();
int second =console.nextInt();
int third =console.nextInt();
for(int i=1;i<=third;i++){
if(i%first==0 && i%second==0 ){
System.out.printf("FB ");
}
else if(i%first==0)
System.out.printf("F ");
else if(i%second==0)
System.out.printf("B " );
else
System.out.printf("%d ",i);
}
System.out.println();
}
console.close();
}
}
</pre>
The last bit of the code I can do, it's just I couldn't read a file.<br>
I also decided to see if I could do it in PHP as well<br>
<pre>
<?php
/*Sample code to read in test cases:
$fh = fopen($argv[1], "r");
while (true) {
$test = fgets($fh);
# break loop if $test is an empty line
# $test represents the test case, do something with it
}
*/
$file_get_contents=fopen($argv[1],"r");
while ( ($line = fgets($file_get_contents)) !== false) {
$k=0;
foreach(preg_split("/[\s]/", $line) as $space){
if($k==0){
$f=$space;
}
if($k==1){
$b=$space;
}
if($k==2){
$n=$space;
}
$k=$k+1;
}
for($i=1;$i<=$n;$i++){
if(($i % $f==0)&&($i % $b==0)){
echo "FB ";
}
elseif($i % $f==0){
echo "F ";
}
elseif($i % $b==0){
echo "B ";
}
else{
echo $i." ";
}
}
echo "\n";
}
?>
</pre>
Good tip they do provide comments to help you through it, which is rather handy. Anyway I also tried to do it in JavaScript:<br>
<pre>
/*Sample code to read in test cases:
function codeEvalExecute(line)
{ //your code goes here. line is your test case
//return <your answer>
}*/
function codeEvalExecute(line){
//an array with 3 values
var Byline=line.split(" ");
//fizz
var f=Byline[0];
//buzz
var b=Byline[1];
//number run to
var n=Byline[2];
var string="";
for(var i=1;i<=n;i++){
if((i % f==0)&&(i % b==0)){
string=string+"FB ";
}
else if(i % f==0){
string=string+"F ";
}
else if(i % b==0){
string=string+"B ";
}
else{
string=string+i+" ";
}
}
return string;
}
</pre>
<b>Update</b> 18/03/2012 11.59am<br>
I should point out if you want to learn JavaScript or PHP I suggest <a href="http://www.w3schools.com/">w3 school</a> as for Java I don't know any sites so put some in the comments if you have a suggestionAnonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com1tag:blogger.com,1999:blog-7545301657234952417.post-17977209789746121752012-01-22T19:09:00.000+00:002012-01-22T19:09:24.702+00:00Physica website testing week 1The <a href="http://stuweb.cms.gre.ac.uk/~cj738/">website</a> is finished (sort of <a href="http://stuweb.cms.gre.ac.uk/~cj738/ScalarModule.php">Scalar module</a> isn't done yet), all that is left to do is testing. I have received all the Physica test cases and as of Monday I have begun testing the website. Unfortunately some of the test cases are 6 years old so they may need to be updated and isn't exactly helpful.</br>
On the plus side I will be able to test any silly mistakes I have made whilst making the website. Silly mistakes I have made so far and have corrected:
<ol>
<li>In the Geometry module, gravity couldn't be set below zero.</li>
<li>Also in Geometry module gravity Z wouldn't display</li>
<li>In the Monitor module OUTPUT_INTERVAL was misnamed</li>
<li>In Generic module the code doesn't include "TRANSIENT_RUN"</li>
<li>Also in Generic module>transient>Delta_t>Cfl_Based CFL_LIMIT misnamed</li>
<li>under Generic module>Transient END_TIME default is 1.0E+20</li>
<li>In Inform Option New doesn't reset everything. Also need to add a confirm button for option New</li>
<li>Material properties module doesn't display the code after refresh</li>
<li>not put a confirm new button on inform page</li>
<li>not put in the extra JavaScript needed to display content when clicked on</li>
<li>put an option for FALSE_TIMESTEP and UNDER_RELAXATION to use</li>
</ol>
Some mistakes that need further investigation:
<ol>
<li>In Free Surface module>SOLVE_FREESURF CONVECTION_METHOD is missing, one of the options is VAN_LEER</li>
<li> under Free surface module>Level_set_method LSM_WIDTH not found when running Physica</li>
<li> test cases>apps>fill04 run-time error M6201:MATH</li>
</ol>
Note to self
<ol>
<li>in the test cases under apps fill01, fill02, fill03, fill04 removed the extension ".gz".<b> gz extension is a file compression</b></li>
<li>fill04 Inform file solidification module a lot of the code can be set in material properties module</li>
<li>mesh builder page has been updated to included everything, does need checking though</li>
<li>Generic module USER_INTERVAL_SAVE produces images if you have the plotpar file, if not use USER_MODULE</li>
<li>have to put Geometry file first for some reason otherwise it produces errors</li>
</ol>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-44060277954962942252011-12-08T19:02:00.001+00:002011-12-13T19:22:23.537+00:00OR careers, MSc project, Discrete Event SimulationApologies first. I have not been blogging in a long time mainly because I was caught up doing my <a href="http://stuweb.cms.gre.ac.uk/~cj738/">MSc project website</a> in which there is a heck of a lot of modules to go through and then check to make sure they display correctly. At the moment I have made all 27 modules of the website, now all I need to is sort out display, repeating JavaScript and the most labour-some task Testing. Or as I like to call it "Testing to destruction". The idea of making it fail is more harsh but sounds more fun.</br>
</br>
Okay apologies done. On the 16th November 2011, it was a Wednesday (by the way) I attended a Operational Research Careers Open day. This was in Birmingham and started at 10:00 and went on to 15:30. There were a lot of stalls there so to name as many as I can:
<ul>
<li><a href="https://www.dstl.gov.uk/pages/150">[dstl]</a></li>
<li><a href="http://britishairwaysgraduates.com/">BA</a></li>
<li><a href="http://www.operational-research.gov.uk/recruitment/gateway/">GORS</a></li>
<li><a href="http://www.tesco-careers.com/page.cfm/content/supply-chain-about-us/">Tesco</a></li>
<li><a href="http://www.hmcm.co.uk/About4.html">Hartley McMasters ltd</a></li>
<li>RBS</li>
<li><a href="http://www.atass-sports.co.uk/careers">Atass Sports</a></li>
<li>IBM UK</li>
<li><a href="http://www.cardiff.ac.uk/maths/masters/">Cardiff University</a></li>
<li><a href="http://www.southampton.ac.uk/maths/postgraduate">University of Southampton</a></li>
</ul>
After browsing the stalls they had a lot of talks from a lot of different companies on what exactly they do. There was talks from Martin Slaughter from <b>Hartley McMaster Ltd</b> on what they did with Vodafone. It was on opening hours and rotas for staff i.e. whether to open on a Sunday or not? Also a talk from Mike Nicholson from <b>IBM UK</b> talking about a case study they did. Next up was <b>GORS</b> or Government OR Services. They talked about how the work is very varied, job security and an amazing pension (better than the average). Then Andrew Long from <b>British Airways</b> Where he talked about the code on an airway ticket and all the different sections which is put together to form British Airways. Then there was a Company I never heard of before that day <b>Tata Steel</b> I presume this is for engineers who describe themselves as mathematicians but I could be wrong. And the very last talk of the day was Tom Hibbert from <b>Tesco</b> who talks about the different problems Tesco faces like perishable good, how much to order etc.</br>
</br>
The Careers day was very informative the only problem was travel costs for me to get there by 10.00 i had to pay £70 roughly and to get home i got the cheapest ticket which was around £18 pounds mark. If however they moved the starting time to nearly 12.00 then my forward journey would only cost £18 roughly. Thats the only thing that annoyed me, apart from that well done the OR Society.</br>
</br>
For an assessment centre I have to study up on one of four Operational Research Topics namely <a href="http://en.wikipedia.org/wiki/System_dynamics">"System Dynamics"</a>, <a href="http://en.wikipedia.org/wiki/Discrete_event_simulation">"Discrete Event Simulation"</a>, "<a href="http://en.wikipedia.org/wiki/Bayesian_network">Bayes net</a> or other decision tree type approach", "<a href="http://en.wikipedia.org/wiki/Multi-criteria_decision_analysis">Multi- criteria Decision Analysis</a> (or a specific technique from within this group of techniques)".</br>
</br>
Having looked at the wiki pages of these I found out Discrete Event Simulation looks mainly like Queueing theory. So I have to brush up on this, luckily I did actually do this in my BSc whilst at Greenwich University with my favourite lecturer <a href="http://www.cms.gre.ac.uk/staff/details.asp?id=253">Professor Vitaly Strusevich</a>. I have a lot of man love for this guy, a person who actually got me into OR and got me to join the OR society.</br>
</br>
<b>UPDATE</b> 13th December</br>
Some links I forgot about. Whilst at the career fair the first talk was from the chairman of the OR Society and he mentioned some projects he was working on they were <a href='http://www.greenlogistics.org/'>Green Logistics</a> and <a href='http://www.itisholdings.com/'>ITIS Holding</a>.Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-36993011967671377692011-10-10T15:15:00.001+01:002011-10-10T15:15:06.307+01:00Job hunting-feel out this questionaire...If your in my position (finished university)you will be now job hunting. Depending on what sites you go to, instead of wanting your CV, they want to ask you questions about certain criteria's that they will be judging you on. These questions will be different on every website you do, but the type of questions will be near enough the same. Instead of typing out your answer on every site you go to, I would recommend you make a document which has these type of questions on there, so when you go to a website which asks a question you have previously answered, you can copy and paste your answer and then tweak it to fit what that website requires of you.
</br></br>
Here is some questions to get you thinking about:</br>
<ol>
<li>Describe a situation when you <b>identified a new way of doing something, which affected other people</b>. How did you convince the others that it was the right thing to do?</li>
<li>Describe a recent situation when you have had to <b>overcome a challenge</b>. What difficulties did you face and how did you resolve these?</li>
<li>Describe a situation which demonstrates how you <b>applied your analytical skills to solve a problem</b></li>
<li>Describe a time when you have <b>worked within a team</b>. What attributes did you bring to the team? What did you learn about your own behavior in this situation and how would you change your behavior in a similar situation in the future?</li>
<li>What are your <b>spare time interests?</b> Please explain why these are important to you and include any areas of responsibility</li>
</ol>
</br>
<h2>Specific questions</h2>
<b>Why have you chosen to join <insert company name>? What has influenced your choice of business area and what particularly interests you in the <insert company scheme>?</b>
</br>
<h2> Modelling/problem question</h2>
<ol>
<li><b>Quantitative Analysis</b>
This Refers to a situation where the analytical questions have been established and you need to produce a concrete and quantified solution using numerical analysis and /or modelling. Please describe:
<ol>
<li>Your role</li>
<li>Any analytical techniques you used and how you used them.</li>
<li>How you used available data or produced it.</li>
<li>How you assessed the accuracy and usefulness of your results</li>
</ol></li>
<li><b>Drive for results</b>
It is important that OR analysts plan their work clearly and can respond to clients requests within deadlines, being proactive and using initiative when problems arise.
Please describe:
<ol>
<li>Your role in the project;</li>
<li>Your objective and the steps you took to plan and monitor the project;</li>
<li>How you dealt with challenges, both foreseen and unexpected.</li>
</ol></li>
</ol>
</br>
You may not get these exact question, but it will be along the same lines as these. If you are job hunting good luck out there, and be careful of spam website and spam job posting.
Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-74687312752070186842011-09-07T15:38:00.000+01:002011-09-07T15:39:07.375+01:00php open, write and download a fileI have spend today and yesterday trying to make html write into a file and then download that file. The first objective was to open a file.</br>
</br>
<code>
<?php</br>
$filename="LinkTestText.txt";</br>
$file=fopen($filename,'w+');</br>
?></br>
</code>
</br>
Seems straight forward but i got an error</br>
</br>
<code>
fopen(LinkTestText.txt) [function.fopen]: failed to open stream: Permission denied.</br>
</code>
</br>
Okay okay calm down all I have to do is change permission of the file. <long time doing a google search> (many frustrating clicking and shouting at the computer (glad it doesn't have emotions)). On all <exaggeration> the forums no one mentioned a php function called <a href="http://php.net/manual/en/function.chmod.php">"chmod"</a>!!! Why this is what i'm looking for, okay so lets code it.</br>
</br>
<code>
<?php</br>
$filename="LinkTestText.txt";</br>
chmod($filename, 0777);</br>
$file=fopen($filename,'w+');</br>
?></br>
</code>
</br>
Error appears:</br>
</br>
<code>
chmod(): Operation not permitted in /file/path/to/that/ruddy/file.php</br>
</code>
</br>
Rubbish, lets look on php.net to see if they have an answer <Quick look> ooh they have an <a href="http://uk3.php.net/manual/en/function.chmod.php#64290">answer</a>. What one person says is use File Transfer Protocol (ftp) to change the permission, Huzzah an answer finally.</br>
</br>
<code>
<?php</br>
$filename="LinkTestText.txt";</br>
$row['username']="Joe Bloggs";</br>
$row['password']="passw0rd";</br>
$ftp_details['ftp_user_name'] = $row['username'];</br>
$ftp_details['ftp_user_pass'] = $row['password'];</br>
$ftp_details['ftp_root'] = '/file/path/to/that/ruddy/';</br>
//website address</br>
$ftp_details['ftp_server'] = '10.0.1.200';</br>
function chmod_11oo10($path, $mod, $ftp_details){</br>
// extract ftp details (array keys as variable names)</br>
extract ($ftp_details);</br>
// set up basic connection</br>
$conn_id = ftp_connect($ftp_server);</br>
// login with username and password</br>
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);</br>
// try to chmod $path directory</br>
if (ftp_site($conn_id, 'CHMOD '.$mod.' '.$ftp_root.$path) !== false){</br>
$success=TRUE;</br>
}</br>
else {</br>
$success=FALSE;</br>
}</br>
// close the connection</br>
ftp_close($conn_id);</br>
return $success;</br>
}</br>
chmod_11oo10($filename, "0777", $ftp_details);</br>
$file=fopen($filename,'w+');</br>
fwrite($file,"Writing a lovely string to a file");</br>
fclose($file);</br>
$file=fopen($filename,'w+');</br>
?></br>
</code>
</br>
Good so all we need to do now is <a href="http://blog-en.mamp.info/2009/08/how-to-access-ftp-with-mamp.html">activate ftp</a> and then work out a way to force a download. Here is a <a href="//http://php.net/manual/en/function.readfile.php">link i found earlier</a></br>
</br>
<code>
<?php</br>
//http://php.net/manual/en/function.readfile.php</br>
header('Content-Description: File Transfer');</br>
header('Content-Type: application/download');</br>
//it will be called</br>
header('Content-Disposition: attachment; filename="Link test test.txt"');</br>
header('Content-Transfer-Encoding: binary');</br>
header('Expires: 0');</br>
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');</br>
header('Pragma: public');</br>
header('Content-Length: ' . filesize($filename));</br>
ob_clean();</br>
flush();</br>
readfile($filename);</br>
exit;</br>
?></br>
</code>
</br>
Done. One last thing the whole of it <b>HAS</b> to appear before <a href="http://php.net/manual/en/function.header.php">"any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP."</a>. The only thing that is missing is why i put 0777 as the permission, to be honest i have no idea, just saw the number keep on popping up on a couple of forums.
Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-35402677432270746602011-09-01T10:01:00.000+01:002011-09-01T10:01:57.478+01:00Film reviews rankings (no maths here)I manage to see a film in the cinema nearly every Tuesday, so i do see a lot of film. When I rank film, i normally base it on how much i want someone to see the film in the full cinema experience, this is normally confusing as some bad films get high reviews because they look incredible.</br>
</br>
So I have come up with a different system, this is based on DVD collection:
<ol>
<li>Absolutely rubbish film, if it comes on the TV, change the channel.</li>
<li>Don't waste your money on buying the DVD, Just watch it on the TV.</li>
<li>I don't think you should own the DVD, so just rent it.</li>
<li>The film is lacking something, but the DVD is still worth owning.</li>
<li>Watch in the cinema and definitely buy the DVD.</li>
</ol>
Unfortunately I do own at least one film that belongs to each of the different ranks. <sigh>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-66362846185018600872011-08-03T09:57:00.000+01:002011-09-01T10:02:54.016+01:00Backing Samuel Hansen Relatively Prime<iframe frameborder="0" height="380px" src="http://www.kickstarter.com/projects/386612592/relatively-prime-stories-from-the-mathematical-dom/widget/card.html" width="220px"></iframe><br />
Right im backing it mainly because of his twitter updates which were summed up on <a href="http://travelsinamathematicalworld.blogspot.com/2011/07/hints-about-relatively-prime.html">Peter Rowletts blog</a>. Some of them sound interesting<br />
<blockquote>Wondering if you can musically represent a function? Support Relatively Prime and I will have the chance to answer<br />
</blockquote>If you want to hear maths (or math if your from certain parts of the world) stories that aren't well known but deeply fascinating, go on and support <a href="http://bit.ly/relprime">Relatively Prime</a>. Heres a video to wet your appetite.<br />
<iframe frameborder="0" height="410px" src="http://www.kickstarter.com/projects/386612592/relatively-prime-stories-from-the-mathematical-dom/widget/video.html" width="480px"></iframe>Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-37867378927051392992011-08-01T14:35:00.000+01:002011-09-01T10:06:11.657+01:00MSc Project websiteI did originally set the website up as being just one big huge html file. It became too big especially when i started doing Material Properties Module (at the moment Material Properties Modules is still very big and is a bit slow on loading). This also meant it was slow as well. Now being a student (still) I get to have some free webspace and hosting, I know amazing. So all my pages i've done so far are up on the <a href="http://cms-stu-iis.gre.ac.uk/cj738/index.php">website</a>. Just to let you know don't click on any links between and including 'General Equation Module' and 'User Module' you will get a error message saying page not found. Any suggestion to improve the site please leave a comment.Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-64856421624714448262011-07-25T11:32:00.000+01:002011-09-01T10:05:11.978+01:00html page advance phpI just found out when I did Material Properties module that the code was around 109,000 lines so it was being sluggish, so the idea was to store information on the server, from <a href="http://www.w3schools.com/">w3 school</a> and there were two ways of doing server bits. ASP wasn't recommended as it was oldish and also pc only, so i had a look at PHP. It stands for <b>P</b>HP: <b>H</b>ypertext <b>P</b>reprocessor, I hate self referencing, such a pain.<br />
<br />
PHP is the code which gets processed by Apache on the server and MySQL I think is where you store whatever you want.<br />
<br />
According to a couple of <a href="http://maestric.com/doc/mac/apache_php_mysql_snow_leopard">websites</a> on snow leopard, you don't need to install php it's already on there, you just need to do a couple of tweaks.<br />
<br />
A couple of things the websites forgot to mention was to view the PHP you don't view it as a file in the internet browser e.g. file:///Users/james_p_clare/Sites/MScWebsite/linktest.html you have to view it on Localhost so it will look something like this http://localhost/~james_p_clare/MScWebsite/PhysicaModule.php. Also to view PHP file have to have the extension .php otherwise it won't work. I spent two days not knowing the last two facts. Ahhhhhh.<br />
<br />
If your not a mac user <a href="http://www.w3schools.com/php/php_install.asp">w3 schools</a> does direct you to a <a href="http://www.php.net/manual/en/install.php">website which lists other OS</a>. Although a google search maybe better. good luckAnonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0tag:blogger.com,1999:blog-7545301657234952417.post-16966027189743241612011-07-19T20:07:00.000+01:002011-07-19T20:07:14.309+01:00IMA 14th Early Career Mathematician ConferenceI went to this on Saturday mainly for the career talk which was held in the morning and bits of the afternoon. The conference was held at the University of Leicester. And during some of it people were twittering <a href="http://twitter.com/#!/search?q=%23ecm14">#ecm14</a>. Adrian Hamilton took the talk on career planning workshop. We first looked at what to include on a CV, the very broad first:<br />
<ol><li><b>Profile (Pen Picture of facts)</b></li>
<ol><li>Management level</li>
<li>Business Areas</li>
<li>Functions carried out</li>
<li>skills, abilites, strenghts</li>
</ol><li><b>Achievements</b></li>
<ol><li>Some selected achievements</li>
<li>Excerpts from experience</li>
</ol><li><b>Career Progression</b></li>
<ol><li>Start from most recent</li>
<li>Dates, name of organisation, what it does</li>
<li>Key tasks and responsibilities</li>
</ol><li><b>Other Relevant Facts</b></li>
<ol><li>Education, qualifications, training</li>
<li>Outside work experience, interests, personal</li>
</ol></ol>He did mention that CV change over time, the format I mean but they should about 2 pages no more. Any more and the employer will get bored, as he/she has too see loads of these.<br />
We then did a group discussion on identifying Achievements and then trying to get as many doing words as possible to show what you have accomplished. He also mentioned as a side note that apparently there a preconception that mathematicians aren't good with money, so if you can show you are good with money it will be no bad thing (nudge, nudge).<br />
We also looked at the different ways to search and apply for jobs.<br />
<br />
<b>Cold Approach</b><br />
It's simple, one letter. Useful if growing company. But there may be no job available. Also the chances of success are small.<br />
<br />
The other methods most people know:<br />
Contact Networks<br />
Response to Adverts<br />
Recruitment Agencies<br />
<br />
The Contact Network seemed to be the best way of getting a job you want. We also looked at Referral Interviews. This was completely new to me. If you have some one in a contact network and you ask them about getting a job in a particular sector, they can refer you to someone who may have more knowledge about the goings on.<br />
<br />
The first step is to get referred to someone. Next write them a letter about what you want to get out of it, these referrals are <b>not</b> for you to ask them for a job but talk to them your career plan in general sense, also send them your CV. Next to phone them to confirm a meeting. This is where you mention your letter and make clear that you are not after a job. Mention that it will not take long and you know their time is valuable. If they say they can't help you, stroke their ego tell them they have vast knowledge about this particular field.<br />
If it all goes well hold the meeting, then send a thank you letter for meeting that person.<br />
<br />
We also spent some time looking a questions that may be asked i.e.<br />
What recruitment agencies specialise in this sector?<br />
What sort of papers or source should I look at for job advertisement?<br />
Realistic Salary?<br />
Do you other people that could help me out and me more information in these sort of areas we have discussed?<br />
Is my cv okay?<br />
can I hear about your experience.<br />
<br />
We then looked at responding to to job adverts, difficult interview questions, do and don't of interviews. Then each person was given a snippet from Mathematics Today (February 2011). This featured a bit about job options and describing where certain people work. One option some one mentioned was Transportation planner. Then a list of website to find jobs:<br />
<ol><li><a href="http://commercial.datatech.org.uk/default.aspx">Datatech Recruiment</a></li>
<li><a href="http://www.dstl.gov.uk/pages/150">DSTL- Defence science and Technology Laboratary</a></li>
<li><a href="http://www.gad.gov.uk/">Government Actuary's Department</a></li>
<li><a href="http://www.gchq-careers.co.uk/Jobs/Mathematicians/">Government Communications Headquarters GCHQ</a></li>
<li><a href="http://www.operational-research.gov.uk/recruitment">Government Operational Research Service</a></li>
<li><a href="http://www.statistics.gov.uk/hub/government-statistical-service/index.html">Government Statistical Service GSS</a> <a href="http://www.ons.gov.uk/jobs/index.html">Jobs</a></li>
<li><a href="http://www.matchtech.com/home/">Matchtech Group</a></li>
<li><a href="http://www.metoffice.gov.uk/about-us/jobs">Met Office</a></li>
<li><a href="http://www.psiweb.org/index.php?p=recruitment">Statisticians in the Pharmaceutical Industry PSI</a></li>
<li><a href="http://www.ons.gov.uk/jobs/index.html">Office for National Statistics</a></li>
<li><a href="http://www.insidecareers.co.uk/__802574d8004f01d1.nsf!opendatabase">The inside career guide to Actuarial Work</a></li>
<li><a href="http://www.actuaries.org.uk/">The institute of Actuaries</a></li>
<li><a href="http://www.tps.org.uk/main/opportunities/">Transport Planning Opportunities</a></li>
</ol><br />
At the end of this there was a talk by Peter Rowlett about mathematics teaching and learning. Aperiodic tiling by Edmund Harris and a talk by Steve King on something to do with Rolls Royce.<br />
<br />
As a side note they did say for students you can join the ima for <a href="https://spreadsheets.google.com/viewform?formkey=dHdXOTdKellPdXQ5VVRyQzZKZ2pfR3c6MQ">free</a> or £5 fee.Anonymoushttp://www.blogger.com/profile/13698858802634569835noreply@blogger.com0