Menu

IIT Certification Programs

Workshops

Projects

Blogs

Careers

Student Reviews



More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Solving second order derivative ODE function for simple oscillating pendulum using MATLAB.

%input b=0.5; g=9.81; l=1; m=1; %initial condition theta_0 = [0;3]; %time points t_span = linspace(0,20,500); %solve ODE [t, results]= ode45(@(t,theta)ode_func(t,theta,b,g,l,m),t_span,theta_0); figure(1) plot(t,results(:,1),'color','b'); hold on plot (t,results(:,2),'color','r'); hold off xlabel('position'); ylabel('angular…

Project Details

Loading...

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.

Please  login to add a comment

Other comments...

No comments yet!
Be the first to add a comment

Read more Projects by Meshack Immanuel (8)

USING GENETIC ALGORITHM TO OPTIMISE STALAGMITE FUNCTION AND TO FIND GLOBAL MAXIMA

Objective:

https://projects.skill-lync.com/projects/USING-GENETIC-ALGORITHM-TO-OPTIMISE-STALAGMITE-FUNCTION-AND-TO-FIND-GLOBAL-MAXIMA-05363

calendar

20 Feb 2020 01:34 AM IST

    Read more

    USING GENETIC ALGORITHM TO OPTIMISE STALAGMITE FUNCTION AND TO FIND GLOBAL MAXIMA.

    Objective:

    AIM: To optimise the stalagmite function and to find the global maxima of the function using MATLAB.   SYNTAX: x = ga(fun,nvars) finds a local unconstrained minimum, x, to the objective function, fun. nvars is the dimension (number of design variables) of fun. x = ga(fun,nvars,A,b,Aeq,beq,lb,ub) defines…

    calendar

    20 Feb 2020 01:32 AM IST

    • MATLAB
    Read more

    curve fit for temperature and specific heat of oxygen using the inbuilt polynomial function polyfit and polyval using MATLAB

    Objective:

    AIM: To construct a curve fit for temperature and specific heat of oxygen using the inbuilt polynomial command in MATLAB. Curve fitting: is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints.curve fitting , also known as…

    calendar

    17 Feb 2020 04:38 AM IST

    Read more

    Solving second order derivative ODE function for simple oscillating pendulum using MATLAB.

    Objective:

    %input b=0.5; g=9.81; l=1; m=1; %initial condition theta_0 = [0;3]; %time points t_span = linspace(0,20,500); %solve ODE [t, results]= ode45(@(t,theta)ode_func(t,theta,b,g,l,m),t_span,theta_0); figure(1) plot(t,results(:,1),'color','b'); hold on plot (t,results(:,2),'color','r'); hold off xlabel('position'); ylabel('angular…

    calendar

    14 Feb 2020 01:23 AM IST

    Read more

    Solving second order derivative ODE function for simple oscillating pendulum using MATLAB

    Objective:

    https://projects.skill-lync.com/projects/Solving-second-order-derivative-ODE-function-for-simple-oscilating-pendulum-using-MATLAB-75788

    calendar

    14 Feb 2020 01:22 AM IST

    Read more

    Using MATLAB to calculate the thermal efficiency and visualizing the PV diagram.

    Objective:

    %inputs gamma = 1.4 t3 = 2300 %state variables p1 = 101325 t1 = 500 % engine geometric parameters bore = 0.1; stroke = 0.1; con_rod = 0.15; cr = 12; %calculating the swapt volume and the clearance volume v_swept = (pi/4)*bore^2*stroke; v_clearance = v_swept/(cr-1); v1 = v_swept + v_clearance v2 = v_clearance %state variables…

    calendar

    13 Feb 2020 01:25 AM IST

      Read more

      forward kinetics of robotic arm using MATLAB

      Objective:

      clear all close all clc %inputs l1= 1; l2= 0.5; theta1 = linspace(0,90,10); theta2 = linspace(0,90,10); ct = 1; for i= 1:length(theta1) THETA1 = theta1(i) for j = 1:length(theta2) THETA2 = theta2(j); x0=0; y0=0; x1=l1*cosd(THETA1); y1=l1*sind(THETA1); x2=x1+l2*cosd(THETA2); y2=y1+l2*sind(THETA2); %plotting plot([x0 x1],[y0…

      calendar

      11 Feb 2020 07:09 AM IST

        Read more

        FLOW OVER BICYCLE

        Objective:

        FLOW OVER BICYCLE IN FLOW OVER BICYCLE The first step includes giving the required inputs for drag coefficient (c_d) Then the value of the frontal area (A) that experiences drag is given as an input Then the values for density rho is entered Like wise, the values for velocity (V) is also given as an input Then, with the…

        calendar

        11 Feb 2020 03:34 AM IST

          Read more
          Showing 1 of 8 projects