What are the boundary conditions for this system

Assignment Help Computer Engineering
Reference no: EM131097998

E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 12

1. Solving the steady-state heat equation

The steadystate_heat.py code on the course website solves the steady-state heat equation with given boundary conditions that we defined in class.

a. Please add comments to the program to summarize how it works. In particular:

  • What are the BOUNDARY_* variables doing?
  • How are they related to the boundaries array?
  • What does scipy.sparse.lil_matrix do?
  • What are the neighbor_deltas for?
  • How the heck does the vectorized building code work?
  • What does the line A = A.tocsr() do?

b. For what values of n is it advantageous to compute the 'dense' solution as opposed to the 'sparse' one? Is there any problem size for which the 'loop' building method outperforms the 'vectorized' one? Why is the sparse solver so much faster for large n?

2. Transient heat equation

The transient_heat.py code on the course website solves the transient (time-varying) heat equation.

a. Based upon the code, what are the boundary conditions for this system? What temperature are we assuming (either implicitly or explicitly) lies along the border of the plate?

b. Play with the simulation. At which value of α does the forward Euler solver blow up with the default value of n = 64?

c. Can you make the backward solver blow up?

d. Explain how modifying n (by editing the code) affects the behavior of the forward solver. Does the it get more or less stable (in terms of the maxmimum allowable value of α) as n increases?

Attachment:- Assignment.rar

Reference no: EM131097998

Questions Cloud

Social networking users create the life : Read the following article: Opinion: Farewell to Facebook's false reality by Jessa Haines. Thanks to social networking, much of a person's life is now scripted and manufactured. Many social networking users create the life they wish they had, not ..
Denominator of the standard error formula : The quantity of the sample size has a significant influence on the standard error. Since n is the denominator of the standard error formula, as n increases, the standard error increases. The more data that you have, the more accurate you can be.
Analyze how your thinking has changed : Analyze how your thinking has changed with regard to ethical practice - Which ethical or professional situations did you encounter in which your original viewpoint changed?
Evidence to support the shop claim : A repair shop believes that people travel more than 3500 miles between oil changes. A random sample of 8 cars getting an oil change has a mean distance of 3375 miles since having an oil change with a standard deviation of 225 miles. At alpha = 0.0..
What are the boundary conditions for this system : E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 12. Based upon the code, what are the boundary conditions for this system? What temperature are we assuming (either implicitly or explicitly) lies along the border of the pl..
Commenting on the validity of the reasoning : Consider the following scenarios, commenting on the validity of the reasoning that is being used. After an unusually dry autumn, a radio announcer is heard to say, "Watch out! We'll pay for these sunny days later on this winter." A batter who had ..
Produce female puppies : A geneticist conducts her survey and calculates hat p = 0.512. Which of the following is the most correct interpretation of this statistic? a) There is a 51.2% chance that a randomly selected gamete cell will have the male chromosome.
Four model of relationship between religion and science : Four Philosophy question that I need to be answered in paragraph style. I need them in 4 Hours
Demands in excess of initial stock : What is the expected shortfall at the end of the week? That is, what is the expected number of demands in excess of the initial stock?

Reviews

Write a Review

Computer Engineering Questions & Answers

  How to organize the data for the high school reunion

many of your family members have found out that you are using Excel to arrange the data for the high school reunion. Your Uncle Larry wants to create an inventory of the over 800 video games that he collects.

  Compute the integer part of the quotient

Calculate an integer remainder when integer a is divided by integer b.

  Make a gui based program with a writebutton

make a GUI Based program with a WriteButton used to write data to a sequential data file. Then make another ReadData button to read data from the file created and display it in a JTable on the GUI.

  Why is it stated that electronic commerce is a catalyst of

why is it said that electronic commerce is a catalyst of fundamental changes in organizations? search the ashford

  Design a new villian value called badguy

Also suppose the existence of a function copyVillian (as declared below) that takes two Villian params, one called orig and the other called copycat, and makes copycat a deep copy of orig.

  Explain the role of signature analysis in computer forensics

Discuss one of the general set of procedures that an enterprise should follow to preserve digital evidence when faced with a suspected insider breach if information security?

  Examine the present options available for use of tcpip and

write a 4-7 page paper including the following analyze the current options available for use of tcpip and osi models

  Make a class named order that performs order processing

build 4 Order class fields: order number, customer name, quantity ordered, and total price. Create public accessors for each field except total price.

  What are three common problems occurring on the windows

research common problems that occur with windows and create a well organized powerpoint presentation. for your

  Write down a c++ program that has a class called flight

Write down a C++ program that has a class called flight.

  Transmitting the rtp stream

Consider that a sender transmits a silence suppressed the RTP stream of G.711 audio to the receiver (G.711 refers to the name of standard for 64Kbps PCM we discussed in class).

  Questionyour microsoft windows 2000-based office network

questionyour microsoft windows 2000-based office network has three domains- alpha beta and omega all in the similar

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd