Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your programs run on a chip, a CPU. This chip is manufactured on a silicon wafer, a very very thin circular slice of purified silicon

Your programs run on a "chip", a CPU. This chip is manufactured on a silicon wafer, a very very thin circular slice of purified silicon with some impurities added to it. A silicon wafer usually has many chips (or dies) created on its surface by automated tools and robots, then at one point in the process the wafer is sliced apart to make individual CPUs (or dies). Your program will do some calculations about these wafers and chips. Follow this link for more information Links to an external site.. Given the diameter of the silicon wafer in millimeters (mm), the area of the wafer in square millimeters (mm2) and the area of one individual chip (die) in square millimeters (mm2), this equation will calculate how many dies can be cut from the wafer. The equation corrects for wasted material near the edges. Note that it should give an integer number of dies (you don't want to cut half a die). Note that the area of the wafer is NOT an input value. You will have to calculate the area of the wafer given the diameter. If you need to, look up the formula for the area of a circle. new-die-equation.png Where: DiesPerWafer (the number of dies cut from a wafer) = the answer waferDiameter = the diameter of the wafer (mm) dieArea = the chip size (mm2) waferArea = area of the wafer (mm2) (must be calculated ahead of time) Input Validation There are situations where this equation fail. If the size of the chip is negative, the equation will crash because of taking the square root of a negative number. If the size of the chip is zero, it will crash because of division by zero. Your program should check the chip size for those cases and give a message to the user about a nonsensical die area instead of crashing.

in python please!!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions