logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Arjit SinghEngineering
(5/5)

556 Answers

Hire Me
expert
Edwin KairuStatistics
(/5)

635 Answers

Hire Me
expert
Johan CornerOthers
(5/5)

899 Answers

Hire Me
expert
Manall ChiiguerNursing
(5/5)

958 Answers

Hire Me
MATLAB
(5/5)

Filling space using objects to minimize the total space occupied is a logistical problem in the transport industry

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

[1] This problem can be attempted in 2D. Consider N spherical particles that obey a Gaussian distribution of sizes. These need to be accommodated in the smallest square possible. Your task is not to determine the size of that minimal square but to illustrate the process of filling a square of a given size with randomly picked particles. State and make assumptions as necessary. Use numerical values for the size distribution and N as required. You are welcome to device any other algorithm but in case you need help, use the following steps as an example:

• List the particles and their sizes

• Estimate the size of the square approximately from the total area of all the particles

• Pick particles in the decreasing order of their size and place them in the square from one of the corners

• Fit smaller spheres in the voids where possible.

• If there are any particles left, increment the size of the square and repeat the above steps until all the particles are in the square.

• Report this configuration using simple 2D graphics as well as a listing of locations of the objects inside the square.

Output required: The code as .py or .sage file; a PDF containing the configuration, the sizes of the particles, and the size of the square.

Application:

(a) Filling space using objects to minimize the total space occupied is a logistical problem in the transport industry. An efficient filling helps save costs.

(b) Consider one of the sides of the square is to be used as an exit for the spheres to be taken out. Imagine each sphere is given a sequence number according to which it has to be taken out. Now the problem is brought closer to a traditional logistics problem of a delivery truck. The sequence depends on the path that the delivery truck takes in the city. Longer paths add to the cost and so do multiple trips or larger trucks. Now you see the challenge of the optimization problem.

[2] Consider a vaccine container with a cryogenic liquid (boiling point 77K) filled up to a certain fraction of the height of the container. The inner temperature of the container is measured by a thermocouple. The inner temperature rises steadily with time as a linear function of time due to phenomena such as the cryogenic fluid keeps vaporizing steadily and heat flux from the ambient atmosphere keeps entering the container steadily. At random times, the operator replenishes the cryogenic liquid to bring the inner temperature down to 77K again. If the temperature of the container raises above say 200 K, then it has to be flagged as unfit for further use. The temperature data from the thermocouple is sent out over GPRS to a remote server. Simulate and plot an example data of this problem. State and make assumptions as needed. Make sure your assumed values for the rate of temperature rise, durations between refill, and total duration for the plot can illustrate the phenomena stated in this problem. Organize your code as two scripts – one to generate the thermocouple data and another to detect and flag the container as unfit as per protocol.

Output required: The two codes, thermocouple data generated, the plot of the same, PDF containing the details of the model used, brief description on how you identified the rates and random time instances for replenishing the cryogenic liquid, and the total duration.

Application: When a firm wishes to fabricate a device such as the one mentioned above, it is important to have a digital twin to simulate what-if cases. One needs to determine the protocol for periodicity of checking the temperature alerts, actions to be taken, and ways to detect any falsification of data en route. A robust digital twin that reproduces the various situations in real life will help ensure a reliable product.

[3] Consider asymmetrical natural shapes such as what is shown in the figure below. Utilize the contrast difference between the shape (flower in this case) and the background (green leaves in this case) to determine the contour of the shape. Convert the contour to a set of points that represent the outer form of the shape. Fit a function such as to unwrap the shape to a linear function of the angle in the polar form. You can utilize step functions or splines or a combination of any elementary mathematical functions to fit. Plot the function and show it side-by-side with the original image to confirm that the procedure is able to capture the shape correctly. Compare the size of the original image (bytes) with the data required to store the function (bytes) and comment on the compression ratio achieved. The comment also on the possibility of determining the symmetry of the image from this exercise. Eg., the above image has an 8 fold rotational symmetry. Test your code by using any other image of an asymmetrical flower taken from the internet.

Application: Image compression for the purpose of comparison of similar images is an important aspect of image recognition. If this were to be done in a video, the size, and speed matter a lot given the large number of images that need to be processed in real-time. Recognizing symmetry in an object is non-trivial if the angle of view is not along the axis of symmetry.

[4] Consider a function of a form such as where are constants. Assuming random values for these three constants, generate the values of the function for a set of input values that lie in the interval between 0 and 5. Make a scatter plot of which can be taken as the experimental data. You can consider the number of values to be 50, to be representative.

Add a random noise of amplitude 5% of the maximum value of this set to each of the values.

The random noise can be either positive or negative. The data thus generated will be.

Now, fit the same function as a model using this input data.

Superpose the original function and the fitted function to confirm that the fitting process was reasonable. Comment on the difference between the initial values of with those of

obtained from the fit.

Change the amplitude of the noise from 5% to 7% and then 10% to see if it has any influence on the differences. 

Application: Experimental data usually have noise. One should fit experimental data only to those mathematical forms/ models that have some physical significance with the phenomena associated with those experiments. Error in the parameters of the models can be reduced if more information is available about the physical phenomena.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme