Engy-5310: Computational Continuum Transport Phenomena Fall 2021 UMass Lowell; Prof. V. F. de Almeida 05Oct21
$ \newcommand{\Amtrx}{\boldsymbol{\mathsf{A}}} \newcommand{\Bmtrx}{\boldsymbol{\mathsf{B}}} \newcommand{\Mmtrx}{\boldsymbol{\mathsf{M}}} \newcommand{\Imtrx}{\boldsymbol{\mathsf{I}}} \newcommand{\Pmtrx}{\boldsymbol{\mathsf{P}}} \newcommand{\Lmtrx}{\boldsymbol{\mathsf{L}}} \newcommand{\Umtrx}{\boldsymbol{\mathsf{U}}} \newcommand{\Smtrx}{\boldsymbol{\mathsf{S}}} \newcommand{\xvec}{\boldsymbol{\mathsf{x}}} \newcommand{\avec}{\boldsymbol{\mathsf{a}}} \newcommand{\bvec}{\boldsymbol{\mathsf{b}}} \newcommand{\cvec}{\boldsymbol{\mathsf{c}}} \newcommand{\rvec}{\boldsymbol{\mathsf{r}}} \newcommand{\fvec}{\boldsymbol{\mathsf{f}}} \newcommand{\mvec}{\boldsymbol{\mathsf{m}}} \newcommand{\gvec}{\boldsymbol{\mathsf{g}}} \newcommand{\zerovec}{\boldsymbol{\mathsf{0}}} \newcommand{\norm}[1]{\bigl\lVert{#1}\bigr\rVert} \newcommand{\transpose}[1]{{#1}^\top} \DeclareMathOperator{\rank}{rank} \newcommand{\Reals}{\mathbb{R}} \newcommand{\thetavec}{\boldsymbol{\theta}} $
your name
¶Context | Points |
---|---|
Precision of the answer | 80% |
Answer Markdown readability | 10% |
Code readability | 10% |
lastname-firstname-labwork-xx.ipynb
'''Generate the target function f'''
'''Build the basis functions'''
'''Plot comparison of f and g_best_vec'''
'''L2 norm error'''
||f||_L2 = 49.50757504512813 ||g||_L2 = 47.542489771475196 ||f-g||_L2 = 13.829895030557248 Relative error [%] = 27.934906967167645
Explanation:
'''Plot comparison of f and g_best_vec with constrained end points'''
'''L2 norm error'''
||f||_L2 = 49.50757504512813 ||g||_L2 = 47.33222868382351 ||f-g||_L2 = 13.985082393854283 Relative error [%] = 28.24836882256164
'''Code for comparison of methods'''
Explanation:
'''Build the basis functions list'''
'''Plot comparison of f and g_best_vec with constrained values and derivative at end points'''
'''L2 norm error'''
||f||_L2 = 49.50757504512813 ||g||_L2 = 47.070537224432805 ||f-g||_L2 = 13.682389998914829 Relative error [%] = 27.636962599042235
Explanation:
Explanation:
Answer: