0% found this document useful (0 votes)
70 views6 pages

ITCE 380 Lab Report 8

This experiment aimed to familiarize students with differential equations and their implementation in MATLAB. The document introduced ordinary differential equations and discussed how numerical methods are used to find approximate solutions since many differential equations cannot be solved analytically. The procedure section then described running simulations in MATLAB to generate output waveforms for different RLC circuit configurations by applying a square wave input and varying resistor values.

Uploaded by

Amna Azmat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
0% found this document useful (0 votes)
70 views6 pages

ITCE 380 Lab Report 8

This experiment aimed to familiarize students with differential equations and their implementation in MATLAB. The document introduced ordinary differential equations and discussed how numerical methods are used to find approximate solutions since many differential equations cannot be solved analytically. The procedure section then described running simulations in MATLAB to generate output waveforms for different RLC circuit configurations by applying a square wave input and varying resistor values.

Uploaded by

Amna Azmat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
You are on page 1/ 6

EXPERIMENT 8: DIFFERENTIAL EQUATIONS

STUDENT’S NAME: AMNA AZMAT RAZA MALIK


STUDENT’S ID: 20161934
DATE OF SUBMISSION: 26 Dec 2018
AIM
The aim of this experiment is to get familiar with differential equations and to
implement it on MATLAB.

INTRODUCTION
Numerical methods for ordinary differential equations are methods used to
find numerical approximations to the solutions of ordinary differential
equations (ODEs). Their use is also known as "numerical integration",
although this term is sometimes taken to mean the computation of integrals.
Many differential equations cannot be solved using symbolic
computation ("analysis"). For practical purposes, however – such as in
engineering – a numeric approximation to the solution is often enough.
The algorithms studied here can be used to compute such an approximation.
An alternative method is to use techniques from calculus to obtain a series
expansion of the solution. Ordinary differential equations occur in many
scientific disciplines, for instance in physics, chemistry, biology,
and economics. In addition, some methods in numerical partial differential
equations convert the partial differential equation into an ordinary differential
equation, which must then be solved.

PROCEDURE

1) A square wave with a 200 second period for 500 seconds was applied:
[u,t] = gensig('square',200,500,1);
2) Output waveform for R L C values as follows: R=4; L=5; C=3;
lsim(tf([1],[C*L C*R 1]),u,t) was plotted
3) Plotted again for values for R= 2 , 1 and 0 Ω

R =2
R=1

R=0
CONCLUSION

In this experiment we got familiar with the differential equations and how to
implement it using MATLAB. We were able to plot the graph.

You might also like