Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++ program to solve a Laplace's Equation using finite element method! Physics 800 Assignment 1 Given: January 10, 2019 Due: January 25, 201S

image text in transcribed

Write a C++ program to solve a Laplace's Equation using finite element method!

Physics 800 Assignment 1 Given: January 10, 2019 Due: January 25, 201S Problems: 1: 5, 12, 13. 4. A rectangular trough of infinite length and cross sectional dimensions of 1.0 em, b-2.0 cm, is shown in the figure. Three sides are grounded, and the top side is held at 100 V V-V gap V=0 (a) Write a Fortran, C++, or Python program to solve Laplace's equation using the finite element method. Divide the region into 50 equally sized triangles. (b) Modify your program to divide the region into 500 equally sized triangles (if you did your coding in an intelligent manner, the modification should be straight- forward). Comment on the improvement in obtained precision of the solution. Marks will be given for the insight displayed in your discussion, as well as the validity of your numerical answer (c) Compare the finite element solution to the exact solution (found via separation of variables in rectangular co-ordinates) of 4o inT sinh , n- 2k +1 ko sinh

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

Students also viewed these Databases questions

Question

Language in Context?

Answered: 1 week ago