colincui
read my profile
sign my guestbook

Visit colincui's Xanga Site!

Name: Colin
Gender: Male


Interests: you tell me...
Expertise: BMW cars with low profile rims, bball(when i'm good =]) table tennis Chinese: from music to history, it's an interesting culture
Occupation: student


Message: message meEmail: email me
AIM: colincui
MSN: colin_onusa@hotmail.com


Member Since: 5/3/2003

SubscriptionsSites I Read

Posting Calendar

|<< oldest | newest >>|
view all weblog archives

Get Involved!

Suggest a link

Recommend to friend

Create a site

Sunday, November 29, 2009

crime code





a=sapply(1:41, function(x) xmlGetAttr(top[[x]], 'beat'))
table(a)


a=sapply(1:10, function(x) xmlGetAttr(top[[x]], 'lat'))
b=sapply(1:10, function(x) xmlGetAttr(top[[x]], 'lon'))
grid = cbind(a, b)
plot(grid)


Monday, July 27, 2009

http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"> name="GENERATOR" content="OpenOffice.org 2.4 (Linux)">

Xk1 = S(1,1)*U(:,1)*V(:,1)';


Xk6 = S(1,1)*U(:,1)*V(:,1)';

for k=2:6

Xk = S(k,k)*U(:,k)*V(:,k)'; Xk6 = Xk6 +Xk;

end


Xk11 = S(1,1)*U(:,1)*V(:,1)';

for k=2:11

Xk = S(k,k)*U(:,k)*V(:,k)'; Xk11 = Xk11 +Xk;

end


Xk31 = S(1,1)*U(:,1)*V(:,1)';

for k=2:31

Xk = S(k,k)*U(:,k)*V(:,k)'; Xk31 = Xk31 +Xk;

end


subplot(2,2,1),plot(Xk1)

subplot(2,2,2),plot(Xk6)

subplot(2,2,3),plot(Xk11)

subplot(2,2,4).plot(Xk31)


residual

Xr1 = X – Xk1

Xr6 = X – Xk6

Xr11 = X – Xk11

Xr31 = X – Xk31


subplot(2,2,1), plot(Xr1)

subplot(2,2,2), plot(Xr2)

subplot(2,2,3), plot(Xr3)

subplot(2,2,4),plot(Xr4)


Thursday, April 02, 2009

law stuff

Lawyer for landlord and tenant
http://www.legalmatch.com/home/caseIntake2.do

       Free Law advising group http://www.lawhelpcalifornia.org/CA/StateChannelLawyerProfile.cfm/County/Yolo/City/%20/demoMode/%3D%201/Language/1/State/CA/TextOnly/N/ZipCode/95616/LoggedIn/0/ilawyerprofileid/45537/State/CA/iSubTopicID/1/iTopicID/835/sTopicImage/g-housing.gif/iProblemCodeID/1630100/iChannelID/137

      Legal Forum
      http://forums.legalmatch.com/

      Find a lawyer
      http://www.legalmatch.com/law-library/index.html

     Law advisings for free
     http://www.lawhelpcalifornia.org/CA/StateChannelResults.cfm/county/%20/city/%20/demoMode/%3D%201/Language/1/State/CA/TextOnly/N/zipcode/95616/LoggedIn/0/iSubTopicID/1/iProblemCodeID/1630100/sTopicImage/g-housing.gif/iTopicID/835/ichannelid/137/bAllState/0


Sunday, December 28, 2008

 

http://www.kugou.com/

 

http://my.kugou.com/search/songsearch.aspx?q=%E5%8F%A4%E5%B7%A8%E5%9F%BA+%E6%83%85%E6%AD%8C%E7%8E%8B


Wednesday, August 06, 2008

Notes on Functions

Function Notation and Terminology

A function (or map) is a rule or correspondence that associates each element of a set X called the domain with a unique element of another set Y called the codomain. We typically give the rule a name such as a letter like f or g (or any letter of your choice) or a name agreed upon by convention like sine or log or square root. The term ''unique'' is critical in the definition as this says that one tex2html_wrap_inline60 cannot be associated with 2 or more elements of Y. Thus we can call the y value corresponding to a particular x under the rule f by the name f(x) (read f of x) since there is only one such y. However, associating 2 elements of X with the same tex2html_wrap_inline80 and some elements of Y not corresponding to any element of X are allowed as they are not ruled out in the definition. The fact that the correspondence goes from the domain to the codomain is indicated by the notation tex2html_wrap_inline86 .  

For a subset tex2html_wrap_inline88 we use f(A) to mean the set tex2html_wrap_inline92 called the image of A. (Some authors use tex2html_wrap_inline94 .) The set f(X) is called the range of f. While it is always the case that tex2html_wrap_inline100 , in general they need not be equal. It is important to distinguish tex2html_wrap_inline88 while tex2html_wrap_inline104 .

For a subset tex2html_wrap_inline106 we use tex2html_wrap_inline108 to mean the set tex2html_wrap_inline110 called the inverse image of B. (Some authors use tex2html_wrap_inline112 .) Keep in mind that tex2html_wrap_inline106 while tex2html_wrap_inline116 .

If tex2html_wrap_inline86 and tex2html_wrap_inline120 we can form a new function called a composite map denoted by tex2html_wrap_inline122 . The symbol tex2html_wrap_inline124 is read as ''g circle f.'' The composition is accomplished by defining tex2html_wrap_inline130 for each tex2html_wrap_inline60 .    


A function tex2html_wrap_inline86 is called an injection or one-to-one (also written 1-1) if different x values get mapped to different y values. So if tex2html_wrap_inline140 then tex2html_wrap_inline142 . this is equivalent to the contrapositive, if tex2html_wrap_inline144 then tex2html_wrap_inline146 . We call f a surjection or onto if every tex2html_wrap_inline80 corresponds to some tex2html_wrap_inline60 , that is, f(X)=Y. A bijection is used for functions that are both 1-1 and onto.

The set of ordered pairs tex2html_wrap_inline156 is the graph of f.

 

 

 

 

 

Describing Functions

There are many ways to describe or write functions. The method used depends on many factors such as the domain of the function, the complexity of the function or even the subject matter in which the function arises. We describe a few common methods here.

(1) If the domain is small we might just list all function values. Let tex2html_wrap_inline160 and tex2html_wrap_inline162 . If I tell you that f(1)=b, f(2)=b and f(3)=d then I have completely defined a function tex2html_wrap_inline86 . Observe that this f neither 1-1 nor onto and has range tex2html_wrap_inline174 , a proper subset of Y.

(2) We could list all pairs in the graph of f, again if the domain is small. The function in (1) could be given by tex2html_wrap_inline180 .

(3) Quite often simple functions like the example in (1) are indicated by just listing the elements of both the domain and codomain and connecting x values to function values by arrows. Here's how that's done.

(4) For numerical functions, a formula might be given in terms of x that calculates the value of f(x). For X=Y=R the set of real numbers, tex2html_wrap_inline190 would define tex2html_wrap_inline192 . Since tex2html_wrap_inline194 , the point (2,7) would be a point in the graph but there certainly are too many points to list as in (2).

(5) A picture of the graph in (4) would be a good way to visually represent f instead of just supplying the formula. The picture is simple a plot of the points (x,y) in the plane tex2html_wrap_inline202 that satisfy the equation tex2html_wrap_inline204 .

(6) It is sometimes possible to describe a function in words without resorting to lists, formulas or pictures. For example, the air temperature where you are sitting right now can be considered a function of time. That is, to each point in time we associate the corresponding temperature at that time. The domain consists of whatever scale is used to record time (12 or 24 hr. clock, minutes or fractions of hours, etc.) and the range is a subset of the real numbers (whatever temperature scale is used). This is a function by definition, yet you probably don't have a formula for this correspondence (well, unless the temperature is constant where you are).

 

 

 

 

 

Inverse Functions

If tex2html_wrap_inline86 is 1-1 and onto then the correspondence that goes backwards from Y to X is also a function and is called f inverse, denoted tex2html_wrap_inline216 . As this is the symbol used for inverse image of a set it must be clear from the context how the symbol is being used. This map is easily described by tex2html_wrap_inline218 and tex2html_wrap_inline220 if and only if y=f(x). So if f(3)=5 then tex2html_wrap_inline226 automatically. If tex2html_wrap_inline228 then tex2html_wrap_inline230 . In terms of pairs this says if (17,-8) is in the graph of f then (-8,17) is in the graph of tex2html_wrap_inline216 .

This relationship is easy to remember for real functions since switching coordinates of a point in the plane puts you at the reflection of the original point about the line y=x. Thus the graph of tex2html_wrap_inline216 must be the reflection of the graph of f about the line y=x. This is a great help if the graph of f is already known.  

It's the 1-1 condition that is really critical for constructing an inverse function. If f is 1-1 but not onto we can simply replace the codomain with the range f(X) so that tex2html_wrap_inline254 is then 1-1 and onto so we can talk about an inverse tex2html_wrap_inline256 .

There are some obvious questions that arise here. What are the proper domain and range for an inverse function?  Given a formula for f, how does one find a formula for tex2html_wrap_inline216?  Can a formula always be found? 

If a function is claimed to be the inverse of a given function, this claim can be checked by a pair of well-known formulas that tell exactly how f and tex2html_wrap_inline216 fit together under composition. For tex2html_wrap_inline86 1-1 and onto we always have:

displaymath206

If tex2html_wrap_inline268 looks strange at first, keep in mind we used tex2html_wrap_inline60 and tex2html_wrap_inline80 earlier only to emphasize the fact that we had two elements that came from two possibly different sets. In general, we can call elements of a set by any name we choose. Here we have two separate equations, so it's all right to use tex2html_wrap_inline60 in one of them and tex2html_wrap_inline268 in the other. It is easy to verify these properties. For the first one, start with letting tex2html_wrap_inline278 . We would like to show that z=x. Since tex2ht
ml_wrap_inline282 is equivalent to f(x)=f(z) by the definition of inverse, we are done as the 1-1 property says then that z=x. The second property has the same proof.

 

 

 

 

 

 



Next 5 >>


<bgsound src="http://plaza.snu.ac.kr/~hyanggi/Music/already%201%20year(browneyes).mp">