197 small reading discussion

Only 1 page, 2 paragraphs. MLA double space

Read the Example carefully, your response should just like the Example.

You need to use at least 3 reading in your response. No outside sources.

Also check the lecture.

Write a question in the end for discussion like the example.

Please be carefully , the example is not same prompt.

Reading response prompts:(Choose ONLY ONE Prompt)

Referencing readings and pose new questions or issues for discussion.

1. Mexico’s militarization of drug enforcement and ‘decapitation’ strategy for cartels seem to have led to more violence. What other strategies could Mexico’s government use to reduce violence?

2. Would legalizing drugs in the US reduce or end cartel-related violence?

3. If drug-related organized criminal violence and military or police violence causes more deaths in Brazil, Colombia, and Mexico than many wars, should we call these situations wars? Why or why not?

4. Tilly argues that states are large-scale protection rackets. Is he right? How do or don’t states differ from criminal organizations?

exercise 3 c

Assignment: Exercise 3

Console App: π (PI) Calculator using Leibniz formula

Needs to be done in Visual studio 2019

Assignment

The objectives of this lab assignment are as follows:

  • Seek a value that can be calculated only by adding the successive values returned by a mathematic formula performed in numerous iterations of a loop
  • Output information conditionally as a loop continues to function

Skills Required

To properly complete this assignment you will need to apply the following skills:

  • Convert a math formula of sufficient complexity to C# code
  • Use a loop to perform a mathematic calculation summing the results from each iteration
  • Output results at various intervals during the loop’s execution

Assignment User Story

As a user I want an application that will allow me to use the Gregory/Leibniz formula for calculating the value of PI. Further, because the accuracy of this formula depends on the number of iterations I wish to know the value of PI as calculated by this formula after a number of set intervals: 10; 1,000; 100,000; 500,000; 1,000,000; and a user entered upper value that is greater than 1 million.

Assignment Requirements

The number Ï€ is a mathematical constant, the ratio of a circle’s circumference to its diameter, commonly approximated as 3.14159. It has been represented by the Greek letter “Ï€” since the mid-18th century, though it is also sometimes spelled out as “pi.” Being an irrational number, Ï€ cannot be expressed exactly as a fraction (equivalently, its decimal representation never ends and never settles into a permanent repeating pattern).

In this application we are calculating the value of PI using a formula that dates from the 17th century. Specifically, we will use the Leibniz formula. This formula is a convergence sequence, which means that its partial sums tends to a limit; this means that the partial sums become closer and closer to a given number when the number of their terms increases. In short, the more times we perform this calculation we converge toward a more accurate value of the number pi.

In this assignment you will construct a loop to perform the Leibniz formula at least 1 million times. And because the calculated value of pi will vary based on the number of times we perform this sequence I want to know what that value is at certain intervals of the loop. Specifically, you will print the calculated value of pi at the following loop intervals:

  • 10
  • 1,000
  • 100,000
  • 500,000
  • 1,000,000
  • At the end of the loop determined by the value entered by the user.

I do not want separate loops for each of these outputs. Your application should have a single loop that prints the value of pi at the above given iteration values.

Gregory/Leibniz Convergence Formula for Calculating PI

Either in a quest for precision or as mere feats of record-setting there seems to be a never-ending desire to calculate the value of π to the greatest number of digits possible. In fact, approximations for the value of π can be found in ancient Egypt, China, and India.

One formula to calculate π, developed by Gregory (1638-1675) and Leibniz (1646-1716), can be expressed as follows:

This formula represents a simple, infinite series, and is represented in summation notation.

Summation Notation Description

Using this diagram as a guide to the Leibniz formula we understand that the formula to the right of the summation symbol is to be performed by substituting the index value into the formula. Furthermore, the number at the bottom of the symbol specifies the first number to be used while the value at the top of the symbol specifies when we should stop. In the Leibniz formula the upper bounds is infinity, thus we can choose to stop as we please.

Therefore, the first ten iterations of our formula must be as follows:

You will notice that the formula is a simple recurrence. And as the individual terms of this series are added to the sum the total gradually gets closer to π. However, this convergence sequence is inefficient as after 500,000 terms it produces only five correct decimal digits of π.

You should be able to see how each of these calculations should be performed in a loop. Within the loop, we need to keep a sum of the value of this sequence.

Our next step will be to find the value of PI at any given time. This is done by realizing that the sum of the above sequence is equal to . We need simply now to solve for . This means that equals 4 X the sum of the values from our sequence.

Hence,

Technical/Grading Requirements

You must ensure that the application you submit meets all technical/grading requirements. Your grade will be based on how well your application follows the application requirements plus the following:

  • The application will have an appropriate title
  • The user will be prompted for the number of times the calculation will iterate. Your program will validate that the user has entered a valid number and that the number is greater than 1 million.
  • Using a single loop, you will calculate the value of pi using the Leibniz formula and will output the value when the loop’s index is 10, 1000, 100000, 500000, 1000000, and at the end of the loop.
  • The loop will end at the count provided by the user when the program started.
  • In properly formatting your output the value of pi must be printed to 10 decimals while the iteration value must include the comma separators.

How the application looks and how it presents its information to the user is up to you. But it must meet the minimum requirements noted above.

Example Output

The example output provided below is simply an example. You do not need to format your output to look like this example. You simply need to ensure that you have met the technical requirements for this application.

Note: In the program below I entered three values that were invalid, but I prevent the application from ending in an execution error, rather, I simply re-prompt the user for a valid entry.

Following is example output for this application:

Example Program Output

discussion peer responses personality type

Peer 1:

I believe that understanding one’s own personality type plays a big part in how we interact with the world, and it can be a useful tool to help us reflect on the strengths and limitations of the counseling profession (Granello & Young, 2019). This self-reflection tool allows us to see what possible strengths and weaknesses we have, but also allows us a better understanding on how to better interact with others. The Myers-Briggs Type Indicator is a great starting point for counselors who seek to know more about their personality. Personalities have huge influences on career choices, it helps us determine if the job/career would be a good fit for us.

The assessment sorts the individual as being an Introvert/ Extrovert, Intuitive/sensing, thinking/feeling and judging/perceiving. Despite which personality the counselor is, every personality will have its strengths and weaknesses. Having an understanding of how you view the world, can help you and the client build an effective client-patient relationship.

Granello, D. H., & Young, M. E. (2019). Counseling Today: Foundations of Professional Identity (2nd Edition) (Merrill

Counseling) (2nd ed.). Boston: Pearson.

Peer 2:

topic 2 dq 3 2

Select a topic for your Topic 3 Executive Summary assignment. Post your idea and basic thoughts about the topic using the assignment details from Topic 3. You should provide thoughts to your peers about their topics and ideas that may assist them in completing their projects.

topic :

“Personality Characteristics of Nurse Managers: The Personal and Professional Factors that Affect Their Performance,” by Handan and Uiku, from Journal of Psychiatric Nursing (2018).

david and goliath falls in the section the limits of power

Chapter 8 of David and Goliath falls in the section The Limits of Power. It tells the stories of Mike Reynolds and Wilma Derksen, two individuals who went through similar situations in which they both lost a child and felt powerless. However, they responded to them in very different ways. Reynolds was distraught over the murder of his daughter and reacted by fighting to enact tough legislation on crime. Derksen reacted to the murder of her daughter with forgiveness.

Losing a child in any way is devastating, but to be able to place the blame on a specific person or circumstance is a unique kind of devastation. There is now a target for your anger. This is the situation that both Reynolds and Derksen were in.

What do you think of their responses? Is one better than the other in situations like this? If you can bear to think of yourself in a similar situation, how might you react?

Finally, we can say with reasonable confidence that both Reynolds and Derksen were the Davids in their particular situations. What was their Goliath? What was their approach to defeat their personal Goliath, and were they successful?

administration of justice 200 capital murder

Capital murder is a specific murder charge that not only includes all the elements of 1st degree murder, but it also includes an “aggravating factor.”

California has 13 aggravating factors that can make a first degree murder case a capital case.

Review the following link: http://www.deathpenaltyinfo.org/aggravating-factor…

Look closely at California’s list of aggravating factors. Choose three and briefly describe them.

Then choose one other state and compare their list of aggravating factors to those of California. What are some differences you see between the two states, what similarities exist?

Are there any aggravating factors that you would add or subtract from California’s list? Why?

job enlargement rotation and enrichment

Please make sure to use apa format and total word count is 1300 words. Please be sure to cite the sources with scholarly sources. Total required source count 4 or more. Please make sure answer is original there will be a plagiarism check.

1.Compare and contrast job enlargement, rotation, and enrichment. How are they similar to and different from each other?

2.Visit the Equal Opportunity Commission Web site at http://www.eeoc.gov. Identify current trends in complaints being filed with the EEOC and the processes by which claims are being resolved. Review the EEOC press releases posted on the site. What appears to be the agency’s current priorities, and how appropriate do you believe these priorities are for the U.S. Society

answer the following question 116

For the specific problem identified in the document attached, define 4 basic top level requirements for the new system. These requirements can be operational or performance type requirements.

Also consider if there might be any regulatory, statutory or certification type requirements for your new system. Develop 1 of these requirements or explain why you don’t think these would apply to your system.

Recall – In writing requirements you should consider how you will verify and validate those requirements.

bio 114 discussion 6 counting calories

Discussion 6 Counting Calories

Using the information that you have learned in the video, the NYT article, current chapter, and earlier in Chapter 3, address the following in your main post (~500 words):

1. What class of biological molecules does sugar belong to?

2. What are the most common types of sugars in our diet?

3. How do sugar molecules provide us with energy? What is the role of sugar in human evolution?

4. What are the dangers of consuming excess sugar?

5. In terms of sugar consumption, what are potential dangers of processed foods and low-fat foods?

6. What other molecules (besides sugars) serve as a source of energy for our bodies?

7. Research suggests that obtaining (or keeping) a healthy weight is much more complex than just reducing caloric intake and exercising. Based on the information presented in the article, categorize different factors in three groups:

a. Factors contributing to weight gain

b. Factors contributing to weight loss

c. Factors not associated with either with weight loss or weight gain

8. Analyze your diet and life-style and make specific recommendations for yourself on how to achieve (or maintain) healthy weight.

Respond with 3-5 sentence to 2 of your fellow classmates and post your comments and reactions as appropriate.

I have one student post, I will post the other student post once they post.

Student 1 Post Adam

  • Sugar belongs to the carbohydrate class of biological molecules.
  • The most common sugars in our diet are simple sugars, and more specifically glucose.
  • When food is ingested, digestive enzymes break down sugars for our bodies to use. After this initial breakdown, sugars are broken down even further, through a process called glycolysis. After glycolysis, sugars are taken to the mitochondria inside cells. Once inside the mitochondria, sugars, along with other foods, are converted into ATP which is the power our cells use to operate (Alberts, Johnson, Lewis, et al., 2002). Humans evolved to like sugar because of its two-fold nature in our bodies: sugar can be used immediately or stored for later use. This aspect of sugar can be very important in times when food is scarce, which during the time of early humans (and in some cases, now) was not uncommon. Instead of just eating for whatever their current needs were, early humans could eat more food than necessary and effectively store the excess as fat for later (Lieberman, 2012).
  • There are many negative health effects associated with the overconsumption of sugar. Firstly, the body’s ability to store excess sugar as fat can lead to obesity when taken to high levels. The paradox of the body’s relationship with sugar is that the human ability to store excess energy can go too far. Our evolved bodies are not adapted to modern excesses of food that exist for many, so the body continues to store fat from excess sugar and calories, even when it is not in our best interest. Another very common issue with the consumption of excess sugar is type 2 diabetes. Individuals who develop type 2 diabetes have an inability to normally regulate their blood sugar via insulin (National Institutes of Health, n.d.). Type 2 diabetes is a deadly disease that claims many lives, and unfortunately, excess sugar consumption is one of its primary causes. Excess sugar consumption can also lead to dental issues. Sugar molecules are the main source of food for bacteria, so when sugar builds up in the mouth, a warm and moist environment, bacteria have everything they need to thrive (Gupta et al., 2013).
  • Processed foods and low-fat foods are notorious for having added sugar. Many food producers add sugar to these products to make them palatable while still having a relatively low-calorie count. This can be deceiving, especially regarding low-fat foods. Consumers often look to these foods as a healthier option, however, they can be packed with sugar to offset the loss of taste from having little to no fat.
  • In addition to sugar, the body can also use proteins and lipids for energy. While sugar is the body’s preferred source of fuel, proteins and lipids will also provide energy under the right circumstances. If sugar is not available but protein is, protein can be converted into glucose via a process called gluconeogenesis. Certain amino acids from proteins can be converted into glucose when they are in abundance, or if the body has no glucose to burn (Berg, Tymoczko, & Stryer, 2002). Lipids can also be used for fuel in the right conditions. When cells are experiencing aerobic cellular respiration, they can use lipids as a source of energy (Bartee, 2016).
  • Despite the commonly repeated narrative of “calories in versus calories out”, there are many factors that contribute to one’s weight. Caloric intake and expenditure certainly play a major role in weight, but the type of calories matter as well. A major reason for this is how the body responds to certain calories with insulin. Insulin, which is sometimes referred to as the “storage hormone”, acts as a funnel to the body’s fat stores. When insulin is high, the funnel is wide at the bottom and more energy goes into storage (fat cells). When insulin is low, the funnel is much more narrow and not as much goes through. One of the most significant influencers to insulin levels is sugar and carbohydrate intake. Person A and person B can take in the same amount of calories each day, but if person A has a higher percentage of foods that spike insulin, they will likely store more fat than person B (Hardy, Czech, & Corvera, 2012). Genetics plays a role in body weight as well. Some individuals are genetically predisposed to store more fat than others. This may seem like luck of the draw, but it is actually evolutionarily based. People whose ancestors are from cold environments or places where food was scarce will likely store more energy as fat than those whose ancestors are from warm environments with plentiful food. This may not seem useful to modern people with access to heating, air conditioning, etc., however, it is a massive evolutionary advantage (Malomo & Ntlholang, 2018). Physical activity and age also play a significant role in weight. More active people are more likely to burn calories, and younger people will likely burn more calories than older people.
  • Although I used to be overweight, I have been able to obtain and maintain a healthy weight for the past five years. I do this through a balanced diet and regular exercise. I try to keep my carbohydrate intake reasonable (under 200 grams per day) and I avoid simple sugars unless I am treating myself. I try to eat complex, fibrous carbohydrates such as green vegetables daily, and I also have a regular intake of healthy fats and proteins. I exercise three to four days per week, and I also have a job that keeps me on my feet.

how does reframing thought help in a counseling session

This is a reflection paper.

It should be NO longer than 1 page in length.

The topic of this reflection paper is “Reframing thoughts”