Sunday, January 26, 2020

String Definition And Concatenation Of Strings

String Definition And Concatenation Of Strings For this mini group project, me and my partner have been given a project title to be discussed which is string definition, null string and length, concatenation of strings, substring, and also languages and natural languages. This topic is the subtopics from the main chapter 3 which is Sequences and String. From this chapter basically this chapter help student especially in the application of computer programming. In this era of information technology humans have been doing math and physics for a long time until now in such from the geometry and logic of the Greek era of the Mediterranean, the numeracy of the Hindus in India, and also the development of algebra by Islamic scholars in Baghdad, until to the explosion of knowledge and learning in Europe after the invention of movable type. In 1970s, the string theory was born. Three particle theorists have been independently realize that the dual theories developed in 1968 to describe the particle spectrum. The quantum mechanics of oscillating strings also have been described. Thus it marks the official birth of string theory. Moreover, string theory is the leading candidate theory of quantum gravity. In fact, there are several consistent variants and they all have the certain common features. The most obvious are the replacement of point particles by strings and the six extra curled-up space-time dimensions. Thus, due to their extra mathematical origin, these distinct string theories can admit very and various different mathematical descriptions. Besides that, from the research, it says that the string currently know it there is not much indication that string theory is discrete. Strings can be described as the continuous loops in space. But, there has been some interesting work by Susskind and others which does seem to suggest that string theory could be discrete. As for the early conclusion, string theory has produced derivations of mathematical theories like toric geometry and K-theory, and a host of string-motivated conjectures in virtually every field of mathematics. Whatever its the inevitability of string theory as a mathematical theory of the highest order is hard to dispute. In light of this, perhaps we should turn Wigners remark around and marvel instead at the unreasonable effectiveness of string theory in mathematics. INTRODUCTION OF THE RESEARCH All of mathematics, as well as subjects that rely on mathematics, such as computer science and engineering, always make use of functions, sequences and string and also relations. And nowadays, most modern computer programs are represented by finite sequences of characters. String definition From the book, it says that finite sequences of the form a1, a2, à ¢Ã¢â€š ¬Ã‚ ¦, an are called strings. Strings are normally restricted to sequences composed of symbols drawn from a finite alphabet, and are often indexed from 0 or 1. A string is just a finite sequence where S is a set of characters. Strings denoted by putting the characters together, for the example 12345. Besides that, strings are the fundamental object of computer science. Everything discrete can be described as a string of characters. Decimal numbers: 1010230824879 Binary numbers: 011101010111 String Notation A string notation can be described as a string which is a finite sequence of 0 or more letters in some pre-set alphabet ÃŽÂ £. For example decimal numbers: ÃŽÂ £ ={0,1,2,3,4,5,6,7,8,9} and for binary numbers: ÃŽÂ £ = {0,1}. Null string and length The unique string with no elements is called null string, will represented the lambda symbol l . Its length is zero: |l| = 0. Besides that, null string also be known as empty string which the string with no elements. Either way, the length of a finite string is just its number of terms (or of distinct indices). The length |s| of a finite string s is its number of positions which is the number of index values i. Concatenation of strings, substring The operation which be known as concatenation which is concatenation of two strings and it is formed by joining two end-to-end. We can say that the concatenation of the strings book and case is the string bookcase. In discrete mathematics we often use the concatenation of two strings such as a and b which the operation on strings consisting of writing a and followed by b to produce a new string of ab. Next is the concatenation of two or more numbers is the number formed by concatenating their numerals. For example, the concatenation of 1, 234, and 5678 is 12345678. The value of the result depends on the numeric base, which is typically understood from the context. For substring, given a group G of order g, then let U denote the set of all ordered multi-sets of elements of G. This will let V denote the subset of U consisting of multi-sets with exactly g components, and let A denote the subset of V consisting of multi-sets of exactly g distinct components. Languages and natural languages In information technology (IT), especially in computer programming, we are sometimes required to process a language. So, basically from discrete mathematics we will learn the concept of languages in a systematic way. For example, a compiler is a software that can translate a computer program written in a particular language into another language which is usually into a machine language. While for natural language processing is a study of how to produce the computer software that is capable of understanding natural language. We start with the 26 characters A-Z, and string them to form a word. Thus, the language will consist of a collection of such words. RESULT OF THE RESEARCH STRING DEFINITION A string over X, which X is such a finite set that is a finite of a sequence of element X Let, X = {a, b, c} and then we let: a = ccabbb this is a string over X and than the string will be written notation ccabbb = c2ab3 String is a sequence and the order is taken. The example that can we see is the string given accbbb that is different from the string ccabbb even that has same value but it is still different because of the order. In internet (computer science) Let ÃŽÂ £ be an alphabet, a non-empty finite. A string over ÃŽÂ £ is any finite sequence of characters from ÃŽÂ £. For example; If ÃŽÂ £ = {0, 1}, then 0101 is a string over ÃŽÂ £ From both example given, we can see that in computer science also use, that it is same but just difference in using the symbol of X and ÃŽÂ £. NULL STRING The null string also known as empty set that is the string with no elements .It is denoted by letter l (lambda). It has length zero. We also denote X* is the set of all string over X and also denote X+ is the set of all non-null string over X. Let, X* = {all strings over X including l} Example1: Let X= {3, 4} Some elements in X* are: 44, 33, 43, 4433, 4, 3, 44034343, l Example2: Let X = {b, c} Some of element in X* are: c, b, bcbc, b40c4bc, l For X+ we Let X+ = X* {l}, the set of all non-null strings over X. LENGTH OF STRING The length of a string a is the number of elements of a and that it is denoted by |a|. If a = a2bc3 or aabccc then |a| = 6. If |yet|=3, |another|=7, |usage|=5, |pipe|=4, |symbol|=6. CONCATENATION OF STRING Concatenation of two strings a and b is the operation on strings consisting of writing a followed by b and it produce ab a = bbaccc and b = caaba, Then, ab = bbaccccaaba = b2ac4a2ba Clearly, |ab| = | a| + |b| In computer programming String concatenation is the operation of joining two end to end. Example: The strings beach and ball may be concatenated to give beachball. First example: The following expression use the + symbol as the concatenation operator to join 2 strings: Print hi, + dear; produces the concatenated string hi, dear by joining those 2 strings Second example, (wet+land) is equals to (wetland). It shows that concatenation can be achieved with the + string operator. LANGUAGE AND NATURAL LANGUAGE Let B = {2, 3};- The example is languages over B: L1 = {2, 23, 233, 2333,à ¢Ã¢â€š ¬Ã‚ ¦} L2 = {2m3m | m > 0} L3 = {2m3n | m > 0, n > 0} Suppose that B is a set of alphabet. That it is define a language L over B is a collection of strings over X.A language L is simply a subset of A. CONCLUSIONS AND RECOMMENDATIONS As for the conclusions, this topic of sequence and string help both of us to think and link what we have learnt in the module of discrete mathematics within computer science and information technology. From this topic we have doing research about string definition, null string and length, concatenation of string, substring, languages and also natural languages. By doing this mini project we have investigated that the applications of this topic in discrete mathematics involve in the areas of computer science and IT. Nowadays, most modern computer program are represented by finite sequences of characters. We therefore need to develop the algebraic way such as string for handling such finite sequences. Moreover, this string topic is important to be learned by the student as it much involve in the application of computer programming. In computer programming, essentially, the string is a sequence of characters which is generally understood as a data type usually storing data values usually bytes. The elements usually stand for characters according to a character encoding, which will differentiates it from the other general array data type. Thus, the terms binary string and byte string are used to suggest strings in which the stored data does not necessarily represent text. While in discrete mathematics we learn string as mathematical structures. As we have doing our research on this topic, we can see that this topic involve much in the application of computer programming. As both of us are from science computer course, we can apply what we have learned in discrete mathematics into our application programming. Finally for the recommendations to improve more this topic which is Sequence and String, both of us have think that while in the lectures student should given more detail and explanation of string involving the subtopics of null string and non null string. Moreover, deep explanation about the function of language and natural languages in string also will help much the student to understand more this topic, apply it in the programming skills, and can do well in our final examination. The benefit of doing this mini project is both of can develop our understanding of the concepts and the applications of discrete mathematics through experiences which enable both us to explore more and model a variety or real-world situations. Special thanks to our lecturer Prof Dr. Haslina which have help both of us in giving the guidelines to do well for this our discrete mathematics mini project.

Saturday, January 18, 2020

Knowledge gap

The knowledge gap hypothesis presumes that you will know more about these topics than people whose educational level is lower than yours, even if the topics don't directly concern your everyday life. -Stated by Telephone, Donahue and Alien in their 1970 article they said the population Is divided Into two distinct segments: a group of better educated people who know more about most things and those with low education who know less. Low Socio-economic status (SEES) – are slightly defined by education level but also have little or no knowledge about Public affairs issues, are disconnected from news events and Important new discoveries, and usually aren't concerned about their lack of knowledge. High Socio-Economic Status – Are the opposite of Low SEES – Public Affairs issues: -According to the knowledge gap theory most people gain knowledge as a topic becomes more heavily covered by the mass media, but the higher educated segment of the population will gain more kn owledge.Knowledge gap says nothing about the individuals innate intelligent, the theory is just saying that high-educated people have several advantages. Such as: 1. A greater level of stored knowledge on a variety of topics. 2. Better attention, comprehension, retention, and greater communication skills. 3. More reliance on the information-oriented print media rather than the entertainment-oriented non-profit media 4. Greater numbers of relevant social contacts or friends who are likely to be knowledgeable about and discuss pubic affairs topics. Low SEES can be called Medal Poor -High SEES can be called Media Rich Programmatic Research- is research that builds on itself, where one study outcomes raise questions and other researchers take up the challenge to answer. Points that might reduce the knowledge gap 1 . The type of issue, especially an issue that really gets people's attention 2. The size and type of community – small, rural, homogeneous areas have lower gaps; clues with pluralistic subcultures have higher gaps. 3. Owe much and what type of media coverage a topic gets – cigarettes link to cancer is constantly in the news (lower gaps); Sexual harassment incidents get intense but inconsistent coverage (Higher gaps) 4. An Issues level of conflict such as police brutality (lower gap) vs.. Covers about urban revitalization (higher gaps) – 3 early concepts explored 1 . Socio-economic deficits 2. Differences -sass's – Interest in topics became the primary research. – Print Media is more informative than TV.High SEES group still watches newscast -sass's – focused on health, environment, and new technology. – Communication campaigns became designed to educated or persuade and television interest increased. Politics became a focus -Higher SEES use Schemata. Chapter 27 – principle of relative constancy -Charles Scripps – 1959 released economic report of media. -Macomb's used the observations from Scr ipps to offer a theory called the Principle of Relative Constancy. Some of his predictions were: 1 . The proportion of money, viewed as a part of the gross national product(GNP), spent on the mass media remains fairly constant over time. The Constancy aspect. 2. Because the economy varies from boom to depression, the GNP also will vary. The relative part of the theory. 3. Because the expenditures on mass media are relatively constant, new media must fight it out with existing media. This is the functional equivalence part.Chapter 28 – Cultivation -The media-culture connection got its first great push from the Payne Fund studies in the asses and asses, an investigation of the impact of movies on young people. Payne Fund Findings: -George Greener – Violence index -Grinner's definition of violence – â€Å"the overt expression of physical force (with or thou a weapon, against self or others) compelling action against ones will on pain of being hurt and or killed or threatened to be so victimized as part of the plot. Cultivate -Two types of Cultivation -Mainstreaming – a relative commonalty of outlooks that television tends to cultivate – Resonance -suggest the power of television to influence popular imagery increases when seen on the screen â€Å"resonates† with the viewer – seems consistent with experience – it is more likely incorporated into the person's notion of â€Å"reality'.

Thursday, January 9, 2020

Climate Change Strategies Of Denial - 1844 Words

The highly-impassioned issue of human-made climate change, or the idea that current climate-warming trends can be attributed to modern-day human activities, has become a very debated topic in our current century. In the last few decades, proponents and challengers of the anthropomorphic effects of this problem have volleyed arguments back and forth about whether climate change is a paramountly human-caused phenomenon or a predominantly natural process, with the latter arguing that there are few to no man-made sources like environmental experts seem to constantly urge. Jeffrey Mazo exhibits many reasons as to why individuals may be hasteful in denying the overwhelming impact of human activity on this ever-pressing issue in his article†¦show more content†¦Primarily, this concept can be demonstrated by first analyzing the mass disappearance of bee populations worldwide in the course of the last decade or so (although, this has been happening in hundreds of countries for more t han a century). Even though we have shed a light on the overarching importance of preserving and saving bee populations, as their role as a pollinator and keystone species in the ecological pyramid has been deemed to be one of the most critical for sustainability, many people are left wondering what their contribution to the bee population die-off could have been. Several individuals might assume that the only way they contributed to the issue was occasionally killing a bee when it swarmed around them, and that most of the bee population decline needs to be addressed at the corporate agricultural level, when that’s truly not the case at all. As a matter of fact, there are several ways in which we as common individuals are inevitably instrumental factors in this environmental situation. For instance, in the last couple of years, dozens of insecticides and fungicides â€Å"adopted for use on an extensive variety of farm crops as well as ornamental landscape plants† known as neonicotinoids have been singled out as paramount contributors to Colony Collapse Disorder, a phenomenon in which a drastic majority of worker beesShow MoreRelatedIssues and Debate of Anthropogenic Climate Change763 Words   |  3 PagesIn the last few decades, the issue of anthropogenic climate change (ACC)—human caused climate change—has come to the forefront of public, political, and scientific awareness. There has been much debate regarding the legitimacy of ACC, despite an article from the National Aeronautics and Space Administration stating: Ninety-seven percent of climate scientists agree that climate-warming trends over the past century are very likely due to human activities, and most of the leading scientific organizationsRead MoreClimate Change And Its Effects1095 Words   |  5 Pagesconsidered controversial, causing people to avoid discussions on it for reasons ranging from denial to discomfort, has evolved from those unpleasant debates to today’s friendly conversations. The topic is climate change, and the controversy surrounding it has been rooted in disagreement on what exactly causes it. Some say that climate change is a hoax and the changes are part of a natural cycle of the Earth’s climate system. Others are positive that it is the direct result of human activities and withoutRead MoreEssay about Why Americans Fail to Take Action Against Climate Change908 Words   |  4 Pages Seeing climate change as an emergency doesnt always make people make actions because of many psychological barriers that limit the mitigation of climate change. Frantz and Mayer in their article The Emergency of Climate Change: Why are We Failing to Take action? Published in Analyses of Social Issues and Public Policy (2009) and Gifford in The Dragons of Inaction. Psychological Barriers That Limit Climate Change Mitigation and Adaptation published in American Psychology (2011), discussed theRead MoreKoch s Anti Green Strategies And Global Warming1547 Words   |  7 PagesRecently, an overwhelming consensus of observation and experiment has emerged in the scientific community concerning global warming. These discoveries have confirmed that pollution, as a consequence of humans, has resulted in the negative effects of climate change, specifically global warming. Despite this general agreement among the scientific society, two infamously wealthy brothers, known as the Koch Brothers, pursue to deny these claims by passionately funding anti global warming efforts throughoutRead MoreSummary Of The Dragons Of Inaction 1172 Words   |  5 PagesSummary of â€Å"The Dragons of Inaction† In the article, The Dragons of Inaction: Psychological Barriers That Limit Climate Change Mitigation and Adaption, Robert Gifford explores and elaborates upon the psychological mechanisms that impede proenvironmental behavior. Gifford introduces seven groups that encompass the 29 â€Å"dragons of inaction†. The seven groups include limited cognition, ideologies, social comparison, sunk costs, discredence, perceived risks, and limited behavior (Gifford, 2011). GiffordRead MoreThe Emergency Of Climate Change And Why People Are Failing988 Words   |  4 PagesTake Home Essay #2 (Response #1) The article written by Franz and Mayer (2009) explains how an everyday situation or global issue is perceived as an emergency. In the article the authors focus on the emergency of climate change and why people are failing to take action. To help explain this, Franz and Mayer convey to us a system that includes five steps: step one, noticing the event; step two, interpreting the event as an emergency; step three, feeling personally responsible to act; step four, knowingRead MoreClimate Change Should Be A Priority For All The Government1531 Words   |  7 Pagescomes to the topic of Climate change, most of us will agree that the Republicans need to concentrate on climate change and give it top most priority since climate change is indeed one of the leading concerns in world economics and politics today. Whereas most Republicans are convinced that the issue of climate change should be a priority for all the government in the USA, there are still a few Republican presidential candidates that maintain that the issue of climate change requires internationalRead MoreClimate Change Is A Serious Reason For Nervousness1497 Words   |  6 PagesClimate change is a serious reason for nervousness. It touches all parts of life on our planet. Mostly every scientist claims that anthropogenic global warming is to blame for climate change. Nevertheless, there is a small fraction of people that deny the very presence of global warming. Their arguments carry a certain amount of influence in some groups, but they lack the scientific proof for their arguments. Global warming is the escalation of Earth’s average temperatures due to the effect of greenhouseRead MoreThe Value Of Ethical Conduct And Managing Diversity Essay1482 Words   |  6 Pagesprofit. Diversity refers to differences in people, such as ethnic background, personality, value system and belief, education, training, and work experience. Managing diversity involves handling these differences at work and making organizational changes that enable all people to perform up to their maximum potential. It is relevant to different stages of an employee life cycle in the company, such as recruitment, job assignment, performance review, and promotion. The benefits of managing diversityRead MoreClimate Change Is A Serious Problem1028 Words   |  5 PagesHumans will destroy the earth if no one acts. Climate change is a serious problem that has been around for decades. The 21st century is special because of the technology and information available. Yet, people continue to ignore the overwhelming destruction happening to nature. Through many years, masses have begun to take responsibility and restore the planet. In time, the earth might be what it once was. Climate change began in the 1820s with Joseph Fourier and in the 1860s with John Tyndall. Fourier

Wednesday, January 1, 2020

Platos Allegory of the Cave in Pleasantville Essay

Writer and director Gary Ross captured the essence of Plato’s philosophical views in his movie, Pleasantville. The movie is about two siblings, David and Jennifer, who live in completely different high school social scenes. Jennifer is the wild, extroverted teen who is obsessed with partying and boy drama. David, on the other hand, is a social outcast and spends most of his time watching TV, specifically, his favorite show, Pleasantville. David idolizes the show because of the perfect town in which everyone is accepted and there is never anything that goes wrong. When the siblings’ mother goes away, the two are left arguing over what TV channel to watch. As their fighting develops, they eventually break the remote, which leads to the†¦show more content†¦Because the people of Pleasantville and David and Jen learn new things about themselves, they all escaped the cave and gathered knowledge. The road to enlightenment was not an easy road, however. David and Jennifer had a difficult time maturing and leaving behind their old masks; the town of Pleasantville had a very difficult time gaining a new perspective—the town leaders tried everything they could to forbid people from leaving their perfect little world. This parallel of the cave explains Plato’s first conclusion of how education can often be difficult because it means turning your back on everything familiar. The movie also very clearly identifies with Plato’s second conclusion that explains why philosophers are often ridiculed. When Jennifer and David were transported to Pleasantville, they were immediately hated for disrupting the order in the town. They had to learn how to cope with a completely different world, while also instilling in others their new perspective and experience. While Pleasantville is black and white, the town represents the ignorance that people in the cave feel. However, when the town begins to turn to color, the people are fin ally seeing the light and escaping from the cave. This I somewhat ironic because, for both the people of Pleasantville and David and Jen, they all begin their journey in black and white. This is interesting because, from Jen and David’s