clear all close all clc % Inputs b = 0.05; % damping coefficient g = 9.81; % gravitatinal acceleration in meters per sec^2 l = 1; % Length of the pendulum in meters m = 1; % Mass of the bob in kg …
Sohail Mohammed
updated on 19 Oct 2021
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 Sohail Mohammed (4)
Project 1 - Parsing NASA thermodynamic data
clear all close all clc % Gas constant R = 8.314; % Reading temperature values from file f1 = fopen('THERMO.dat','r'); read = fgetl(f1); read = fgetl(f1); % splitting the string into 4 element cell tempstring = strsplit(read,' '); % converting string into number low_temp =…
14 Jan 2022 06:24 PM IST
Project 2 - Rankine cycle Simulator
clear all close all clc % Ranking cycle description disp(' RANKINE CYCLE SIMULATOR ') disp('1-2 is Isentroptic Expansion in the Turbine') disp('2-3 is Constant Pressure Heat Rejection by the Condenser') disp('3-4 is Isentropic…
18 Nov 2021 06:36 AM IST
Week 4.1 - Genetic Algorithm
clear all close all clc % Assiging values for x and y x = linspace(0,0.6,150); y = linspace(0,0.6,150); [xx yy] = meshgrid(x,y); % Number of iterations iterations = 50; % Surface plot for i = 1:length(xx) for j = 1:length(yy); input_vector(1) =…
28 Oct 2021 04:49 AM IST
Week 3 - Solving second order ODEs
clear all close all clc % Inputs b = 0.05; % damping coefficient g = 9.81; % gravitatinal acceleration in meters per sec^2 l = 1; % Length of the pendulum in meters m = 1; % Mass of the bob in kg …
19 Oct 2021 11:21 AM IST