1. Homepage
  2. Programming
  3. Final Project for The Practice of Mathematics - Yin sets and their Boolean algebra

Final Project for The Practice of Mathematics - Yin sets and their Boolean algebra

Engage in a Conversation
The Practice of MathematicsYin setsBoolean algebraSplinesC++

Final Project for The Practice of Mathematics CourseNana.COM

due 2021 SEP 08, 9:50 a.m. CourseNana.COM

This final project weighes 100 points in total and serves as the safe-net option for those students who missed the final exam or are not satisfied with their performance in the final exam. CourseNana.COM

After grasping the theory of splines [2, Chapter 4] and Yin sets [1], you are supposed to write a software package that implements spline fitting of curvers, efficient representation of Yin sets and their Boolean algebra. You may earn extra credits by submitting an answer to the assign- ments in Section 3. CourseNana.COM

1 Representing a cartoon CourseNana.COM

  1. (a)  Find a black-and-white cartoon figure you like.
  2. (b)  Pick characteristic points on the boundary and fit sim- ple closed cubic splines through these points so that your simple closed splines approximate the original boundary curves very well. Save the coordinates of the spline knots in a single text file.
  3. (c)  Write one or multiple C/C++ subroutines so that the driver program takes as input the text files in (b) and generates a figure for the Yin set, which is supposed to approximate the cartoon figure in (a).
  4. (d)  Write a C/C++ subroutine so that it takes as input a number of pairwise almost disjoint simple closed splines and produces a poset (partially ordered set) of splines with the partial order as the inclusion of Jordan curves in [1, Definition 3.10].
  5. (e)  Plot the Hasse diagram of the poset in (d). Important: Your Hasse diagram must have at least five levels of oriented Jordan curves, i.e. a chain of four covering relations. Hence the cartoon figure of your choice in (a) must have nontrivial structures.
  6. (f)  Represent the Yin set Y plotted in (c) as a realizable spadjor F, i.e. ρ(F) = Y. Then expand the expression ρ(F) in terms of interiors of oriented Jordan curves.

See Figure 1 for an example. CourseNana.COM

The total point for this section is 70; the above six CourseNana.COM

questions weigh 5, 10, 20, 20, 10, and 5 points, respec- tively. CourseNana.COM

Your C/C++ package must use a make system and must compile, run, and finish on Ubuntu 20.04 LTS; otherwise you get no points for this section. See [3] for an introduc- tion of these tools. CourseNana.COM

You Hasse diagram should have the same format as that of [1, Figure 9]. For your convenience, the LATEX source of that figure is attached below. CourseNana.COM

\documentclass[10pt]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{pstricks,pst-eps} \usepackage{tikz} \pagestyle{empty} \begin{document} \begin{TeXtoEPS} CourseNana.COM

\begin{tikzpicture} CourseNana.COM

\node[circle,draw,fill=yellow](n4) at (0,0) CourseNana.COM

{$\gamma_4^+$};
\node[circle,draw](n6) at (-2,-2) {$\gamma_6^-$}; \node[circle,draw](n5) at (0,-2) {$\gamma_5^-$}; \node[circle,draw](n7) at (2,-2) {$\gamma_7^-$}; \node[circle,draw,fill=yellow](n2) at (-1,-4)
CourseNana.COM

{$\gamma_2^+$}; \node[circle,draw,fill=yellow](n3) at (+1,-4) CourseNana.COM

{$\gamma_3^+$}; \node[circle,draw,fill=yellow](n1) at (-4,0) CourseNana.COM

{$\gamma_1^+$};
\draw[line width=2] (n4)--(n6); \draw[line width=2] (n4)--(n5); \draw[line width=2] (n4)--(n7); \draw (n5)--(n2);
\draw (n5)--(n3); \end{tikzpicture}
CourseNana.COM

\end{TeXtoEPS} CourseNana.COM

\end{document} CourseNana.COM

2 Boolean algebra on 2D Yin sets CourseNana.COM

Write a C/C++ package to implement the Boolean algebra of Yin sets, whose boundaries are represented by linear polygons. Each of your subroutines or classes must be properly documented. Validate your package with cases as exhaustive as possible; the tests in [1, Figure 13] are mandatory. CourseNana.COM

The total point for this section is 30. CourseNana.COM

Boundary of 3D Yin sets CourseNana.COM

An m-manifold is a Hausdorff space X with a countable basis such that each point x X has a neighborhood that CourseNana.COM

m CourseNana.COM

Theorem 1. Every orientable compact surface is home- omorphic either to a sphere or to a connected sum of tori. CourseNana.COM

is homeomorphic with an open subset of R
is often called a curve and a 2-manifold is called a surface. The following well known theorem is a classification of ori- entable compact surfaces. CourseNana.COM

. A 1-manifold CourseNana.COM

(a) the original cartoon (b) Jordan curves identified (c) Spline-based Yin set CourseNana.COM

Figure 1: An example for assignments in Section 1. Each Di is the bounded complement of the Jordan curve γi. CourseNana.COM

(a) An ox CourseNana.COM

(b) An jade Buddha CourseNana.COM

Figure 2: Examples of 3D Yin sets. CourseNana.COM

An orientable compact surface has the positive orienta- tion if the outward norm vector of the surface points from the bounded complement of the surface to the unbounded complement; otherwise it has the negative orientation. CourseNana.COM

The following theorem is a recent result. CourseNana.COM

Theorem 2. For a nonempty Yin set Y ⊂ R3, its bound- ary Y is homeomorphic to the gluing of a collection of orientable compact surfaces along subsets homeomorphic to one-dimensional CW complex. CourseNana.COM

Like 2D Yin sets, a 3D Yin set can be uniquely repre- sented by its boundary; which is usually an oriented trian- gular grid that consists of a number of vertices, directed edges, and oriented triangles. In the field of computer graphics, the information of a 3D solid is usually stored in a similar data structure, and a popular format of .obj files is widely adopted online; see Figure 2 for two examples. CourseNana.COM

However, triangular grids in .obj files are often not homeomorphic to the boundary of any 3D Yin sets. In CourseNana.COM

this part, you are supposed to investigate common fea- tures of these .obj files, design algorithms to modify the triangular grids so that the output is homeomorphic to the boundary of a 3D Yin set and it is close to the boundary of the true 3D Yin set as much as possible. CourseNana.COM

You should submit a document describing you algo- rithms and a C/C++ package that implement and test your algorithms. CourseNana.COM

The total points is 50, all of which count as extra credit. CourseNana.COM

References CourseNana.COM

  1. [1]  Q. Zhang and Z. Li. Boolean algebra of two-dimensional continua with arbitrarily complex topology. Math. Com- put., 89: 2333-2364, 2020.
  2. [2]  Q. Zhang. Notes on Numerical Analysis. preprint, 2021.
  3. [3]  Q. Zhang. Jump-start Guide for new graduate students. github.com/Qinghai-Zhang/JumpStartGuide Github project, 2021.

  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
The Practice of Mathematics代写,Yin sets代写,Boolean algebra代写,Splines代写,C++代写,The Practice of Mathematics代编,Yin sets代编,Boolean algebra代编,Splines代编,C++代编,The Practice of Mathematics代考,Yin sets代考,Boolean algebra代考,Splines代考,C++代考,The Practice of Mathematicshelp,Yin setshelp,Boolean algebrahelp,Splineshelp,C++help,The Practice of Mathematics作业代写,Yin sets作业代写,Boolean algebra作业代写,Splines作业代写,C++作业代写,The Practice of Mathematics编程代写,Yin sets编程代写,Boolean algebra编程代写,Splines编程代写,C++编程代写,The Practice of Mathematicsprogramming help,Yin setsprogramming help,Boolean algebraprogramming help,Splinesprogramming help,C++programming help,The Practice of Mathematicsassignment help,Yin setsassignment help,Boolean algebraassignment help,Splinesassignment help,C++assignment help,The Practice of Mathematicssolution,Yin setssolution,Boolean algebrasolution,Splinessolution,C++solution,