# Introduction to Scientific Computing DIFUSE Module
## Contributors: Jackeline Corona (‘22), Logan Sankey (‘20), Petra Bonfert-Taylor (Professor of Engineering, DIFUSE PI), Laura Ray(Professor of Engineering, DIFUSE PI), Taylor Hickey ('23, Project Manager)
![Introduction to Scientific Computing DIFUSE Module Funded by NSF IUSE1917002](repository_assets/DIFUSE-ENGS20.png)
This module was developed through the DIFUSE project at Dartmouth College and funded by the National Science Foundation award IUSE-1917002.
| <a href="https://github.com/difuse-dartmouth/engineering-glucose-model-ode/archive/refs/heads/main.zip"><img src="/repository_assets/download-all.png" alt="Download the entire module" align="center" style="width: 4in;"></a>| <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="width=2in" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /><br></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>. |
|---------|----------|
## Module Objective
Student gain experience with using a numerical solver for a differential equations model coupled with parameter estimation based on a experimental data set.
## Student Learning Objectives
1. Establish a basic understanding of ODEs and MATLAB functionalities
2. Use a differential equation model of a real-world system to practice analysis of graphical behaviors in relation to equations.
4. Apply the Least-Squares Method to optimize one parameter in the model for a given set of data
5. Calculate additional parameters and compare these to acceptable values
## Module Description
Using MATLAB, in this module students address questions about a model of the relationship between glucose and insulin in humans. To do so, students explore the use of numerical solvers for ODE and systems of ODE, both by coding Euler’s method ‘by hand’ as well as by using built-in solvers. Students use published data to fit parameters of a model and make predictions with the numerical solutions. The final “long” coding assignment for ENGS 20 had traditionally been an investigation of the solutions to ordinary differential equations (ODEs) through the use of Euler’s method, analytical solutions, and ODE solvers in MATLAB. However, Professor Bonfert-Taylor recognized that this assignment often lacked the context of a real-world application when only the ODEs were provided for students to solve through various methods. She was interested in finding an ODE or a system of ODEs describing a real interaction that could be modeled by students along with data to provide inputs for and then validate the model.
She found resources from papers investigating the response of the human insulin system to glucose and proposed that the DIFUSE team develop a new long assignment in which students apply a simplified ODE model of this system. She also proposed a shorter coding assignment to be completed before the long assignment that introduces students to the concepts of ODEs and to coding Euler’s method.
### Data
This module using glucose and insulin level data taken from a published experiment.
### Platform
The module uses MATLAB live scripts.
## Schedule and Links
Use this page to get an idea of the timeline of the module, what components are involved, and what documents are related to each component. This is the schedule intended for module deployment by the DIFUSE team, though instructors are welcome to modify the timeline to fit their course environment.
[Guide for Instructors](https://github.com/difuse-dartmouth/21X_ENGS20/blob/6e9df446b205300b61e5de6e0a6af273df913e05/completed_module/public/logistics/Instructor%E2%80%99s%20Guide.pdf)
1. [Short Assignment](https://github.com/difuse-dartmouth/21X_ENGS20/blob/6e9df446b205300b61e5de6e0a6af273df913e05/completed_module/public/components/short%20assignment/short_assignment_student_instructions.pdf)
- Three questions introduce the student to ODEs in MATLAB.
- Students develop code to estimate a solution to an ODE with Euler’s method. Students then plot the solution for different coefficient values and plot the estimate against the analytical solution.
- Assignment questions ask students to compare the effects of changing variables in the ODE and compare the estimated solution to the analytical solution.
2. [Long Assignment](https://github.com/difuse-dartmouth/21X_ENGS20/blob/6e9df446b205300b61e5de6e0a6af273df913e05/completed_module/public/components/long%20assignment/Long%20Assignment%20(Glucose-Insulin%20through%20Diff%20Equations).pdf) ([Student facing rubric](https://github.com/difuse-dartmouth/21X_ENGS20/blob/6e9df446b205300b61e5de6e0a6af273df913e05/completed_module/public/components/long%20assignment/Student%20Facing%20LA3%20Rubric.pdf))
- Students model the Glucose Insulin System in MATLAB with Euler’s Method and explore the model by optimizing one parameter for a given set of data using the least-squares method.
- Students comment on an initial plot and calculate if the initial parameters are within normal limits.
- Students write code to perform an Euler’s method estimate of the model ODEs and then use the least-squares method to optimize one parameter of the model for a provided set of data.
- Students are asked to plot the data and the estimate and also evaluate if the patient’s parameters are within the normal ranges.
## Implementation Calendar
Typically the short assignment is due three days after it's been assigned and the long assignment is due after a week.
<table align="left">
<br><br>
<tr>
<th>Item</th>
<th>Schedule</th>
</tr>
<tr>
<td>MATLAB publishing tutorial</td>
<td>Earlier in term</td>
</tr>
<tr>
<td>Release Short Assignment (SA)</td>
<td>At least three days before release of long assignment</td>
</tr>
<tr>
<td>Release Long Assignment (LA)</td>
<td> Due date of SA, 1 week before due date of LA </td>
</tr>
<tr>
<td>Return feedback on SA </td>
<td> One day after due date of SA </td>
</tr>
<tr>
<td>TA sessions following up on SA</td>
<td> One day after release of SA feedback </td>
</tr>
</tr>
<tr>
<td>Long Assignment due</td>
<td> One week after LA release </td>
</tr>
</table>
<img src="https://github.com/difuse-dartmouth/21X_ENGS20/blob/110922f65be828f0aa09fad4c9fd2fafa4787cf8/completed_module/public/ENGS%2020%20timeline.png" width="300" style = "float: right">
## Course Information
This module was developed for an Engineering course, <a href="http://dartmouth.smartcatalogiq.com/current/orc/Departments-Programs-Undergraduate/Engineering-Sciences/ENGS-Engineering-Sciences-Undergraduate/ENGS-20">Introduction to Scientific Computing</a>, which introduces students to programming in C and MATLAB as well as the foundations of scientific computing. Students are not assumed to have any programming experience at the outset, but learn both platforms leading up to the module.
---
| <a href="https://github.com/difuse-dartmouth/engineering-glucose-model-ode/archive/refs/heads/main.zip"><img src="/repository_assets/download-all.png" alt="Download the entire module" align="center" style="width: 4in;"></a>| <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="width=2in" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /><br></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>. |
|---------|----------|
For instructors and interested parties, the history of this repository (with detailed commits), can be found [here](https://github.com/difuse-dartmouth/engineering-glucose-model-ode/commits/main/).
没有合适的资源?快使用搜索试试~ 我知道了~
基于Euler方法和最小二乘法求解葡萄糖-胰岛素系统的一阶常微分方程(ODE)MATLAB代码.zip
共20个文件
md:7个
pdf:5个
png:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 39 浏览量
2024-02-28
21:27:49
上传
评论
收藏 1.58MB ZIP 举报
温馨提示
2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
资源推荐
资源详情
资源评论
收起资源包目录
基于Euler方法和最小二乘法求解葡萄糖-胰岛素系统的一阶常微分方程(ODE)MATLAB代码.zip (20个子文件)
基于Euler方法和最小二乘法求解葡萄糖-胰岛素系统的一阶常微分方程(ODE)MATLAB代码
engineering-glucose-model-ode-main
ENGS20_DIFUSE.png 293KB
repository_assets
PLACEHOLDER.md 35B
DIFUSE-ENGS20.png 363KB
download-all.png 27KB
ENGS 20 badge.png 43KB
completed_module
data
PLACEHOLDER.md 35B
Insulin.txt 148B
Data README.pdf 20KB
glucose_bergman_dat.csv 2KB
Glucose.txt 175B
ENGS 20 timeline.png 70KB
components
long assignment
Student Facing LA3 Rubric.pdf 51KB
Long Assignment (Glucose-Insulin through Diff Equations).pdf 398KB
README.md 2B
short assignment
short_assignment_student_instructions.pdf 324KB
README.md 22B
README.md 5KB
logistics
PLACEHOLDER.md 35B
Instructor’s Guide.pdf 48KB
README.md 8KB
共 20 条
- 1
资源评论
Matlab科研辅导帮
- 粉丝: 1w+
- 资源: 7491
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功