Mat 540 Week 2 Assignment

Improved Essays
Journal 2 So far, the assigned reading and assignment has been informative and useful. When I finished reading chapter 2, I started to gain a better idea of the problem solving involved in programming. This week’s assignment, although not overly challenging, was beneficial to my learning. Right away, when I was writing the formula for the triangle, I arranged the formula as follows:
1//2 * base * height
I got 0 as an answer instead of zero, which puzzled me for a while. I wonder what went wrong there. Since it was not the ** operator, the leftmost operation should have been evaluated first. Anyhow, I tried: base * height * 1//2 and base * 1//2 * height
They both worked just fine, but in the end I decided to go with 0.5 instead of 1//2. I think it is fair to think that the area of some triangle may not be integers. Later, I figured
…show more content…
Even though I only have preliminary exposure to python, I am eager to write some more codes, and I am looking forward to solving any problems arising during the process. At this point, it may be too soon to conclude that I pretty much enjoy programming, but I am quite certain, based on my experience, that I will be spending significant amount of time practicing and learning. Just like last week, the technical terms is still a little overwhelming for me. Recently, life seemed to get in my way, but I managed to make a time for my study. I think I am going to make some flashcards. That should solve my problem. As for the practical part, I plan to spend more time on practicing. I think it will help me memorize the basic functions and syntax of python more quickly. Today I went over the online textbook briefly, and the upcoming chapters look relatively challenging compared to the previous chapters. I am positive that I will be a worthwhile experience. Really looking forward to the next week’s assignment.

Related Documents

  • Decent Essays

    1. The question provides us those following weather information of one specific place: Maximum Temperature, Minimum Temperature, Average Temperature, Dew Point, Sunrise, Sunset, and Pressure. The date has been recorded daily for six months from April 1st, 2015 to September 30th, 2015. 2.…

    • 402 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Pt1420 Unit 3 Assignment

    • 533 Words
    • 3 Pages

    Final Project For my game I am going to make 2048. The user will use the arrows keys to control the movement of the number tiles across the board. The goal of the game is for the user to create the number tile with the value of 2048. The game has servel mechanics at play. First I will have to code a tile generator that creates a two or four numbered tile in a position around the perimeter of the board.…

    • 533 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Chris is out of the office today and will return tomorrow. The file was hold until pay off was received. The file will be moved to audit and closing department tomorrow. The final number will come from the title company. Once the file is assigned a closer I will get with closer regarding 2016 property taxes.…

    • 63 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Elisha, for the month of April you scored 7.6 points per hour. Your current yearly average is 7.3 points per hour. The team average for the month of April was 9.2 points per hour and the department average for the same month was 9.2 points per hour. Elisha, you continue to perform well below the department expectations in productivity month-over-month. As stated before this cannot continue.…

    • 407 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Pt1420 Unit 3 Assignment

    • 288 Words
    • 2 Pages

    The question I wish to answer is why BBP formulas are so much better at calculating pi than any other method that came before it. I find it interesting that this method only provides the exact digit of pi in question and does not require the calculation of any of the previous digits of pi. For all of the methods that proceeded it like the polygon approximation and infinite series methods, each digit was required to be calculated before the next one could be found. Another compelling fact is that this avenue of calculating pi has been hypothesized as the key to discovering whether pi is truly random or not. Though it is still unproven as of now so I don’t expect to make any breakthroughs myself, uncovering more about this topic interests me…

    • 288 Words
    • 2 Pages
    Improved Essays
  • Decent Essays

    I was wondering if you could possibly sign as my academic advisor so that I can enroll for an overload and register in an upper-division Breech course? (I would have asked my regular advisor which is Dr. Vandenberg but I think he's unavailable for the rest of this week and next week)? Can you please sign them instead?…

    • 58 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    Pt1420 Unit 2 Homework

    • 524 Words
    • 3 Pages

    For this week, I was required to read chapter 2 in the "Think Python" textbook. This week's reading was a little more complicated and advanced than the first chapter. This chapter was not about writing phrases, but more about using variables to answer equations, and how to plug them into Python. The Written Assignment that was assigned, was based on what I learned in chapter 2. I was able to use the Pythagorean theorem to answer the question, by declaring the variable of each side, and plugging it in the formula to find the answer.…

    • 524 Words
    • 3 Pages
    Decent Essays
  • Decent Essays

    Pt1420 Unit 3 Assignment

    • 260 Words
    • 2 Pages

    In class discussions, one thing that really stood out to me was the discussion regarding the integration efforts within the Israeli society. Specifically, the author questions what kind of system is necessary in order to have smooth integration with the least amount of tension and culture conflict. The author then describes how he believes it is democratic pluralism. Which has been seen in Switzerland and Canada. Also how one had to maintain silence, as it talks about when the author explains his realization on the gravity of the ethnic problem in Israel in 1951.…

    • 260 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    English 1302 Reflection

    • 747 Words
    • 3 Pages

    While this assignment had me excited from the beginning I was also scared that I would not do so well because I had forgotten how to do it. When I first started to do the assignment,…

    • 747 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Pt1420 Unit 2 Assignment

    • 316 Words
    • 2 Pages

    It was the year of 2014 going into 2015 and I was an eighth grader. This was my second year attending Bennett Academy charter school. My English language arts teacher, Ms. Walton, had told to my classmates and me that in mid-November we will begin to start our huge assignment. That assignment was to be completed before the graduation date of May 21st, 2015. Ms. Walton told us that we need to have at least fifty pages and no less.…

    • 316 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Tcf 201 Week 2 Assignment

    • 576 Words
    • 3 Pages

    Throughout the course of this semester, taking TCF 201 has taught me about, even though I come to the conclusion that going in this direction of actually being a filmmaker is not for me, in the end. However, it did teach me a great deal. I never knew how much work could go into producing and directing your own work, I mean I had a general idea, but nothing to this magnitude of the amount of work that it takes, plus the hours of sleep that I have lost took a toll on me as well. But it was all worth it.…

    • 576 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Pt1420 Unit 4 Journal

    • 541 Words
    • 3 Pages

    Had a fellow student who had issues with this one. Their answer was y=x/(sqrt3), whereas the book answer was y=(sqrt3)x/3. They groaned when I pointed out that they were the same values in slightly different formats. Recognizing different formats appears to be an issue a number of individuals.…

    • 541 Words
    • 3 Pages
    Decent Essays
  • Decent Essays

    Qnt201 Week 1 Assignment

    • 545 Words
    • 3 Pages

    This week was the best week I had all semester. It was a glorious week for me, to say the least. I was able to finish the written assignment, study hard for my quiz, and also be able to get an awesome grade for my quiz. I thoroughly enjoyed this week. First of all, for the reading assignment, I had to read section 8.1 called, "System of Linear Equations: Gausssian Elimination".…

    • 545 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    04.02 Assignment 2

    • 551 Words
    • 3 Pages

    04.02 Assignment As election news sweeps through several media outlets, controversial topics fire up and are debated across the nation. The American people fire up their minds, reach into their stockpile of information, and begin to passionately fight for the matters that are important to them. One topic that has gained momentum is the fight for a higher minimum wage. There are many who support this argument but there are several that believe the opposite. Raising the minimum wage will help the economy grow and will help minimum wage workers by providing them a wage off which they can live.…

    • 551 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Obtaining A Career At NSA

    • 346 Words
    • 2 Pages

    Taking a programming class in my third year of highschool and practicing the development of code in Python during my free time, it has furthered my interest in the field. Through the class, I have learned to solve logic puzzles, use expressions to execute specific…

    • 346 Words
    • 2 Pages
    Improved Essays