## Latest Entries »

*Objectified* is a feature-length documentary about our complex relationship with manufactured objects and, by extension, the people who design them. It’s a look at the creativity at work behind everything from toothbrushes to tech gadgets. It’s about the designers who re-examine, re-evaluate and re-invent our manufactured environment on a daily basis. It’s about personal expression, identity, consumerism, and sustainability.

You might think that your memory is there to help you remember facts, such as birthdays or shopping lists. If so, you would be very wrong. The ability to travel back in time in your mind is, perhaps, your most remarkable ability, and develops over your lifespan. Horizon takes viewers on an extraordinary journey into the human memory. From the woman who is having her most traumatic memories wiped by a pill, to the man with no memory, this film reveals how these remarkable human stories are transforming our understanding of this unique human ability. The findings reveal the startling truth that everyone is little more than their own memory.

<embed id=VideoPlayback src=http://video.google.com/googleplayer.swf?docid=-602962800234523793&hl=en&fs=true style=width:400px;height:326px allowFullScreen=true allowScriptAccess=always type=application/x-shockwave-flash> </embed>

Here is an amazingly innovative project where students have recycled a bicycle to produce a Tennis Throwing machine.

Both cleanly powered and built from recycled bicycles our pedal powered tennis ball launcher is a unique innovate or die entry. It allows players varying in skill levels to practice to be better at both tennis and cycling. The launcher is towed to the court on its built-in bicycle trailer. A bike is secured to it and functions to drive the device. Pedaling the cycle as one would on a trainer drives the two launcher wheels. The cyclist then aims and pulls the lever to launch balls to the hitter.

Source: http://www.bmw.co.za/innovations. Shot in the Netherlands utilising the moving sculptures of world-renowned artist Theo Jansen, this commercial, entitled “Kinetic Sculptures” forms part of a broader campaign which serves to highlight BMW’s market leadership in the fields of technology and innovation.

He beleives the walls between art and engineering exist only in our minds

This is an amazing and addictive game. Credit to http://fantasticcontraption.com

[iframe http://fantasticcontraption.com/index.php# 700 1000]

Morph is a concept demonstrating some of the possibilities nanotechnologies might enable in future communication devices. Morph can sense its environment, is energy harvesting and self cleaning .

Morph is a flexible two-piece device that can adapt its shape to different use modes. Nanotechnology enables to have adaptive materials yet rigid forms on demand.

It is also featured in the MoMA online exhibition “Design and the Elastic Mind”. It has been a collaboration project of Nokia Research Center and Cambridge Nanoscience Center. Excpert from http://www.nokia.com/about-nokia/research/demos/the-morph-concept

In this three-part BBC series, Dr Adam Rutherford tells the extraordinary story of the scientific quest to discover the secrets of the living cell. The first part, The Hidden Kingdom, explores how centuries of scientific and religious dogma were overturned by the earliest discoveries of the existence of cells, and how scientists came to realise that there was, literally, more to life than meets the eye.

The second part, The Chemistry of Life, episode explores how scientists delved ever deeper into the world of the cell, seeking to reveal the magic ingredient that can spark a bundle of chemicals into life. Their discoveries have brought us to the brink of being able to create life for ourselves.

The third and final part, The Spark of Life, reveals how our knowledge of cells has brought us to the brink of one of the most important moments in history. Scientists are close to repeating what has happened only once in four billion years – the creation of a new life form.

In this three-part BBC series, Dr Adam Rutherford tells the extraordinary story of the scientific quest to discover the secrets of the living cell. The first part, The Hidden Kingdom, explores how centuries of scientific and religiousdogma were overturned by the earliest discoveries of the existence of cells, and how scientists came to realise that there was, literally, more to life than meets the eye.

The second part, The Chemistry of Life, episode explores how scientists delved ever deeper into the world of the cell, seeking to reveal the magic ingredient that can spark a bundle of chemicals into life. Their discoveries have brought us to the brink of being able to create life for ourselves.

The third and final part, The Spark of Life, reveals how our knowledge of cells has brought us to the brink of one of the most important moments in history. Scientists are close to repeating what has happened only once in four billion years – the creation of a new life form.

In this three-part BBC series, Dr Adam Rutherford tells the extraordinary story of the scientific quest to discover the secrets of the living cell. The first part, The Hidden Kingdom, explores how centuries of scientific and religious dogma were overturned by the earliest discoveries of the existence of cells, and how scientists came to realise that there was, literally, more to life than meets the eye.

The second part, The Chemistry of Life, episode explores how scientists delved ever deeper into the world of the cell, seeking to reveal the magic ingredient that can spark a bundle of chemicals into life. Their discoveries have brought us to the brink of being able to create life for ourselves.

The third and final part, The Spark of Life, reveals how our knowledge of cells has brought us to the brink of one of the most important moments in history. Scientists are close to repeating what has happened only once in four billion years – the creation of a new life form.

The clock tower is usually part of a church or municipal building such as a town hall, but many clock towers are free-standing.

The mechanism inside the tower is known as a turret clock. It often marks the hour (and sometimes segments of an hour) by sounding large bells or chimes, sometimes playing simple musical phrases or tunes.

Chaos theory has a bad name, conjuring up images of unpredictable weather, economic crashes and science gone wrong. But there is a fascinating and hidden side to Chaos, one that scientists are only now beginning to understand.

It turns out that chaos theory answers a question that mankind has asked for millennia – how did we get here?

In this documentary, Professor Jim Al-Khalili sets out to uncover one of the great mysteries of science – how does a universe that starts off as dust end up with intelligent life? How does order emerge from disorder?

It’s a mindbending, counterintuitive and for many people a deeply troubling idea. But Professor Al-Khalili reveals the science behind much of beauty and structure in the natural world and discovers that far from it being magic or an act of God, it is in fact an intrinsic part of the laws of physics. Amazingly, it turns out that the mathematics of chaos can explain how and why the universe creates exquisite order and pattern.

And the best thing is that one doesn’t need to be a scientist to understand it. The natural world is full of awe-inspiring examples of the way nature transforms simplicity into complexity. From trees to clouds to humans – after watching this film you’ll never be able to look at the world in the same way again.

A bookshelf that turn into a coat hanger. The angles can vary and i think its a very sleek design.

Very interesting and intelligent design for a book mark. Every time after reading the book yo put the belt on can be set your bookmark.

PowerPOST is a socket conceptual design that is placed in the legs of a table. This makes supplying power to desktop computers and other products much easier as it makes wire automatically organised without then being cluttered on the floor. The elegant design will attract many consumers to opt for this product.

Office furniture companies would very much invest in this product.

At TEDIndia, Pranav Mistry demos several tools that help the physical world interact with the world of data — including a deep look at his SixthSense device and a new, paradigm-shifting paper “laptop.” In an onstage Q&A, Mistry says he’ll open-source the software behind SixthSense, to open its possibilities to all.

So see what a city is made of, the team of national geographic has striped it of its skin and found out what it is that drives the world’s megacities.

This episode, Mumbai is the megacity in which 13 million people live. Discover and marvel at how such dense city manages to sleep soundly.

The airport opened for commercial operations in 1998, replacing Kai Tak, and is an important regional trans-shipment centre, passenger hub and gateway for destinations in Mainland China (with over 40 destinations) and the rest of Asia. Despite a relatively short history, Hong Kong International Airport has won seven Skytrax World Airport Awards in just ten years.

The amazing feet of raising a new airport on a separate island is dwarfed by cutting edge engineering.

To watch the following video please download veoh weplayer and refresh. Veoh is not a virus of trojan program

Introduction.to.fluid.mechanics.Fox.Mcdonald

One of the bestselling books in the field, *Introduction to Fluid Mechanics* continues to provide readers with a balanced and comprehensive approach to mastering critical concepts. The new seventh edition once again incorporates a proven problem-solving methodology that will help them develop an orderly plan to finding the right solution. It starts with basic equations, then clearly states assumptions, and finally, relates results to expected physical behavior. Many of the steps involved in analysis are simplified by using Excel.

This Also has a solution manual. Comment below and leave your email address to receive it for free.

Mechanical Engineering Handbook

Whether you’re looking for details on materials, any aspect of mechanical design, manufacturing, thermal engineering, or engineering management, Mechanical Engineers’ Handbook, Second Edition, gives you fingertip access to the vital information you need to succeed.

Visions of the Future: The Quantum Revolution. 3rd part of 3 part miniseries on the BBC hosted by Michio Kaku. In this new three-part series, leading theoretical physicist and futurist Dr Michio Kaku explores the cutting edge science of today, tomorrow, and beyond. He argues that humankind is at a turning point in history. In this century, we are going to make the historic transition from the ‘Age of Discovery’ to the ‘Age of Mastery’, a period in which we will move from being passive observers of nature to its active choreographers. This will give us not only unparalleled possibilities but also great responsibilities.

Visions of the Future: The Biotech Revolution. 2nd part of 3 part miniseries on the BBC hosted by Michio Kaku. In this new three-part series, leading theoretical physicist and futurist Dr Michio Kaku explores the cutting edge science of today, tomorrow, and beyond. He argues that humankind is at a turning point in history. In this century, we are going to make the historic transition from the ‘Age of Discovery’ to the ‘Age of Mastery’, a period in which we will move from being passive observers of nature to its active choreographers. This will give us not only unparalleled possibilities but also great responsibilities. Genetics and biotechnology promise a future of unprecedented health and longevity: DNA screening could prevent many diseases, gene therapy could cure them and, thanks to lab-grown organs, the human body could be repaired as easily as a car, with spare parts readily available. Ultimately, the ageing process itself could be slowed down or even halted. But what impact will this have on who we are and how we will live? And, with our mastery of the genome, will the human race end up in a world divided by genetic apartheid?

Visions of the Future: The Intelligence Revolution. 1st part of 3 part miniseries on the BBC hosted by Michio Kaku. In this new three-part series, leading theoretical physicist and futurist Dr Michio Kaku explores the cutting edge science of today, tomorrow, and beyond. He argues that humankind is at a turning point in history. In this century, we are going to make the historic transition from the ‘Age of Discovery’ to the ‘Age of Mastery’, a period in which we will move from being passive observers of nature to its active choreographers. This will give us not only unparalleled possibilities but also great responsibilities.

Man is the only creature that produces landfills. Natural resources are being depleted on a rapid scale while production and consumption are rising in na tions like China and India. The waste production world wide is enormous and if we do not do anything we will soon have turned all our resources into one big messy landfill. But there is hope. The German chemist, Michael Braungart, and the American designer-architect William McDonough are fundamentally changing the way we produce and build. If waste would become food for the biosphere or the technosphere (all the technical products we make), produc tion and consumption could become beneficial for the planet.

A design and production concept that they call Cradle to Cradle. A concept that is seen as the next industrial revolution.

• Design every product in such a way that at the end of its lifecycle the component materials become a new resource.

• Design buildings in such a way that they produce energy and become a friend to the environment.

Large companies like Ford and Nike are working with McDonough and Braun gart to change their production facilities and their products. They realize that economically seen waste is destruction of capital. You make something with no value. Based on their ideas the Chinese government is working towards a circular economy where Waste = Food. An amazing story that will definitely change your way of thinking about production and consumption.

(Source: vpro.nl)

Megacities takes a revolutionary look at the places where most of us live: the modern Metropolis. Megacities focuses on the single aspect of a city’s infrastructure which best informs the life and functions of that place. Each city is examined as an organism: living, breathing, and growing. In order to survive, these infrastructures must each function independently, and yet blend into a harmony of man, machine, strategy and system, which defines it as a mega city. Megacities examines the infrastructure of eight iconic locations around the world: Las Vegas, Mexico City, Hong Kong, London, Paris, **Sao Paulo**, Mumbai and New York. Through dramatic storytelling, unparalleled access and sophisticated computer graphics blended seamlessly with live action, Megacities takes viewers beyond the monuments – and into the machinery – that is the true, living marvel of each mega city.

//

November 2006 NASA were hosts to the greatest living minds. They were meeting to put radicle solution to the greatest threat humanity has ever faced, Global Warming! One of the Most Fundamental questions asked- Can engineering save the very essence of our existence.

Follow the BBC TV Trail.

The futuristic fleet of yachts pumping sea-water into the clouds

Why launching sulphur rockets may stop global warming

The deflective global sunshade designed to protect our planet

Could feeding the ocean’s phytoplankton help save the planet?

The machines that mimic our natural carbon capturers

Refers to the idea that, if a person is one step away from each person they know and two steps away from each person who is known by one of the people they know, then everyone is at most six steps away from any other person on Earth.

Its a profound theory that could lead to us being connected somehow to everyone on earth.

Part 1

Part 2

Part 3

Part 4

Part 5

**1. The Law of Falling Bodies (1604)**

Galileo Galilei overturns nearly 2,000 years of Aristotelian belief that heavier bodies fall faster than lighter ones by proving that all bodies fall at the same rate.

**2. Universal Gravitation (1666)**

Isaac Newton comes to the conclusion that all objects in the universe, from apples to planets, exert gravitational attraction on each other.

**3. Laws of Motion (1687)**

Isaac Newton changes our understanding of the universe by formulating three laws to describe the movement of objects. 1) An object in motion remains in motion unless an external force is applied to it. 2) The relationship between an object’s mass (m), its acceleration (a) and the applied force (F) is F = ma. 3) For every action there is an equal and opposite reaction.

**4. The Second Law of Thermodynamics (1824 – 1850)**

Scientists working to improve the efficiency of steam engines develop an understanding of the conversion of heat into work. They learn that the flow of heat from higher to lower temperatures is what drives a steam engine, likening the process to the flow of water that turns a mill wheel. Their work leads to three principles: heat flows spontaneously from a hot to a cold body; heat cannot be completely converted into other forms of energy; and systems become more disorganized over time.

**5. Electromagnetism (1807 – 1873)**

Pioneering experiments uncover the relationship between electricity and magnetism and lead to a set of equations that express the basic laws governing them. One of those experiments unexpectedly yields results in a classroom. In 1820, Danish physicist Hans Christian Oersted is speaking to students about the possibility that electricity and magnetism are related. During the lecture, an experiment demonstrates the veracity of his theory in front of the whole class.

**6. Special Relativity (1905)**

Albert Einstein overthrows basic assumptions about time and space by describing how clocks tick slower and distances appear to stretch as objects approach the speed of light.

**7. E = mc^2 (1905)**

Or energy is equal to mass times the speed of light squared. Albert Einstein’s famous formula proves that mass and energy are different manifestations of the same thing, and that a very small amount of mass can be converted into a very large amount of energy. One profound implication of his discovery is that no object with mass can ever go faster than the speed of light.

**8. The Quantum Leap (1900 – 1935)**

To describe the behavior of subatomic particles, a new set of natural laws is developed by Max Planck, Albert Einstein, Werner Heisenberg and Erwin Schrodinger. A quantum leap is defined as the change of an electron within an atom from one energy state to another. This change happens all at once, not gradually.

**9. The Nature of Light (1704 – 1905)**

Thought and experimentation by Isaac Newton, Thomas Young and Albert Einstein lead to an understanding of what light is, how it behaves, and how it is transmitted. Newton uses a prism to split white light into its constituent colors and another prism to mix the colors into white light, proving that colored light mixed together makes white light. Young establishes that light is a wave and that wavelength determines color. Finally, Einstein recognizes that light always travels at a constant speed, no matter the speed of the measurer.

**10. The Neutron (1935)**

James Chadwick discovers neutrons, which, together with protons and electrons comprise the atom. This finding dramatically changes the atomic model and accelerates discoveries in atomic physics.

**11. Superconductors (1911 – 1986)**

The unexpected discovery that some materials have no resistance to the flow of electricity promises to revolutionize industry and technology. Superconductivity occurs in a wide variety of materials, including simple elements like tin and aluminum, various metallic alloys and certain ceramic compounds.

**12. Quarks (1962)**

Murray Gell-Mann proposes the existence of fundamental particles that combine to form composite objects such as protons and neutrons. A quark has both an electric and a “strong” charge. Protons and neutrons each contain three quarks.

**13. Nuclear Forces (1666 – 1957)**

Discoveries of the basic forces at work on the subatomic level lead to the realization that all interactions in the universe are the result of four fundamental forces of nature — the strong and weak nuclear forces, the electromagnetic force and gravitation.

Chances are you’ve seen one and you just didn’t realize it. Fractals are most recognized as a series of circular shapes with a border surrounded by jagged “tail-like” objects. NOVA’s episode, “Fractals: Hunting the Hidden Dimension” is a quite interesting fifty minute look at the topic.

The program, aimed at the average viewer does a fine job of explaining the background of fractals, first by beginning with the story of Pixar co-founder, Loren Carpenter’s work at Boeing, developing 3D terrain from scratch using fractals. From there the program starts at the beginning with an introduction to Benoit Mandelbrot and his revolutionary work. The explanations are full of solid factual information but never talk above the level of a viewer who has some understanding of basic mathematical principles. Once the concept is presented the program spends the rest of the time showing how prevalent the fractal is in life.

For a program about a mathematical concept, “Fractals” is very engaging, showing how the process was applied to special effects as far back as the Genesis planet from “Star Trek II” all the way to the spectacular finale on Mustafar in “Star Wars: Episode III.” I found myself astonished at how fractals were the source of the lava in constant motion and action during the Obi-Wan/Anakin fight. What is more amazing is when the program delves into practical applications such as cell phone antennas, and eventually the human body.

For the average person who enjoys watching NOVA or other science related programs, even on a sporadic basis, “Fractals” will prove to be a very worthwhile experience. The program is well produced, integrating talking head interviews (including some with Mandelbrot himself) with standard “in the field” footage. The structure of the program is very logical and never finds itself jumping around without direction. In simplest terms, this is a program as elegant as the designs it focuses on.

**Part 1: Einstein’s Unfinished Symphony**

The story of who Einstein was and how he lived. The dawn of the new century brought many great discoveries, among them was his most famous **E=mc² **which life measurable of not predictable. He predicted how the speed of light would be constant rather that time. This had revolutionised science forever but** t**hen came along the the theory of relativity which predicted the unmeasurable states of the atom. This new idea did not “sound right” to Einstein and his stubborness to accept it meant that he spent a good part of his life trying to proove otherwise. (Full Program Summary: BBC-Horizons)

# Part 2: Einstein’s Equation of Life and Death

Story About how one of the most famous equations **E=mc²** became the equation of life (generate nuclear power) and death (Hiroshima). As Albert Einstein wrote a letter of warning to the then president of USA Roosevelt, he did not realize that his letter would not only warn the world of the danger ahead, but also inspire then to device it. (Program Summary: BBC-Horizons)

If you are the least bit curious on how the mind works and the infinite mysteries that it holds then this documentary is for you. Some of the fascinating things that scientists, psychologists and physcians have discovered about the inner workings of the brain is unfortunately the result of brain injured patients.

There are people in this world who have profoundly different experiences of reality than you and I have. People who can see whilst being blind, who can feel pain in amputated limbs, who believe they are God , and even people who think their own parents are imposters.

These people may be called crazy, but they’re not. Their ways of thinking are limited and distorted because some parts of their brains have suffered physical damage. Today neuroscientists like Ramachandran investigate their brains and their unique make up to discover the **Secrets Of The Mind**.

We live in Exponential times and technology is progressing rapidly. To have a look into the future of space travel, watch the video. Extremely insightful.

This Discovery Channel documentary looks at the role of the unseen aerial equipment: drones, UAVs, stealth planes, satellites, etc. We learn that not all of these Eyes in the Sky are used for military purposes…..

We start by looking at the world’s most notorious spy plane, the U-2, and its role in the Cuban missile crisis during the Cold War, before moving on to some of the most significant ‘eyes’ in today’s sky:

- Global Hawk: a large, unmanned aerial vehicle – it has a 116 ft wingspan, a V-shaped tail and can cover 5,000 miles at a time, staying airborne for almost 2 whole days without refuelling – it is flown entirely by computer and feeds its info directly to a satellite to provide tactical reconnaissance
- Dark Star: the world’s first unmanned stealth plane – first flown in 1996, it can fly without being noticed – it produces incredibly sharp images which it can bounce around the world in less then 2 seconds
- Outrider: a small, unmanned bi-plane introduced in 1997 – it uses GPS to land
- Cipher: a doughnut-shaped UAV (unmanned aerial vehicle) that is hard to see on radar – it flies at a height of 8,000 ft, uses GPS and is able to take off and land vertically
- Pathfinder: an environmental research plane which cruises at only 15 miles per hour but at a height of 18 miles above the earth – it can fly for months at a time
- Centurion: huge, solar-powered UAV with a 200 ft wingspan – it stays in the air for months and can monitor agriculture, tropical storms, forests fires, etc.

Other interesting surveillance and reconnaissance equipment included in this film:

- the Airborne Laser Project which is able to shoot down Scud missiles,
- the AST (Airborne Surveillance Testbed) – ultra-sensitive infra-red sensors in an adapted Boeing 767 monitor missiles
- JSTARS: a satellite-linked reconnaissance system in an adapted Boeing 707

**You will have to download veoh web player. Google it, it is not a virus its a popular video hosting website**

Watch how Wooden Bowls, Chain Saws, Stackable Potatochips and Jet Compressor Blades are made. You will have to download veoh web player. Google it, it is not a virus its a popular video hosting website. Its a 20 minute video with exciting insight.

Watch how Wooden Bowls, Chain Saws, Stackable Potatochips and Jet Compressor Blades are made. You will have to download veoh web player. Google it, it is not a virus its a popular video hosting website. Its a 20 minute video with exciting insight.

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

- Basic plotting
- Use ezplot() to plot sinh(x). i.e
- The script below will allow you to use various commands to fit a certain type of data.
- subplot to plot two graphs next to each other
- fplot fo curve fitting
- labelling and plotting graphs using xlabel, ylabel, gtext, grid, axis, legend
- retrieve data from a graph using ginput
- plot polar coordinates and fit polar coordinates using ezpolar
- finally use inline to make scripts faster

x=11 y=-3 z= 3x + y.^2 doc plot plot (z,x, 'o') %all points are represented by symbol o. type help plot to see all the other formatting that you can use

ezplot ('sinh (x)') ezplot ('(e.^x)- (e.^(-x))')

%========================================================================== % Clear up workspace! ----------------------------------------------------- clear; %========================================================================== x= [1:1:100]; %data y = x.^4; plot(x,y); hold %holds the current plot z= x.^5; plot(x,z) %overlays the plot of z on x close all %close all figure windows % creating horizontal and vertical subplots-------------------------------- %horizontal subplot subplot(1,2,1), plot(y); % represents the number of plots and their position (x,y,position).i.e in this case shows two graph side-by side. subplot(1,2,2), plot(z); user_entry = input('Break Task A'); %Break point %vertical subplot(2,1,1), plot(y); subplot(2,1,2), plot(z); user_entry = input('Break Task A'); %Break point close all %close all figure windows % fplot-fitting set of data to form a smooth curve-------------------------------------------------------------------- fplot('[x^4, x^6]',[0:10]) user_entry = input('Break Task A'); close all % using plot to show multiple lines. plot (x,y,'b-',x,z, 'r-'); xlabel('x'); ylabel('y'); title('figure 1'); legend('data1', 'data2', 2); grid on; %shows the grid gtext('A') %slick of the mouse on the graph will paste the word A on it user_entry = input('Break Task A'); % getting data from the graph grid on [xin,yin]=ginput(10); % have to click mouse 10 times and it will store x and y values in xin and yin respectively plot(xin,yin, 'rX') % plots xin and yin with a red X user_entry = input('Break Task A'); %using polar coordinated------------------------------------------------------ theta = [0: pi/10: pi/2]; rho = cos(theta).^2; polar(theta, rho); user_entry = input('Break Task A'); %Break point %using fplot equivalent- ezpolar ezpolar('cos(t)^2', [0,pi/2]); %equivalent of fplot user_entry = input('Break point');

- Simple SUM function files
- Simple Mutiplying Function
- Creating a list of numbers

function[sum4]=mySum4(a1,b1,c1,d1) % to call the function, you have to write mySum4 (2,3,4,5) and it will return what sum4 is represented by sum4=a1+b1+c1+d1;

function[sum,difference,product,ratio]=myOperations(a2,b2) % calling the function in the command window to compute myOperations on TWO mumbers will return its sum, difference, product and ration sum=a2+b2; % individually define what each part of the function means difference=a2-b2; product=a2*b2; ratio=a2/b2;

function[x]=makeList(first,last,spacing) i=1; while first<=last % execute while in the range x(i)=first; % x(1)= what the user puts as first value first=first+spacing; % reassigns first with new value i = i+1; % so that x(2)=newly reassigned first end

Matlab is capable of much more than 2+2. It can write powerful scripts that can compute large amount of data.

**Simple Script**– Create a new matlab script (.m) file. Press CTRL**Dice Throw**– Create a new matlab script (.m) file. Press CTRL. Simulates the throw of two dice using the rand() function and returns the individual and combined score**Real Draught Problem-**Calculating the stability of a cuboid immersed in a fluid- Play Rock, Paper Scissor with the Computer
- Simple counting loop with FOR
- Calculate Factorial of a Number
**-FOR** - Calculate Factorial of a Number
**-WHILE** - Checking if input is a Prime number
- Listing all prime numbers
- Creating multiplication tables
- Calculating the value of pi

for i=1:10 % doesn't not necessarily have to be i. we just assigning it that so that. This basically repeats whatever we write next (10) time disp ('it works') % displays it works for (10) times end % for loop always have an end so it can start again and assign i=2 and do the loop for the 2nd time cd % displays your working directory

now save it by clicking the play button in the “editor” window.

assign is a name and see the results in the command window.

OR save it using the save button and run is from the command window by pressing

run ('x') % x is your filename

%%"dice throw" jignesh Kerai. 29/01/09. Ver 1.0 %displays sum of two dice throws. %numbers are random %%start disp ('----------------------Throwing Two Dice-------------------') a=ceil(6*rand); % rand gives random decimal point values between 1 & 0 b=ceil(6*rand); % ceil rounds of the 6*rand to give simulate 6 possible outputs (1-6) total= (a+b); disp ('First Dice'), disp(a); % displays First Dice and the value of (a) disp ('Second Dice'), disp (b);

Now if you wanted to tell the script to double the score if both dice have the same number (i.e a=b)

if(a==b) %placing and condition to do something if a=b. Note the double ==. disp('Double Score'),disp(total*2) % displays double score and 2*total value. else %otherwise if a is NOT = b disp ('Total Score'), disp(total) disp('##########################################################') %for fun end %END

%%"Draught of a Floating" Jignesh Kerai 29/01/09 %Determines whether a cuboid will float or not l=input ('what is the lenght of the cuboid (metres)?'); ';' suppresses output, i.e the output of the calculation will not be displayed in the command window w=input ('what is the width of the cuboid (metres)?'); h=input ('what is the height of the cuboid (metres)?'); pc=input ('what is the density of the cuboid (kg/m^3)?'); pfluid=input('what is the density of the fluid (kg/m^3)?'); if (pc>pfluid); disp('Cuboid will drown'); % if density of cuboid> fluid's density then it warns the user. elseif (h>l||h>w); %elseif has to be used if you want another "if" statement within the original if loop disp ('Cuboid unstable') % if the height> length OR (|| height > width then disp() elseif (h<l||h<w); disp ('Cuboid is stable') end V= (l*w*h); % calculate volume m=(pc*V); d=(m/pfluid); disp('Volume='),disp(V) disp('mass='),disp(m) disp('draught='), disp(d) disp('------------------------------------------------------')

%%"dice throw" jignesh Kerai. 29/01/09. Ver 1.0 %Play Rock, Paper Scissor with the Computer %%start a= input ('choose ROCK(1), PAPER(2) or SCISSOR(3)'); % user input of what they choose b= ceil(3*rand); creates random numbers from 1 TO 3 if (a==b) %Condition disp ('ITS A DRAW') elseif (a==1 && b==2) % elseif if used within an if statement to say IF again if the first if was not satisfied. && is the AND function. (i.e if a=1 AND b=2 the disp (...)) disp ('The computer choose PAPER and you choose ROCK. PAPER covers ROCK. You LOOSE') elseif (a==2 && b==1) disp ('The computer choose ROCK and you choose PAPER. PAPER covers ROCK. You WIN') elseif (a==3 && b==1) disp ('The computer choose ROCK and you choose SCISSOR. ROCK breaks SCISSORS. You LOOSE') elseif (a==1 && b==3) disp ('The computer choose SCISSORS and you choose ROCK. ROCK breaks SCISSORS. You WIN') end a=input ('do u want to play again. YES(1), NO(2)?'); % user input if a==1; run 'C:\%location of file\FILENAME.m%' % Allows user to play again with the computer. if unsure what directory you have saved the file. use the CD command. else disp ('GoodBYE') end %%END--------------------%%

%%Jignesh %simple Counting loop a=input('enter digit to start counting from'); %starting value you want to count from b=input ('enter digit to stop counting'); % end disp ('---') for i=a:b m(i)=i; % assigns first row, first element end %%END--------------------%%

a=input ('Value of n! enter your value of n') % input of last number f=1 %have to set value of first f for i=1:a %number of time whatever you write under for has to be executed f=f*i % first time, i=1, f=1, therefore new f=1. %2nd time, i=2, f=1, therefore new f=2 %3rd time, i=3, f=2, therefore new f=6...etc end disp (f)

%%computing factorial using while loop.Jignesh%start n=input ('value of number to calculate factorial of') %last number i=1 % set value of i a=1% set value of a while i<=n % if i less than or equal to (user input) do the following a=a*i % first time a=1, i=1, new a =1. i=1+i % have to change value of i (same as for loop that automatically updates the value of i) end % so when it gets here, it will start the while statement again, i<=n. %2nd step i=2 and a=2. %3rd step i=3 and a=2*3= 6. %it will keep running till i=n. disp (a)

%%computing factorial using while loop.Jignesh N=input('put the number you would like to check') flag = 0 %add a variable called flag which assumes N is a prime for i=2:N-1 % for every number from 2 to n-1 divide N by each number x=mod(N,i);% check to see if you can divide N by i cleanly (to give an integer) % if it is possible to divide cleanly then x will = 0 % if x=0 then you can divide N cleanly by another number. Hence it is not a prime if (x==0) % Make flag 1 to tell the rest of the code that this number is not a prime flag = 1 end end;%after trying divide n by every number if the flag = 0 then n is a prime %otherwise n is not a prime if (flag==1) disp('this number is not a prime') else disp(' this number is a prime') end

n=1 while (n>0); %while n is greater than 0 run the commands below while (isprime(n)==1) %isprime is an predefined matlab script. type help isprime or doc isprime to see how it works. alternatively i you can also see the isprime script by typing edit isprime disp(n) break; % stops the while loops. i.e it runs it once only to check if n is prime or not end n=n+1;% increases the value of n by 1 and tests if that number is prime end

%%create Multiplication tables for the products of all integers from %%1:10.and display in a 2-d array %%jignesh for i=1:10; for j=1:10 table(i,j)=i*j; end end disp (table)

%%Calculating pi %Jignesh N=input ('Value of N?'); %number of iterative processes count = 0; for i=1:N x=2*rand-1; y=2*rand-1; if ( (x^2 + y^2)<1 ) count= count + 1; end end pi=(4*count)./N

size (a) = b % this will return the size of array (a) in terms of Number of rows and columns and assign in to array (b). therefore b(1,1)= number of rows of (a) and b (1,2) is the number of columns of (a)`save ('abcd') % this will save the current workspace under abcd.mat filename. this function is not particularly helfull when you are a beginner but when you will have to write scripts and you will have to clear workspaces within the script and call it back to do another function the it will dawn upon you why you have save. For now you can simply go to the save button in the workspace window and save the workspace if you wish`

`disp (a) % displays the elements of array (a)`

You can assign each element of an array (e.g A) to a particular number. It follows the same convection of mapping elements in an array. E.g

`A(1,1)=22 % assigns the first row, first column with the value of (22)`

`A(33,44)=55 % assigns the (33rd) row, (44th) column with the value (55) and anything in between (e.g A(2,2) will be assigned zero)`

`A(3,1:3)=[22 33 44] % Assigns the (3rd) row, 1st to 3rd columns with values of 22,33,44`

`A(row,column) % e.g if row=1 and column=3 then when you type this command then it will return the A(1,3) value of the array`

`A(2,:) = [1:0.4:10] % auto assigns 16 columns (number of values between 1 to 10 with spacing of 0.4) to the (2nd) row of (A). therefore A(1,2)=1.4 and A(1,3)=1.8 etc`

Check the menus.

Check buttons.

Which version of Matlab do you use?

Open the help system.

Is the symbolic toolbox installed? What is the symbolic toolbox good for?

Use Matlab to calculate 3 + 4 * 5 and (3 + 4) *5.

COMPUTATIONAL FLUID MECHANICS

- The OpenFOAM® (Open Field Operation and Manipulation) CFD Toolbox can simulate anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics, electromagnetics and the pricing of financial options.
- ISAAC (Integrated Solution Algorithm for Arbitrary Configurations) is a computational fluid dynamics (CFD) code developed to test and apply high order turbulence models for compressible flows around complex geometric configurations.
- OpenFlower is a free and open source CFD code (for Linux and Windows) mainly intended to solve the turbulent incompressible Navier-Stokes equations with a LES approach. It can deal with arbitrary complex 3D geometries with its finite volume approach.
- NaSt3DGP is a parallel 3D flow solver for the incompressible Navier-Stokes equations. The code is developed in the research group of M. Griebel at the Institute for Numerical Simulation at the Rheinische Friedrich-Wilhelms-Universität Bonn.
- OpenFVM is a general CFD solver released under the GPL license. It was developed to simulate the flow in complex 3D geometries. Therefore, the mesh can be unstructured and contain control volumes with arbitrary shape. The code uses the finite volume method to evaluate the partial differential equations. As well as solving the velocity and pressure fields, the code is capable of solving non-isothermal multiphase flow.

The code has two implementations: serial and parallel. The serial version uses LASPACK as the linear matrix solver and the parallel one uses the PETSc library. Both implementations use the open source tool Gmsh for pre- and post-processing.

FINITE ELEMENT ANALYSIS

- Impact is an explicit Finite Element Program Suite which simulates dynamic impact events. It has a range of elements, contact handling and different material laws. Models can be created, solved and analyzed with the included pre- and postprocessor or wit
**QuickField**™ is a very efficient Finite Element Analysis package for electromagnetic, thermal, and stress design simulation with coupled multi-field analysis. It combines a family of analysis modules using the latest solver technology with a very user-friendlymodel editor (preprocessor) and a powerful postprocessor.- Finite Element Method Magnetics

During the first year at university, i felt mechatronics (the Electronic Engineering) part of Mechanical Engineering was the toughest. Therefore i would like to help others with it.

The Java applet created by **falstad** will help you visualise electrical effects. Click here to browse for the circuit simulator

**SolidWorks Tutorial, Flex Twisting to Draw Helical Gear tutorial
**

**SolidWorks Tutorials by SolidProfessor Limit Mate**

** **

** ****SolidWorks Tutorials by SolidProfessor Mate Xpert**

** **

# SolidWorks Tutorials by SolidProfessor Rip Feature

# PDMWorks Tutorial by SolidProfessor Checking in an Assembly

# SolidWorks Tutorials by SolidProfessor Belts and Chains