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

  • 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

    Pt1420 Unit 2 Assignment

    • 949 Words
    • 4 Pages

    a. The child’s first goal in her original task of creating a machine to make spaghetti is to put a pole in the hole of one box and put the other side of the pole into the hole of another box, so they are connected. She observes that the pole will not go through the hole in the box. She then takes off the ribbed cylinders on each side pole, and slides the boxes with holes in them back down the poles. Her goal is still trying to place a pole in the side hole of one cube to connect it to the cube parallel of it. She observes that the pole will still not go through the holes of the cube.…

    • 949 Words
    • 4 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 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
  • 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
  • Improved Essays

    Asb100 Week 2 Assignment

    • 742 Words
    • 3 Pages

    ASB100 Name: Victoria Raymond Date: 9/3/14 Final Assignment: Revised $100M Plan 1. Write a brief paragraph that outlines your overarching philosophy concerning global health problems and solutions. What do you think is the best approach to spending global health funding?…

    • 742 Words
    • 3 Pages
    Improved 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

    Acct 553 Week 4 Paper

    • 693 Words
    • 3 Pages

    1. After reviewing these resources, what are your initial thoughts on the content that was presented? Answer: After reviewing both podcasts “Coming out late in life complex but not unusual” and “Ethnicity, Race & Aging”; my initial thoughts were that aging is somewhat a complex mechanism.…

    • 693 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
  • 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