clc clear all close all %Input for pendulum and damping motion b=0.05; g=9.81; l=1; m=1; t_span = linspace(0,20,500); %initial conditions theta_0=[0;3]; %Solving the equation for pendulum [t, results]=ode45(@(t,theta) ode_func(t,theta,b, g, l, m),t_span, theta_0); %plotting graph of results figure(1) plot(results(:,1),'color','k')…
Ojas Nagpurkar
updated on 31 Mar 2022
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 Ojas Nagpurkar (5)
Week 1- Mixing Tee
AIM: To compare the mixing effectiveness of a T-shaped pipe when hot and cold air mixes at different speed with solution models of k-epsilon and k-omega. OBJECTIVE: 1. Set up a steady state simulation for comparing mixing effectiveness of hot and cold air entering at 36oC and 19oC. Use K-epsilon and K-omega model…
13 Apr 2023 06:22 PM IST
Project 1 - Parsing NASA thermodynamic data
What is file parsing? File parsing is a process of converting a raw data into a meaningful data which can be interpreted or read to understand what nature does it follow and what can be the inference. Through this we also segregate data and can chose which data to be displayed. CODE: clc clear all close all f1 =…
04 Aug 2022 07:51 PM IST
Week 4.1 - Genetic Algorithm
What is Genetic Algorithm (GA)? Genetic algorithm or GA is basically an optimization technique used to modify the quality of a particular species to fitter version of its original self. This technique follows the theory of Evolution proposed by Charles Darwin, which states that after a particular population is being initiated…
09 Jun 2022 07:35 PM IST
Week 3 - Solving second order ODEs
clc clear all close all %Input for pendulum and damping motion b=0.05; g=9.81; l=1; m=1; t_span = linspace(0,20,500); %initial conditions theta_0=[0;3]; %Solving the equation for pendulum [t, results]=ode45(@(t,theta) ode_func(t,theta,b, g, l, m),t_span, theta_0); %plotting graph of results figure(1) plot(results(:,1),'color','k')…
31 Mar 2022 08:14 PM IST
Week 2- 2R Robotic Arm Challenge
% Writing code to show the forward kinematics of 2R robotics arm close all clear all clc % Inputs for the arm L1 = 2; % length of link 1 L2 = 1; % length of link 2 theta1 = linspace(0,90,10); % Angle made by link 1 with horizontal theta2 = linspace(0,90,10); % Angle made by link 2 with horizontal % applied input in 'for…
11 Feb 2022 09:31 PM IST