0% found this document useful (0 votes)
19 views1 page

Assignment - Questions - MATLAB (Weightage:5)

This document provides 4 MATLAB assignment questions involving solving differential equations numerically. Question 1 involves using ODE45 and Euler's method to solve a first order differential equation describing cooling and plotting the results. Question 2 involves solving a second order differential equation using an appropriate technique. Question 3 involves solving a second order differential equation using a method of choice. Question 4 involves implementing Runge-Kutta fourth order to solve an initial value problem at two step sizes and plotting the results.

Uploaded by

chandurao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

Assignment - Questions - MATLAB (Weightage:5)

This document provides 4 MATLAB assignment questions involving solving differential equations numerically. Question 1 involves using ODE45 and Euler's method to solve a first order differential equation describing cooling and plotting the results. Question 2 involves solving a second order differential equation using an appropriate technique. Question 3 involves solving a second order differential equation using a method of choice. Question 4 involves implementing Runge-Kutta fourth order to solve an initial value problem at two step sizes and plotting the results.

Uploaded by

chandurao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment – Questions – MATLAB (Weightage:5)

Instructions: Submit the “m”file, along with ppt slides for each problem with solutions.

1) The temperature of a bearing cooling to room temperature after being taken out of an heat
treatment oven is given by dT/dt=c(T−23) where c=−0.028. 23°C is the ambient
temperature. When the bearing is removed from the oven (t=0 minutes), the bearing’s
temperature is 175 ∘C

Find solutions for this differential equation from time range 0 to 100 s using

a) ODE45 (Inbuilt Numercial solver)


b) Euler’s Numerical method

Plot the resultant graph.

𝑑𝑦
2) Solve 𝑑 2 𝑦/𝑑𝑥 2 + 4 ∗ 𝑑𝑥 − 2 ∗ 𝑦 = 2 ∗ 𝑥 2 − 3 ∗ 𝑥 + 6

Using appropriate solution technique

𝑑2 𝜃
3) Solve + 𝜃 = 0; 𝜃(0) = 1 ; 𝜃 ′ (0) = 0
𝑑𝑡 2

Using method of your choice.

4) Implement RK4 to solve y’= 2x -3y +1 ; y(1)=5; Find y(1.5) step size h=0.1; repeat with
h=0.05; P lot the results h=0.1 and h=0.05 in the same graph with different colours.

****************************************

You might also like