Coding Basics The given Matlab statements give the following results: Input 1: A = [1,2,3,4,5] Output: A = 1 2 3 …
Mandeep Shetty
updated on 21 Aug 2018
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Mandeep Shetty (30)
2d Heat Conduction 1
Solving the Steady and Unsteady 2D Heat Conduction Problem …
27 Aug 2019 08:58 AM IST
Taylor table method and Matlab code
Main_code: clear all close all clc %The given funtion is exp(x)*cos(x). The second derivative of the funciton %is -2*exp(x)*sin(x). x = linspace(0,13, 50) dx = linspace(0.5,1/1000000, 30) f = @(x) exp(x).*cos(x); %Creates a inline funtion for the given expression with funciton handel \'f\'. Element by element operator…
17 Mar 2019 06:16 AM IST
Effect of step size on error
%%===Script to compute the analytical deivative and compare it with the numerical ...derivative, computed by calling the respective custom funciton for 1st, 2nd ...and 3rd order function. The different schemes used here for numerical derivatives ...are the approximations made using a range of stepsizes===%% clear all close…
27 Jan 2019 12:50 AM IST
Effect of stepsize on Error
%%===Script to compute the analytical deivative and compare it with the numerical ...derivative, computed by calling the respective custom funciton for 1st, 2nd ...and 3rd order function. The different schemes used here for numerical derivatives ...are the approximations made using a range of stepsizes===%%clear allclose…
27 Jan 2019 12:50 AM IST
Numerical derivative vs Exact derivative
%%===Script to compute the analytical derivative and compare it with the numerical ...derivative, computed by calling the respective custom function for 1st, 2nd ...and 3rd order function===%% clear all close all clc %Analytcal function: f(x) = sin(x)/x^3 %Analytical first derivative: f\'(x) = (cos(x)*x^2-sin(x)*3*x^3)/x^6…
27 Jan 2019 12:49 AM IST
Pendulum Simulation
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is: where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
27 Jan 2019 12:48 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:59 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:58 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:58 AM IST
a new title
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is:where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
08 Dec 2018 12:58 AM IST
Solving Ordinary Differential Equations for pendulum using ODE45
Wrote a Matlab script to solve the non-linear pendulum equation and simulate it. The equation being solved is: where b is the damping coefficient (0.05), m is the mass of the pendulum bob (1 kg), L is the length of the pendulum (1 m), theta is the angular displacement and g is the gravitational acceleration (9.82 m/s2).…
13 Sep 2018 12:33 AM IST
Explain Gradient Divergence Curl and Rank of Matrix
27 Aug 2018 03:28 AM IST
Stoichiometric Combustion Calculator for Alkane Alkene and Alkyne fuels
clear all close all clc %\'n\' is the number of Carbon atoms (in moles). %\'ar\' is the Stoichiometric air required (in moles). n = 1:10; %for-loop to calculate the stoichiometric-coefficient \'ar\' for the alkane, alkene ...and alkyne type fuels, separately. for i = 1:3 if i == 1 %Alkane Hydro-carbon. ar = (3*n+1)/2;…
25 Aug 2018 11:12 AM IST
Coding Basics
Coding Basics The given Matlab statements give the following results: Input 1: A = [1,2,3,4,5] Output: A = 1 2 3 …
21 Aug 2018 08:04 AM IST
Boundary Conditions Initial Conditions
Boundary Conditions & Initial Conditions - by Mandeep Shetty The words “differential equations (DE)” suggests that it is a type of equation containing derivatives and that is definitely the case, and so we can define ‘differential-equation’ as an equation containing the derivative of one or…
16 Aug 2018 12:47 PM IST
Explain Gradient Divergence Curl and Rank of Matrix
10 Aug 2018 09:13 AM IST