...of a list (define listLength (lambda (lst) (if (empty? lst) 0 (+ 1 (listLength (cdr lst))) ))) ;remove the nth member of a list. Assume n >= 1 (define remNthHelper (lambda (n lst index) (if (empty? lst) ’() (if (= n index) (remNthHelper n (cdr lst) (+ index 1)) (cons (car lst) (remNthHelper n (cdr lst) (+ index 1))) )))) (define removeNth (lambda (n lst) (if (> n (listLength lst)) "Given list too short" 1 (remNthHelper n lst 1) ))) ;remove members m through n of a list (define subHelper (lambda (m n lst index) (if (empty? lst) ’() (if (and (= index m)) (subHelper m n (cdr lst) (+ index 1)) (cons (car lst) (subHelper m n (cdr lst) (+ index 1))) )))) (define subList (lambda (m n lst) (if (> n (listLength lst)) "Given list too short" (subHelper m n lst 1) ))) ;we can write removeNth using subList (define remove (lambda (n lst) (subList n n lst) ) ) ; rotates the list left by 1; (rotateL ’(1 2 3)) -> (2 3 1) (define rotateLHelper (lambda (1st lst) (if (empty? lst) (list 1st) (cons (car lst) (rotateLHelper 1st (cdr lst))) ))) (define rotateL (lambda (lst) (if (empty? lst) lst (rotateLHelper (car lst) (cdr lst)) ))) 2 ; rotate the list right (define rotateR (lambda (lst) (if (empty? lst) ’() (cons (takeNth (listLength lst) lst) (removeNth (listLength lst) lst))) ) ) 2 List manipulation 1. Write the procedure append that combines two lists to form a single list : > (append (list 1 2 3) (list 4 5 6)) (1 2 3 4 5 6) 2. Write the procedure reverse that takes...
Words: 720 - Pages: 3
...This economy is quit competitive and to demonstrate that the most competitive companies need to always be innovated to maintain their current position here are these four different companies. These four companies are totally unique and have a different profile. The companies are: Portage Credit Union; WHOLESALE FOOD MARKET INC.; Con-Way Freight Trucking Company, Ford Motors. The Financial service publicly traded company; Portage Credit Union, is a company that peruses excellence in serving the best interests of our members and community. It provided competitive products, offers alternative service delivery channels suited to members needs and applies business principles to decision-making, all this can be reflected in their balance sheet as at December 31, 2010. They compare two years 2009 with 2010. This company reflects that their assets have increased from 2009 to 2010 in $7,154,269.00; this also reflects that for the year 2010 there was an increase in their current liabilities of a total of $6736, 496.00; however there was a significant increase in the members share and the retain surplus (Portage Credit Union, 2010). The Fine Food Company is been represented by WHOLESALE FOOD MARKET INC, is a certified leading Organic, natural food supermarket. It has 299 stores operating within the United States of America, Canada, and the United Kingdom. But in order to still be one of the leading companies WHOLESALE FOOD MARKET has had to be innovated and very determined to take...
Words: 678 - Pages: 3
...Debate Summary Amanda Missick, Karla Castillo, Kimberly Archuleta, and Kimberly Arzate BCOM 275 April 2, 2015 John Kungis Debate Summary Throughout the debate we chose to discuss the Chris Kyle murder case where Eddie Routh was convicted for the brutal murder of Chris Kyle, former Navy Seal, and his comrade Chad Littlefield. As the debate summary we decided to go with the pro side of the argument, which includes; Eddie Routh's history of mental disorders, how he fled the scene, and the sentence given to him for his murder charge. Not only did this topic make us have different opinions amongst each other, but made us open our minds to different views. Even though as a team we had our disagreements and different believes on the topic, we came together for the final decision of the debate. We believed that the murder trial of Chris Kyle was justly sentenced. Even though Eddie was facing a low point in his life we believe his alcohol abuse, violent behavior and strange conduct were contributing factors that led to his mental state. Living in a city with one of the biggest military bases in the country, we all in different ways are related to military personnel. Some of us personally know veterans with PTSD. It was discussed during our meetings that it normally takes more than a shooting range to trigger someone to relive those experiences that only veterans have experienced. We are devastated that this incident turned out the way it did, ending the life of not only the...
Words: 618 - Pages: 3
...Assignment 1: ‘’Advertising Stew’’ Ken Ernst Strayer University Professor Brad Bridges November 4, 2012 Abstract In this paper we will briefly look at the company Hormel Foods who sell the Dinty Moore Beef Stew Line of goods how they got started and what kind of goods they sale. As this paper continues we will be introduced to Luis who is a new brand manager for the Dinty Moore Beef Stew line. Luis Arroyo has been assigned a project to develop a new advertisement campaign for the entire line of the beef stew line of products. There are several questions that need to be answered before he continues his new assignment. The first question that should be asked of Luis should he consider hiring an outside advertising agency to help create and launch this new campaign. What are some of the benefits that an outside advertising agency would bring to the campaign and would it help the line of products? As Luis considers these options he also needs to figure out what kind of research and planning that needs to go into identifies Dinty Moore’s most loyal consumers and the potential for new consumers. So as Luis’ adventures continues with this new job we should be able to answer these outstanding questions and Luis will be able to bring new consumers to the product. Dinty Moore is a product of the Hormel Foods Corporation which is based out of Austin, Minnesota which was once known as Geo.A Hormel & Co. The company was established in 1891 by George A. Hormel who was a child...
Words: 1367 - Pages: 6
...DJ Nolff Literacy Of Life 9/24/12 The literacy of life in my opinion the most important story for one to pass on to others, not jus tin terms of reading or to draw conclusions to deeper and more detailed meaning, but to learn and understand about the lessons we encounter in everyday life that we at most times look past or ignore. I can see a time in my life living in a small town called Hastings Michigan when I was forced to do something that I would have never imagined doing. I was there my entire life and my parents were going to, with such short notice tell me we were moving to Minnesota. I loved where I Lived, I loved my friends and family being so close, sports, everything where I currently was had enough to offer for me. When they told me this I felt like everything I ever cared for was being taken away from me and that things were falling apart right before my eyes. There were many clues that my parents had said weeks and months prior to the news but I was so caught up in my own little world, too young and immature to even have noticed them. They would ask me little questions all the time like how would I feel about being far away from home? Do I like the Vikings? All kinds of questions relating to Minnesota but I never even thought more about them, I thought they were just questions. I was put in a situation to say goodbye to all the people who ever helped me make it as far as I was at the time. Friends, family, teachers, coaches everybody. I was so confused...
Words: 704 - Pages: 3
...DISPLAY BOARD ABSTRACT Cockroaches are a constant threat to humans; they spread diseases and are unsanitary. This cockroach problem is commonly addressed through the use of toxic pesticides, but the unfortunate truth is that these pesticides can also be harmful to humans and the environment. The researchers conducted a study to create a toxic-free cockroach killer using Eucalyptus Oil and Chili Peppers as ingredients. The researchers determined the most effective concentration of ingredients by performing a Preliminary Test. From the test they discovered that the concentration with the higher amount of Eucalyptus oil is most effective in killing cockroaches. They proceeded to conduct further experiments to compare the Formulated Cockroach Killer from a known Commercial Pesticide. 5 trials were performed, 10 cockroaches were tested with the Commercial Pesticide and another 10 for the Formulated Cockroach Killer. The Commercial Pesticide killed a higher quantity of cockroaches than the Formulated one. Data were collected and a T-test was performed. The T-test proved that the difference is statistically significant. Although the Commercial Pesticide was more effective, the Formulated Cockroach Killer was still able to kill cockroaches without the use of Toxic ingredients. Background Of The Study Cockroaches have adapted to survive in many environments. Once cockroaches invade your home, they can expose you to several kinds of diseases. The use of toxic pesticides to manage pest...
Words: 1220 - Pages: 5
...polvo y variedades de chocolates, que se utiliza en platos dulces y salados. Para comprender más del proceso de este producto, asistimos a una fábrica. Donde vemos la transformación de la materia prima, hasta las tabletas de chocolates que venden habitualmente en los supermercados, y que utilizan en los postres del día a día. De esta forma podemos llegar a identificar las reacciones químicas por las que pasa el cacao, y lo convierte en algo tan apreciado. Se visitó la fábrica de Tulicorp S.A, ubicada en la ciudad de Guayaquil. A primera vista parecía una fábrica grande, con toneladas de producciones masivas. Pero en realidad eran maquinas, que no eran de gran tamaño, debido a que ellos no realizan bombones, o galletería recubierta de chocolate. Si no se especializan en hacer tabletas de chocolate, con sabor natural. Sin aditivos, sin preservativos, colorantes, o saborizantes. Producen chocolate amargo, chocolate con leche y chocolate blanco. Dependiendo del cliente se realiza el chocolate si es de 65%, 70% o 100%, eso ya es opcional. En el primer cuarto de máquinas Encontramos todos los utensilios, que ayudaran a convertir la materia prima, en sustancias o pastas que ayudaran a la elaboración de las tabletas de cacao. En este cuarto encontramos la tostadora, la...
Words: 1006 - Pages: 5
...Complaints Both the Pareto chart and frequency chart below show that close to 80% of the cumulative complaints can be accredited to waiting too long in line, food being cold and no vegetarian food choices being present. By addressing these three issues, Ted’s Dogs and Burgers will receive higher customer satisfaction which will ultimately lead to higher profits. First and foremost, the current workers need to be as organized as possible in order to tackle the biggest complaint of long wait times. Each worker should have a specific role in the order process and stick to their position. Instead of having three or four workers running around trying to fulfill orders, each worker should be assigned to a specific station. For example, one worker can take orders and handle payment, another worker can assemble hot dogs, another worker can run the burgers while a fourth worker can handle compiling the order and serving drinks. This will allow the workers to become efficient and quickly assemble orders. Each worker can also prepare for customer rushes (half time, before the games begin and shortly after the games are finished) by prepping their work spaces. Hot dog buns can be laid out on plates, napkins can be arranged, cheese can be laid on burger buns and cups can be filled with ice to further speed up the order process. If additional workers were able to be hired and there was money available to spend on additional equipment, there are a couple more options for reducing...
Words: 784 - Pages: 4
...John Everyman Mrs. Roberts 10 Aug 2013 Process Letter 1345 Anystreet Ft. Riley, KS 66442 English Comp I Class 5676 Graves Street Ft. Riley, KS 66442 Subject: How to Make Rick’s Famous Chili August 9, 2013 Dear Fellow Students, I would like to share with you a quick and easy recipe for chili. It is my favorite no-screw-up entrée, and is a sure crowd/company/spouse pleaser. I originally learned how to make this chili from my father-in-law, Rick, who definitely knows his way around a kitchen. Over the years, I fine-tuned the recipe a bit, and now my mother-in-law likes my version even more than her husband’s. Here is the list of items and ingredients you will need to make this dish: Rick’s Famous Chili | Ingredients | Tools | * 3 lbs. of stew beef * 2 cans of diced tomatoes 32oz * 2 cans of medium chili beans 16oz * 2 cans of kidney beans 16oz * 2 packets of mild chili seasoning * ½ tsp. of cayenne pepper * 3 tbs. of chili powder * 1 chopped...
Words: 621 - Pages: 3
...Nicole Woodson Zarle Williams English 1101 October 4, 2012 Three-Alarm Texas Chili The potential for making a superb bowl of chili depends on the cook. Many cooks believe their chili is the best. Chili is a staple food in my home. A steaming hot bowl of chili is extremely pleasing to the palate anytime of the year. It is the ultimate comfort food. The origin of chili is full of legends and stories. Whether it originated during the early days of Texas cattle ranching or specifically in San Antonio Texas, chili has become a global dish. Many regional varieties exist throughout the world. I have consumed many bowls of the red stuff and my favorite chili recipe is one that my mother prepares. It contains a variety of peppers and spices that dictate the degree of heat desired. This recipe will leave a taste explosion in your mouth followed by an eye watering experience that will never be forgotten. At first, gather all the ingredients and equipment to make the Three-Alarm Texas Chili. Possibly a unique piece of equipment for making chili, a six-quart heavy-bottomed electric pressure cooker with the lid, a six to eight-quart covered stockpot, two large mixing bowls, a can opener, a set of measuring spoons, a set of liquid measuring cups, a silicone or wooden spatula, a silicone or stainless steel ladle, a slotted spoon, cutting board, and a utility knife. In addition, reserve six medium-size serving bowls and six spoons. Although the ingredients are lengthy, this...
Words: 1233 - Pages: 5
...THE FRANKLIN'S PROLOGUE These ancient gentle Bretons, in their days, Of divers high adventures made great lays And rhymed them in their primal Breton tongue, The which lays to their instruments they sung, Or else recited them where joy might be; And one of them have I in memory, Which I shall gladly tell you, as I can. But, sirs, because I am an ignorant man, At my beginning must I first beseech You will excuse me for my vulgar speech; I never studied rhetoric, that's certain; That which I say, it must be bare and plain. I never slept on Mount Parnassus, no, Nor studied Marcus Tullius Cicero. Colours I know not, there's no doubt indeed, Save colours such as grow within the mead, Or such as men achieve with dye or paint. Colours of rhetoric I find but quaint; My spirit doesn't feel the beauty there. But if you wish, my story you shall hear." THE FRANKLIN'S TALE In old Armorica, now Brittany, There was a knight that loved and strove, did he To serve a lady in the highest wise; And many a labour, many a great emprise He wrought for her, or ever she was won. For she was of the fairest under sun, And therewithal come of so high kindred That scarcely could this noble knight, for dread, Tell her his woe, his pain, and his distress. But at the last she, for his worthiness, And specially for his meek obedience, Had so much pity that, in consequence, She secretly was come to his accord To take him for her husband and her...
Words: 7356 - Pages: 30
...Birthday To You, Happy Birthday To You, Happy Birthday To Dear (insert birthday person's name) Happy Birthday To You......... La razón porque mi gusta esta canción es porque cuando era un niño me gustaba a contarlo con mi familia. Yo me acuerdo de mi niñez cuando escucho esta canción porque toda mi familia estaba junta y cantábamos para la persona que tenía sus cumpleaños ese día. Mi gustaba a veces a oír mis tíos y tías cantarlo porque en ese tiempo nomas sabían un poco para hablar Ingles y fue divertido para oír los. Y luego cuando cavamos de cantarlo fuimos a jugar o empezamos a pegar la piñata. Recete para Arroz Con Leche Leche- 4 copas Arroz- ½ copa Canela- 1 Vainilla- 1 Cucharadita Mantequilla- 2 Cucharadas Preparación: Arroz con leche: Pon en un cazo al fuego con abundante agua y cuando comience a hervir echa el arroz. Déjalo 10 minutos y apaga el fuego. En otro cazo pon a fuego lento la leche y el azúcar dándole vueltas para que se disuelva. Cuando la leche comience a hervir, añádele el arroz escurrido, el azúcar la canela en rama y la piel de limón cortada finamente. Déjalo hervir suavemente durante 15 minutos después de los cuales lo echarás a una fuente plana, y lo espolvorearas con la canela molida. Mi favorito comida era arroz con leche porque cuando estaba bien enfermo mi mama me lo hico para que yo me sentía mas mejor. Lo comí en mi cama cuando estaba enfermo. Yo lo comi cuando no más me sentía mal y a veces cuando mi mama lo hico. El sabor...
Words: 511 - Pages: 3
...guess. I have a total of five siblings- Ange, who is a senior at Garland actually, and she’s 18. My stepbrother, Austin, is also 18, but he goes to N. G. I have two younger brothers, Andrew and Hunter, who are actually both 13- no, they’re not twins. One is my stepbrother and one is my actual brother. Lastly, there’s “Honey Bunny” or Ariane, who is 11 years old. Did I mention I’m the middle child in all of this? Well I am. We have two cats, Kitty Mamas and Bevo (woo go Longhorns!!!) and two dogs, Chino, who’s a cocker spaniel, and Elvira, who’s a boxer puppy. My hobbies are dance, drill team, theatre, cooking, event planning, making that money, painting/designing, and weightlifting. My fav food would have to be my grandma’s mole or arroz con pollo. That’s why I’m fat now- you can’t say no to a Hispanic grandma who wants to constantly feed you. My favorite TV show would be nothing because im too busy to watch TV. I do have a favorite movie however, which is the movie Selma, which was about Dr. Martin Luther King Jr. and the Civil Rights movement. My absolute FAVORITE vacation I’ve been on is when I went to Albuquerque & Santa Fe, New Mexico with all my friends last summer for a full week. It was SO pretty and relaxing. Especially since there were no parents there. Oops. If I could invite three people to go to dinner with, I would ask Floyd Mayweather, Zendaya, and Christopher Columbus. Floyd because I’d ask him to pay off my car, and college tuition. Zendaya because she’s soooooooo...
Words: 479 - Pages: 2
...ENSR International 1) What are the pros & cons of organizing around geographies? Service lines? Industries? Clients? The company ENSR is a multinational company with having its offices all around the world. As the clients of the company have dispersed geographically therefore; there is a high need for the company to expand more in geographical terms. Organizing around geographies would help the company to have different and vast exposure with respect to the clients however; it will also require company resources that include the money and time of the consultant. This is a major reason why ENSR always tries to make their business around geographies. Furthermore, organizing around service lines would help the company in efficiently utilizing the company’s resources with respect to desired level of expertise. Moreover, organizing around industries and clients will be helpful in securing clients more efficiently but with a greater level of expense. Moreover, the key accounts program will also help the company in securing relationships with potential and existing customers of ENSR. 2) How could the BDO solution look like in detail? Who would do what? How would the new organization chart look like? Which problems would be solved, which not? Business Development officers are the ones who are engaged in developing relationships with current and potential clients of the company. The business development officer solution was initially implemented in the 90s era as a part...
Words: 705 - Pages: 3
...different. While I am not similar enough to some of them I may however explain traits in the story that are associated with characters. There are many factors that contribute to strong relationships. Some of the key elements are trust, forgiveness, and most important communication. In Judith Guests book, Ordinary People, there are several relationships where these elements are portrayed. They are illustrated either in a good or bad way, usually between several of the family members. One element that helps relationships become strong, and keeps people together is communication....
Words: 1030 - Pages: 5