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 ODE of simple pendulum

`(d^2θ)/(dt^2)+(b/m)*(dθ)/(dt)+(g/l)*sinθ=0` The above ODE gives the motion of a simple pendulum. The second order ODE has to be convertedinto two first order ODE. consider θ= θ1 `(dθ)/(dt)=(dθ1)/(dt)=θ2`  `(d^2θ)/(dt^2)=(d^2θ1)/(dt^2)=(dθ2)/(dt)`…

    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 Shreyas Vijay (11)

    Comparision of 1st, 2nd and 4th order approximation errors for a range of dx

    Objective:

    clear all close all clc %function = sin(x)/x^3 %derivative of function = (x^3*(cos(x) - sin(x)*3*x^2)/x^3 x = pi/3; dx = linspace(pi/4,pi/4000,20); for i = 1:length(dx) [first_order_error(i), second_order_error(i), fourth_order_error(i)] = all_approximations(x,dx(i)); end figure(1) loglog(dx,first_order_error,'color','r')…

    calendar

    20 May 2019 02:44 PM IST

      Read more

      comparison between the first, second and fourth order approximations of the first derivative against the analytical or exact derivative.

      Objective:

      Discretization is used to solve a partial differential function at discrete spoints in space. It basically converts a PDE into algebraic form using taylor series. clear all close all clc %function = sin(x)/x^3 %derivative of function = (x^3*(cos(x) - sin(x)*3*x^2)/x^3 x = pi/3; analytical_function = (x^3*(cos(x)) - sin(x)*3*x^2)/x^6…

      calendar

      19 May 2019 04:21 PM IST

        Read more

        stalagmite function

        Objective:

        https://projects.skill-lync.com/projects/optimizing-a-stalagmite-function-32889

        calendar

        11 May 2019 10:14 AM IST

          Read more

          optimizing a stalagmite function

          Objective:

          Genetic Algorithm Genetic Algorithm (GA) is a branch of field of study called evolutionary comutation. It is based on evolution theory by Darwin. GA is used to optimize a given function to find its maximum or minimum value.  The basic components of a GA are 1. fitness function : It is the function that GA is trying…

          calendar

          11 May 2019 10:13 AM IST

            Read more

            curve fitting

            Objective:

            clear all close all clc %importing the data data = load('data'); temp = data(:,1); cp = data(:,2); %plotting the original data figure(1) plot(temp,cp,'linewidth',3,'color','b') hold on xlabel('temperature') ylabel('specific heat') %curve fitting %assuming 2nd order equation. predicted_cp = aT + c co_efficients_1 = polyfit(temp,cp,1)…

            calendar

            30 Apr 2019 03:40 PM IST

              Read more

              solving ode of a simple pendulum

              Objective:

              https://projects.skill-lync.com/projects/solving-ODE-of-simple-pendulum-92272 the link to the challenge is attached above

              calendar

              10 Apr 2019 04:05 PM IST

                Read more

                solving ODE of simple pendulum

                Objective:

                `(d^2θ)/(dt^2)+(b/m)*(dθ)/(dt)+(g/l)*sinθ=0` The above ODE gives the motion of a simple pendulum. The second order ODE has to be convertedinto two first order ODE. consider θ= θ1 `(dθ)/(dt)=(dθ1)/(dt)=θ2`  `(d^2θ)/(dt^2)=(d^2θ1)/(dt^2)=(dθ2)/(dt)`…

                calendar

                10 Apr 2019 04:03 PM IST

                  Read more

                  P V diagram and thermal efficiency of otto cycle

                  Objective:

                  clear all close all clc %state variables p1 = 101325 t1 = 500 t3 = 2300 g = 1.4 %engine parameters b = 0.1 s = 0.1 cr = 12 con= 0.2 % calculating swept_vol and clearance vol v_swept = (pi/4)*b^2*s v_clearance = v_swept/(cr-1) %state 1 v1= v_swept + v_clearance %stage 2 v2 = v_clearance % due to isentropic compression p1*v1^g=p2*v2^g…

                  calendar

                  18 Feb 2019 07:32 AM IST

                    Read more

                    Flow over Bi-cycle

                    Objective:

                      % program to calculate drag force for a bicycle clear all close all clc %drag force with variable velocity %inputs % drag coefficient c_d= 0.8; % frontal area area=0.5; % density of air density=1.225; % velocity of cyclist velocity= 1:50; %formula drag_force= density*area*velocity.*velocity*c_d*0.5; %plot to generate…

                    calendar

                    02 Feb 2019 02:45 PM IST

                      Read more

                      forward kinematics of a 2 arm robotic arm

                      Objective:

                      % forward kinematics of two arm robotic arm clear all close all clc %inputs l1= 2; l2=1; theta1= linspace(0,90,10); theta2= linspace(0,180,10); ct=1; %for loop for i= 1:length(theta1) th1= theta1(i); for j= 1:length(theta2) th2= theta2(j); % co ordinates of the two arm robotic arm x0= 0; y0= 0; x1= l1*cosd(th1); y1= l1*sind(th1);…

                      calendar

                      29 Jan 2019 07:52 AM IST

                        Read more

                        to create row and column vector

                        Objective:

                        clear all close all clc % to create a row matrix a= [1 2 3 4] % to create a column matrix b= [1; 2; 3; 4;]

                        calendar

                        30 Apr 2018 01:00 AM IST

                          Read more
                          Showing 1 of 11 projects