GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Question 2   2.1 An Italian Garden at an old age hom…

Question 2   2.1 An Italian Garden at an old age home is in the shape of a semicircle with a diameter of 56 m. Calculate the area of the garden and give your answer to 3 significant figures. (2)

Read Details

A patient will be receiving chemo therapy at 10 am today. Th…

A patient will be receiving chemo therapy at 10 am today. The best time to give administer an antiemetic would be

Read Details

Given the following: class SuperSweetClass{};class EvenSuper…

Given the following: class SuperSweetClass{};class EvenSuperSweeterClass : public SuperSweetClass{}; SuperSweetClass would be considered a [option1] class, and EvenSuperSweeterClass would be considered a [option2] class.

Read Details

GRAND TOTAL: 35

GRAND TOTAL: 35

Read Details

Give a class definition called A with a constructor method t…

Give a class definition called A with a constructor method taking a single argument x when invoked. In the constructor method, set field x to the value of the constructor argument x. For example, the constructor could be invoked as A(45).

Read Details

Recall your images project where you loaded images and then…

Recall your images project where you loaded images and then iterated through the x,y coordinates of the 2D pixel array. In that project, you used a computation to find edges in an image for the purpose of sharpening.  For this task, you must create a function called outline that uses a simpler but equally effective formula. The function accepts a string filename as an argument called filename that: loads that image file converts to greyscale (as in your project) alters the image so that vertical and horizontal edges (color changes) are highlighted as shown in the image below returns that PIL Image object. Each altered pixel p’ is a function of p itself, the pixel below p, and the pixel to the right of p. To get the new pixel p’ value at each x and y, take the absolute value of the difference between p and the pixel below and add it to the absolute value of the difference between p and the pixel to the right. To avoid getting pixels out of range, your loops should not try to set pixels in the bottom edge or furthest right edge of the image; i.e., use range [0..width-1) and [0..height-1).  Here is the only import you can use: from PIL import Image Here is a sample invocation of the function and the resulting output for file jeep.jpg.   To help you think about the problem, here is an example coordinate system for the pixels.  

Read Details

INSTRUCTIONS 1. Any answer you provide must be your ow…

INSTRUCTIONS 1. Any answer you provide must be your own original work. No copying from any source is allowed. 2. WRITE answers FOR ALL QUESTIONS on FOLIO (lined) paper. 3. No typed answers allowed – You must submit your own handwriting. 4. Write each answer, and mathematical reasoning (steps) within the answer, below one another. 5. Rule off at the end of each complete question. (If a question has multiple sub-questions, rule off after the last sub-question.) 6. Multiple pages of handwritten answers must be scanned and saved as 1 PDF File.NO PHOTOS are accepted.(Use CAM-SCANNER or any other app that has a scanner function.) 7. All scanned pages must be UPRIGHT. Ensure that your scanned pages are not sideways. 8. Scan all your answers to this test into one .pdf file.Name your file as indicated below: InitialSurname_iMATH_09J_PTEST007 Example: K. LOOTS_iMATH_09J_PTEST007 9. Any answers that require rounding must be ROUNDED TO 2 DECIMAL PLACES unless stated otherwise. 10. For written answers: Number according to the numbering system in the test. 11. Write NEATLY and LEGIBLY.

Read Details

Which of these lines pass through (0,-2), show your working….

Which of these lines pass through (0,-2), show your working. (2) A

Read Details

The following sentence was accidentally written using the op…

The following sentence was accidentally written using the opposite adjective. In Spanish, write the OPPOSITE of the underlined word. Write only the word, not the entire sentence. Me gusta mi perro porque es muy feo.

Read Details

Rod-shaped bacteria are called:

Rod-shaped bacteria are called:

Read Details

Posts pagination

Newer posts 1 … 37,068 37,069 37,070 37,071 37,072 … 60,307 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top