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

Week 3 - Solving second order ODEs

# ODE solver Pendulum Problem import numpy as np from scipy.integrate import odeint import matplotlib.pyplot as plt import math def model(theta,t,b,g,l,m): # function definition theta1=theta[0] theta2=theta[1] dtheta1_dt=theta2 # Second order diffierential equation simplified dtheta2_dt=-(b/m)*theta2-(g/l)*math.sin(theta1)…

    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 Ahmedelmukhtar Mohammed (17)

    Week 5 - Curve fitting

    Objective:

    import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit # curve fit function def func(t, a, b, c): return a*pow(t,2)+b*t+c # reading thermodynamics file def read_file(): temperature=[] cp=[] for line in open('data','r'): values=line.split(',') temperature.append(float(values[0])) cp.append(float(values[1]))…

    calendar

    27 Feb 2024 11:01 AM IST

      Read more

      Week 3 - Solving second order ODEs

      Objective:

      # ODE solver Pendulum Problem import numpy as np from scipy.integrate import odeint import matplotlib.pyplot as plt import math def model(theta,t,b,g,l,m): # function definition theta1=theta[0] theta2=theta[1] dtheta1_dt=theta2 # Second order diffierential equation simplified dtheta2_dt=-(b/m)*theta2-(g/l)*math.sin(theta1)…

      calendar

      12 Feb 2024 11:19 AM IST

        Read more

        Week 2 Air standard Cycle

        Objective:

        """ Otto Cycle Simulator """ import math import matplotlib.pyplot as plt def engine_kinematics (bore,stroke,conn_rod,cr,start_crank,end_crank): """ Engine Kinematics """ # Geometric paramters a=stroke/2 R=conn_rod/a # Volume parameters V_s = math.pi*(1/4)*pow(bore,2)*stroke V_c = V_s/(cr-1) sc=math.radians(start_crank)…

        calendar

        10 Feb 2024 11:06 AM IST

          Read more

          Project 1 Mechanical design of battery pack

          Objective:

          Please chech the attached

          calendar

          24 Jan 2024 08:33 AM IST

            Read more

            Week -2

            Objective:

            Please find the attached

            calendar

            06 Jan 2024 09:12 AM IST

              Read more

              Week 1 Understanding Different Battery Chemistry

              Objective:

              Please find the attached excel file.

              calendar

              16 Oct 2023 08:05 AM IST

                Read more

                Week 8 - Simulating Cyclone separator with Discrete Phase Modelling

                Objective:

                Cyclone separator Introduction A division of multiphase flows is the discrete phase model. The difference between the Lagrangian and Eulerian views is that the Eulerian perspective assumes a finite volume element in the fluid flow route while the Lagrangian view bases its analysis of fluid behavior on particle tracking…

                calendar

                18 May 2023 05:03 PM IST

                  Read more

                  Week 9 - Parametric study on Gate valve.

                  Objective:

                  Parametric study on gate valveGate valve is a device used to control the fluid flow.The flow coefficient - Cv - or the flow factor - Kv - are commonly used to specify capacities of control valves.Flow Coefficient - CvThe flow coefficient - Cv - is based on the imperial units system and is defined as the flow of water through…

                  calendar

                  17 May 2023 12:55 PM IST

                    Read more

                    Week 5 - Rayleigh Taylor Instability

                    Objective:

                    https://screenrec.com/share/gSN9p2LeUh

                    calendar

                    03 May 2023 06:55 AM IST

                      Read more

                      Week 3 - External flow simulation over an Ahmed body.

                      Objective:

                      https://screenrec.com/share/ldjs3xfvLz   Introduction Flow around the Ahmed body is a well-known CFD benchmark for external aerodynamics. The Ahmed body is a generic car model first proposed by [Ahmed et al., (1984)]. All ground vehicles can be termed as bluff bodies moving close to the road surface. The analyzed…

                      calendar

                      26 Apr 2023 07:10 PM IST

                      • CFD
                      Read more

                      Week 4 - CHT Analysis on Exhaust port

                      Objective:

                      https://screenrec.com/share/RPx6tnygAj https://screenrec.com/share/AXaF6BgWbc

                      calendar

                      23 Apr 2023 02:01 PM IST

                        Read more

                        Week 2 - Flow over a Cylinder.

                        Objective:

                        https://screenrec.com/share/sKPVaxz7RN https://screenrec.com/share/zd4qtEB7yT

                        calendar

                        18 Apr 2023 08:57 PM IST

                          Read more

                          Week 1- Mixing Tee

                          Objective:

                          https://screenrec.com/share/LB14XzOKRV                                                                            …

                          calendar

                          12 Apr 2023 10:57 AM IST

                          Read more

                          Project 1 - Parsing NASA thermodynamic data

                          Objective:

                          https://screenrec.com/share/iGASwjCMeQ clear close clc f=fopen('THERMO.dat','r'); % file open for i= 1:5 % skipping the header fgetl(f); end for j=1:53 % using the the command for loop to pick each substance data % extraction of local temperatures a=fgetl(f); % picking the Oxygen temperatures line b=strsplit(a,' '); %…

                          calendar

                          26 Feb 2023 11:00 AM IST

                            Read more

                            Project 2 - Rankine cycle Simulator

                            Objective:

                            https://screenrec.com/share/KCjfEtreIg clear close clc fprintf('RANKINE CYCLE SIMULATOR') fprintf('1-2: Isentropic Expansion in the Turbine') fprintf('2-3: Constant Pressure Heat Rejection in the Condenser') fprintf('3-4: Isentropic Compression in the Pump') fprintf('4-1: Constant Pressure Heat Addition in the Boiler')…

                            calendar

                            03 Jan 2023 08:35 PM IST

                              Read more

                              Week 4.1 - Solving second order ODEs

                              Objective:

                              https://youtu.be/iS-55hSRgls https://screenrec.com/share/YdmOqrhL5B   clear close clc % inputs m=1 b=0.05 l=1 g=9.81 % initial condition theta_0=[0,3] % time points t_span=linspace(0,20,300) % solve ode [t,results]=ode45(@(t,theta)ode_fun(t,theta,b,g,l,m),t_span,theta_0) figure(1) plot(t,results(:,1)) hold on plot(t,results(:,2))…

                              calendar

                              31 Dec 2022 01:42 PM IST

                                Read more

                                Week 3.2 - 2R Robotic Arm Challenge

                                Objective:

                                https://screenrec.com/share/tdMVfiCzwp https://youtu.be/MZ6dWjCifMY clear all close all clc % inputs L1= 1; L2= 0.5; Theta1= linspace(0,90,10); Theta2= linspace(-180,180,50); 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);…

                                calendar

                                01 Oct 2022 09:21 PM IST

                                  Read more
                                  Showing 1 of 17 projects