Skip to content

Conversation

@alaudens
Copy link

@adowling2
Copy link
Contributor

Please delete the file in the 'contrib' folder. Rename the file in the 'contrib-dev' folder to be the same name as the original file (before edits).

Copy link
Contributor

@adowling2 adowling2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make the requested changes and reupload

"\n",
"Bingxin Yang [email protected]\n",
"\n"
"Bingxin Yang [email protected]"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add "Edited by [your name and email] (Fall, 2023)"

" result,error = integrate.quad(lambda E: 2*pi*(1/(pi*R*T[i]))**1.5*E**0.5*np.exp(-E/(R*T[i])),0,25)\n",
" I.append(result)\n",
" result,error = integrate.quad(lambda E: 2*pi*(1/(pi*R*T[i]))**1.5*E**0.5*np.exp(-E/(R*T[i])),low,upp)\n",
" f.append(result)\n",
"\n",
" ### END SOLUTION\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check all "### END SOLUTION ###" are complete. This one is missing the trailing "###"

"plt.tick_params(direction=\"in\",top=True, right=True) #Major tick direction: in\n",
"plt.tick_params(which=\"minor\",direction=\"in\",top=True, right=True) #minor tick direction: in\n",
"plt.xlabel('Number of Midpoint Rule Rectangles',fontsize=16, fontweight = 'bold')\n",
"plt.ylabel('Difference Between Midpoint \\nRule and Gauss Quadrature \\nIntegral Results',fontsize=16, fontweight = 'bold')\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the y-axis label to be shorter, such as "f_{mid}(x) - f_{quad)(x)". You also do not need a legend on this plot because the information is redundant with the title and x-axis. For the title, try "Comparison of Midpoint and Quadrature Rules"

@adowling2 adowling2 changed the title Alexis semester project Alexis (Project 1) Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants