lunes, 23 de junio de 2014

Interview of a civil engineer

Interview of a civil engineer

First of all, thanks for your time, I know that you don’t have much time so I appreciate this a lot.

1.     What’s your name?
My name is Pedro González.

2.      Why you decided to study Civil engineering?
It is a career that requires effort and dedication, but one of my passions is building, so it wasn´t an effort as big as it could be.

3.      Could you define the Civil Engineering?
Engineering that uses: knowledge of calculus, mechanics, hydraulics and chemistry to develop the design, construction and maintenance of infrastructure deployed in the environment, including roads, railways, bridges…

4.      Have you study a master? Related to?
Yes, I have studied a master of International Business Administration in Boston.

5.      What characteristics or skills define a civil engineer?
Extensive knowledge in the administration of mechanics, algebra and also hydraulics, it depends in the project you are involved.

6.     Have you ever used algebra in your life?
We don't usually think that we use algebra, but in our lifes we use more than we know.

7.      Is the workplace a civil engineer turned their expectations?
Not yet.

8.      What contributions to society gives a civil engineer?
Create roads, building, bridges and dams.

9.      Would you have been interested in some other career? Why?
I am always looking to expand my knowledge and be more prepared for everything.

domingo, 22 de junio de 2014

Algebra applications in Cryptography


Today governments use sophisticated methods of coding and decoding messages. One type of code, which is extremely difficult to break, makes use of a large matrix to encode a message. The receiver of the message decodes it using the inverse of the matrix. This first matrix is called the encoding matrix and its inverse is called the decoding matrix.

Example Let the message be:

PREPARE TO NEGOTIATE

and the encoding matrix be



We assign a number for each letter of the alphabet. For simplicity, let us associate each letter with its position in the alphabet: A is 1, B is 2, and so on. Also, we assign the number 27 (remember we have only 26 letters in the alphabet) to a space between two words. Thus the message becomes:


Since we are using a 3 by 3 matrix, we break the enumerated message above into a sequence of 3 by 1 vectors:



Note that it was necessary to add a space at the end of the message to complete the last vector. We now encode the message by multiplying each of the above vectors by the encoding matrix. This can be done by writing the above vectors as columns of a matrix and perform the matrix multiplication of that matrix with the encoding matrix as follows:




which gives the matrix



The columns of this matrix give the encoded message. The message is transmitted in the following linear form



To decode the message, the receiver writes this string as a sequence of 3 by 1 column matrices and repeats the technique using the inverse of the encoding matrix. The inverse of this encoding matrix, the decoding matrix, is:



(make sure that you compute it yourself). Thus, to decode the message, perform the matrix multiplication


and get the matrix



The columns of this matrix, written in linear form, give the original message:





Algebra video post


Webpage to practice some algebra exercises

This is not a really posts that I'm used to upload, but it is also from the algebra subject.

Enjoy the quizz and try to increase your algebra knowledge.



Lineal algebra applications in economics


Application to Leontief input-output model:

Introduction In order to understand and be able to manipulate the economy of a country or a region, one needs to come up with a certain model based on the various sectors of this economy. The Leontief model is an attempt in this direction. Based on the assumption that each industry in the economy has two types of demands: external demand (from outside the system) and internal demand (demand placed on one industry by another in the same system), the Leontief model represents the economy as a system of linear equations. The Leontief model was invented in the 30’s by Professor Wassily Leontief (picture above) who developed an economic model of the United States economy by dividing it into 500 economic sectors. On October 18, 1973, Professor Leontief was awarded the Nobel Prize in economy for his effort.

1)      The Leontief closed Model Consider an economy consisting of n interdependent industries (or sectors) S1,…,SnThat means that each industry consumes some of the goods produced by the other industries, including itself (for example, a power-generating plant uses some of its own power for production). We say that such an economy is closed if it satisfies its own needs; that is, no goods leave or enter the system. Letmij be the number of units produced by industry Si and necessary to produce one unit of industry Sj. If pk is  the production level of industry Sk, then mij pj represents the number of units produced by industry Si and consumed by industry Sj . Then the total number of units produced by industry Sis given by:

p1mi1+p2mi2+…+pnmin.
  
In order to have a balanced economy, the total production of each industry must be equal to its total consumption. This gives the linear system:

 

  



If







then the above system can be written as AP=P, where




is called the input-output matrix.

We are then looking for a vector P satisfying AP=P and with nonnegative components, at least one of which is positive.

Example  Suppose that the economy of a certain region depends on three industries: service, electricity and oil production. Monitoring the operations of these three industries over a period of one year, we were able to come up with the following observations:
1.      To produce 1 unit worth of service, the service industry must consume 0.3 units of its own production, 0.3 units of electricity and 0.3 units of oil to run its operations.
2.      To produce 1 unit of electricity, the power-generating plant must buy 0.4 units of service, 0.1 units of its own production, and 0.5 units of oil.
3.      Finally, the oil production company requires 0.3 units of service, 0.6 units of electricity and 0.2 units of its own production to produce 1 unit of oil. 

Find the production level of each of these industries in order to satisfy the external and the internal demands assuming that the above model is closed, that is, no goods leave or enter the system.

Solution Consider the following variables:
1.      p1= production level for the service industry
2.      p2= production level for the power-generating plant (electricity)
3.      p3= production level for the oil production company

Since the model is closed, the total consumption of each industry must equal its total production. This gives the following linear system:
  

The input-output matrix is

 

and the above system can be written as (A-I)P=0. Note that this homogeneous system has infinitely many solutions (and consequently a nontrivial solution) since each column in the coefficient matrix sums to 1.   The augmented matrix of this homogeneous system is


which can be reduced to


To solve the system, we let p3=t (a parameter), then the general solution is


and as we mentioned above, the values of the variables in this system must be nonnegative in order for the model to make sense; in other words, t≥0.  Taking t=100 for example would give the solution 


2)      The Leontief open Model The first Leontief model treats the case where no goods leave or enter the economy, but in reality this does not happen very often. Usually, a certain economy has to satisfy an outside demand,  for example, from bodies like the government agencies. In this case, let di be the demand from the ith outside industry, piand mij be as in the closed model above, then


for each i. This gives the following linear system (written in a matrix form):



where P  and are as above and







is the demand vector.

One way to solve this linear system is


Of course, we require here that the matrix I-A be invertible, which might not be always the case. If, in addition, (I-A)-1 has nonnegative entries, then the components of the vector P are nonnegative and therefore they are acceptable as solutions for this model. We say in this case that the matrix A is productive.

Example Consider an open economy with three industries: coal-mining operation, electricity-generating plant and an auto-manufacturing plant. To produce $1 of coal, the mining operation must purchase $0.1 of its own production, $0.30 of electricity and $0.1 worth of automobile for its transportation. To produce $1 of electricity, it takes $0.25 of coal, $0.4 of electricity and $0.15 of automobile. Finally, to produce $1 worth of automobile, the auto-manufacturing plant must purchase $0.2 of coal, $0.5 of electricity and consume $0.1 of automobile. Assume also that during a period of one week, the economy has an exterior demand of  $50,000 worth of coal, $75,000 worth of electricity, and $125,000 worth of autos. Find the production level of each of the three industries in that period of one week in order to exactly satisfy both the internal and the external demands.

Solution The input-output matrix of this economy is


and the demand vector is

  
By equation (*) above,

  

where
  




  
Using the Gaussian-elimination technique (or the formula B-1=(1/det(B))adj(B)), we find that

  
which gives


So, the total output of the coal-mining operation must be $229921.59, the total output for the electricity-generating plant is $437795.27 and the total output for the auto-manufacturing plant is $237401.57.





What is Algebra and its history

What is Algebra?

Algebra (from Arabic al-jebr meaning "reunion of broken parts") is one of the broad parts of mathematics, together with number theory, geometry and analysis.  As such, it includes everything from elementary equation solving to the study of abstractions such as groupsrings, and fields. The more basic parts of algebra are called elementary algebra, the more abstract parts are called abstract algebra or modern algebra. Elementary algebra is essential for any study of mathematics, science, or engineering, as well as such applications as medicine and economics. Abstract algebra is a major area in advanced mathematics, studied primarily by professional mathematicians. Much early work in algebra, as the origin of its name suggests, was done in the Near East, by such mathematicians as Omar Khayyam (1050-1123).


History of Algebra in Europe after 1500.

At the beginning of this period, zero had been accepted as a number and irrationals were used freely although people still worried about whether they were really numbers. Negative numbers were known but were not fully accepted. Complex numbers were as yet unimagined. Full acceptance of all components of our familiar number system did not come until the 19th century. Algebra in 1500 was still largely rhetorical. Renaissance mathematics was to be characterized by the rise of algebra.

In the 16th century there were great advances in technique, notably the solution of the cubic and quartic equations - achievements called by Boyer "perhaps the greatest contribution to algebra since the Babylonians learned to solve quadratic equations almost four millennia earlier." Publication of these results in 1545 in the Ars Magna by Cardano (who did not discover them) is often taken to mark the beginning of the modern period in mathematics. Cardano was the best algebraist of his age, but his algebra was still rhetorical. Subsequent efforts to solve polynomial equations of degrees higher than four by methods similar to those used for the quadratic, cubic, and quartic are comparable to the efforts of the ancient Greeks to solve the three classical construction problems: they led to much good mathematics but only to a negative outcome.
There were also at this time many important improvements in symbolism which made possible a science of algebra as opposed to the collection of isolated techniques ("bag of tricks") that had been the content of algebra up to this point.

The landmark advance in symbolism was made by Viète (French, 1540-1603) who used letters to represent known constants (parameters). This advance freed algebra from the consideration of particular equations and thus allowed a great increase in generality and opened the possibility for studying the relationship between the coefficients of an equation an the roots of the equation ("theory of equations"). Viète's algebra was still syncopated rather than completely symbolic. Symbolic algebra reached full maturity with the publication of Descartes' La Géométrie in 1637. This work also gave the world the wonderfully fruitful marriage of algebra and geometry that we know today as analytic geometry (developed independently by Fermat and Descartes).

"By the end of the 17th century the deliberate use of symbolism - as opposed to incidental and accidental use - and the awareness of the power and generality it confers [had] entered mathematics." But logical foundations for algebra comparable to those provided in geometry by Euclid were nonexistent.



New algebra posts

Welcome to the blog of Luis Ramírez Cortés, a student of Mechanical Engineering in the Universidad Europea de Madrid.

This blog has other post from the subject of Communication Skills, but the posts that are going to be created from now to the 30 of June of 2014 are going to be related to the subject of Algebra.


Thanks to all of my readers and I wish you will enjoy the algebra posts.

miércoles, 9 de abril de 2014

Fast food

Fast food:

Fast food is the term given to food that is prepared and served very quickly, first popularized in the 1950s in the United States. While any meal with low preparation time can be considered fast food, typically the term refers to food sold in arestaurant or store with preheated or precooked ingredients, and served to the customer in a packaged form for take-out/take-away. Fast food restaurants are traditionally separated by their ability to serve food via a drive-through. The term "fast food" was recognized in a dictionary by Merriam–Webster in 1951.
Outlets may be stands orkiosks, which may provide no shelter or seating, orfast food restaurants (also known as quick service restaurants). Franchiseoperations that are part of restaurant chains have standardized foodstuffs shipped to each restaurant from central locations.






21 Black Jack:

21 Black Jack:

Blackjack, also known astwenty-one, is the most widely played casinobanking game in the world. Blackjack is a comparing card gamebetween a player and dealer, meaning that players compete against the dealer but not against any other players. It is played with one or moredecks of 52 cards. The object of the game is to "beat the dealer", which can be done in a number of ways:
  • Get 21 points on your first two cards (called a blackjack), without a dealer blackjack;
  • Reach a final score higher than the dealer without exceeding 21; or
  • Let the dealer draw additional cards until his hand exceeds 21.
The player or players are dealt an initial two-card hand and add together the value of their cards. Face cards (kings, queens, and jacks) are counted as ten points. A player and the dealer can count his or her ownace as 1 point or 11 points. All other cards are counted as the numeric value shown on the card. After receiving their initial two cards, players have the option of getting a "hit", or taking an additional card. In a given round, the player or the dealer wins by having a score of 21 or by having the highest score that is less than 21. Scoring higher than 21 (called "busting" or "going bust") results in a loss. A player may win by having any final score equal to or less than 21 if the dealer busts. If a player holds an ace valued as 11, the hand is called "soft", meaning that the player cannot go bust by taking an additional card; 11 plus the value of any other card can always be less than or equal to 21. Otherwise, the hand is "hard".
The dealer has to take hits until his or her cards total 17 or more points. (In some casinos, the dealer also hits on a "soft" 17—e.g., an initial ace and six.) Players win if they do not bust and have a total that is higher than the dealer's. The dealer loses if he or she busts or has a lesser hand than the player who has not busted. If the player and dealer have the same point total, this is called a "push", and the player typically does not win or lose money on that hand.
Many rule variations of blackjack exist. Since the 1960s, blackjack has been a high-profile target of advantage players, particularly card counters, who track the profile of cards that have been dealt and adapt their wagers and playing strategies accordingly.
Other casino games inspired by blackjack include Spanish 21 andpontoon. The recreational British card game of black jack is a shedding-type game and unrelated to the subject of this article.

Being polite

Being polite:

Being polite is a matter of etiquette; it's about respect, and being considerate of people's feelings, culture, and values. It does not seem difficult, but for many people it remains a challenge. While some people have no interest whatsoever in politesse, if you're reading this you're probably wondering how you can improve your etiquette. At the very least, you might want to know how to avoid being rude or boorish, which at the very least, can put off the people around you. Being polite is also a good way to make friends.

Method 1 of 2: General Politeness

1             Be gentle, not forceful or insistent. This doesn't mean you need to act like a meek, quiet pushover. It means that when you do something, offer something, or make a request, you do it without pressuring the people around you and making them feel like they're being pushed into a corner.
For example, if you're having a conversation, it's one thing to ask a question or offer your opinion, but it's rude to push the matter when someone has expressed discomfort (verbally or non-verbally) about the subject.
Even if you're trying to help, like offering to pay for lunch or wash the dishes, don't be too insistent. If the person says "No, thank you, I've got it" then say "Please, I'd really love to help." If they still say no, then let it go. They obviously want to treat you, so let them, and return the favor some other time.

2             When in doubt, observe others. How are they greeting and addressing each other? What are they doing with their coats? What kinds of topics are they discussing? Different settings require different standards of formality, and those standards often define what is polite and what is not.
A work-related dinner, and holiday gathering, a wedding, and a funeral will all demand a different, but generally somewhat more formal tone than a party with a group of friends.

3             Be nice. Always be courteous, as you might meet this person again in another setting and wouldn't want to have caused negative memories that would give you a bad standing. If someone annoys or even insults you, don't get into an argument. Say "Let's agree to disagree" and change the subject, politely debate, or simply excuse yourself from the conversation.

4             Start a conversation by asking questions about the other person. Try not to talk about yourself too much—if they want to know (or are polite) they'll ask. Be confident and charming. Do not hog the conversation, that is arrogant and boorish. Look interested and listen to the answers.
Don't look over the person's shoulder or around the room when they are talking, or let your eyes linger on the hot new guest who just walked in. That implies you are distracted or not interested—that your conversational companion is not important or interesting enough to bother paying attention to.

5             Shake hands firmly and look your acquaintance in the eye when doing so. You might want to practice this a bit so you don't squish people's hands, depending on how strong you are. That would make them feel uncomfortable. Beware especially when shaking hands of women who are wearing rings. Too much pressure can be very painful.
Remember too that many people with an "old-school" etiquette background (especially if you are in Europe) find it inappropriate to offer your hand for a handshake to a lady or an older gentleman if you are a gentleman, or to an older lady, if you are a lady. Always greet the other person first, but wait for them to extend their hand. On the other hand, if you are the older person or lady, keep in mind that if you do not extend your hand, the other person may feel rejected, as he or she is not permitted to shake your hand. Usually this situation only takes half a second in checking whether the other person is moving towards you for a handshake. Be alert.
Do not approach someone with an already outstretched hand. That is pushy. If you want someone to know you are moving towards them, establish a firm eye contact and smile, maybe opening your arms a little (bent at the elbow) to make a welcoming gesture.

6             Know the proper dinner etiquette. For silverware, go from the outside, in. Place your napkin on your lap, and do not add anything to the table that was not there when you got there (cell phone, glasses, jewelry). Put your purse between your feet, under your chair. Women should not apply makeup at the table. It is rude and demonstrates a lack of refinement. If you want to fix your makeup or check if something is in your teeth, go to the restroom.

7             Have a laugh which shows you are having fun, without being loud. Loudness either indicates arrogance or insecurity. A charming polite person makes another person feel good. Keep this goal in mind, be considerate of other people's needs and opinions. Don't make derogatory remarks towards any kind of ethnic, political or religious groups under any circumstances.

8             Be graceful and show elegance. Carry yourself smoothly, with a sense of calm, yet involved in the moment. People will notice this subtle charm and this will help you greatly.

9             Be aware that etiquette and manners vary depending on the cultural region you are in...be sure to study the local customs before you travel

Origami:

Origami:

(折り紙, from orimeaning "folding", and kamimeaning "paper" (kami changes to gami due to rendaku) is the traditional Japanese art of paper folding, which started in the 17th century AD at the latest and was popularized outside of Japan in the mid-1900s. It has since then evolved into a modern art form. The goal of this art is to transform a flat sheet of paper into a finished sculpture through folding and sculpting techniques, and as such the use of cuts or glue are not considered to be origami. Paper cutting and gluing is usually considered kirigami.
The number of basicorigami folds is small, but they can be combined in a variety of ways to make intricate designs. The best known origami model is probably the Japanese paper crane. In general, these designs begin with a square sheet of paper whose sides may be different colors or prints. Traditional Japanese origami, which has been practiced since theEdo era (1603–1867), has often been less strict about these conventions, sometimes cutting the paper or using nonsquare shapes to start with.
The principles of origami are also being used in stents, packaging and other engineering structures.

How to make paperplanes

How to make paperplanes:

If you’ve forgotten how to make a paper plane, scroll down and you’ll find 10 great paper plane designs with how-to video tutorials right here in this article.
Making paper planes is a simple paper craft with enormous learning benefits for children. At its most basic, it’s a clear hands-on example of geometry, symmetry and how shapes fit together.
To transform a two dimensional piece of paper into a three dimensional flying machine is not only magical, but it’s a unique exercise in spatial reasoning.
The first real airplane was designed, built and flown in 1903 by the Wright brothers. Today, over 100 years later, there’s still something enchanting about watching your own paper version sail through the air.
Here’s five reasons why you should spend an afternoon with your kids trying to make a paper plane that will actually fly:
  • no need to go to the craft shop: all you need is some A4 paper
  • it’s relatively mess-free: no glue, no cutting, no glitter, no paint
  • it’s a great way to engage their minds in some mathematical and spatial thinking
  • there’s nothing more confidence-boosting than creating a paper plane that actually flies
  • it will get them running outside to fly their paper planes
There are all types of designs for paper planes; something like a simple dart design gives more distance while the ‘mantis’ comes with its own in-built landing gear.
Most paper planes begin with the same series of folds, but we’ve sourced some more unique designs that will engage and challenge serious young “plane spotters.”


If you want to know more get into this webpage:
http://www.kidspot.com.au/kids-activities-and-games/activity-ideas+30/10-of-the-best-paper-plane-designs+12392.htm