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

Genetic Algorithm

main code clear all close all clc %inputs x=linspace(0,0.6,150); y=linspace(0,0.6,150); iterations=100 [xx,yy]=meshgrid(x,y); %function function [f]=func(inputvector) x=inputvector(1); y=inputvector(2); function1=(sin(5.1*pi*x+0.5)).^6; function2=(sin(5.1*pi*y+0.5)).^6; function3=exp(-4*log(2)*((x-0.0667).^2)./0.64); function4=exp(-4*log(2)*((y-0.0667).^2)./0.64);…

    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 yash dangi (9)

    Air Standard Flow

    Objective:

    AIM=  Air standard flow https://projects.skill-lync.com/projects/Air-Standard-Flow-43023    

    calendar

    11 Aug 2019 11:50 PM IST

      Read more

      Genetic Algorithm

      Objective:

      main code clear all close all clc %inputs x=linspace(0,0.6,150); y=linspace(0,0.6,150); iterations=100 [xx,yy]=meshgrid(x,y); %function function [f]=func(inputvector) x=inputvector(1); y=inputvector(2); function1=(sin(5.1*pi*x+0.5)).^6; function2=(sin(5.1*pi*y+0.5)).^6; function3=exp(-4*log(2)*((x-0.0667).^2)./0.64); function4=exp(-4*log(2)*((y-0.0667).^2)./0.64);…

      calendar

      11 Aug 2019 11:50 PM IST

        Read more

        Solving second order ODEs

        Objective:

        AIM= soving second order odes Main Code import numpy as np from scipy.integrate import odeint import matplotlib.pyplot as plt import math def model(theta,t,b,g,l,m): theta1=theta[0] theta2=theta[1] dtheta1_dt=theta2 dtheta2_dt=-(b/m)*theta2-(g/l)*math.sin(theta1) dtheta_dt=[dtheta1_dt,dtheta2_dt] return dtheta_dt b=0.05…

        calendar

        11 Aug 2019 11:50 PM IST

          Read more

          color game

          Objective:

          AIM  =color game using tkinter  CODE # import the modules import tkinter import random # list of possible colour. colours = [\'Red\',\'Blue\',\'Green\',\'Pink\',\'Black\', \'Yellow\',\'Orange\',\'White\',\'Purple\',\'Brown\'] score = 0 # the game time left, initially 30 seconds. timeleft = 30 # function that…

          calendar

          11 Aug 2019 11:50 PM IST

            Read more

            Air Standard Cycle

            Objective:

            Programe for ploting the (PV) diagram. clear all close all clc %input gamma=1.4 t3=2300 %state variable p1=101325 t1=500 %engine geometric parameters bore=0.1; stroke=0.1; con_rod=0.15; cr=12; %calculating the swept volume and the clearance volume v_swept=(pi/4)*bore^2*stroke; v_clearance=v_swept/(cr-1); v1=v_swept+v_clearance…

            calendar

            11 Aug 2019 11:50 PM IST

              Read more

              Air Standard Flow

              Objective:

              AIM= TO draw the air standard flow diagram Main code import math import matplotlib.pyplot as plt def Engine_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank): a=stroke/2 R=con_rod/a V_s=math.pi*(1/4)*pow(bore,2)*stroke V_c=V_s/(cr-1) sc=math.radians(start_crank) ec=math.radians(end_crank) num_values=50 dtheat=(ec-sc)/(num_values-1)…

              calendar

              11 Aug 2019 11:50 PM IST

                Read more

                ODE simple pendulum

                Objective:

                Program to simulate the transient behaviour of a simple pendulum and to create an animation of it\'s motion. clear all close all clc %damping coefficient b=0.05 %gravity g=9.81 %length of pendulum l=1 %mass of ball m=1 %initial condition theta_0=[0;3]; %time points t_span=linspace(0,10,500) %solving ODE function [dtheta_dt]=…

                calendar

                11 Aug 2019 11:50 PM IST

                  Read more

                  Curve Fitting Python

                  Objective:

                  1 What does popt and pcov mean? Ans POPT is the output is an array with the values for the parameter used above so that the sum of the squares residuals of data in minimised. 2 What does np.array(temperature) do? Ans  It stores the values of temperature in the form of array and passes to function numpy. 3 What does…

                  calendar

                  11 Aug 2019 11:50 PM IST

                    Read more

                    Breaking Ice with Air cushion Vehicle - Find minimum pressure with Newton-Raphson method

                    Objective:

                    AIM = In determining the minimum cushion pressure needed to break a given thickness of iceusing an air cushion vehicle, Muller (“Ice Breaking with an Air Cushion Vehicle”) inMathematical Modeling: Classroom Notes in Applied Mathematics, SIAM 1987) derivedthe equation where p denotes the cushion pressure, h…

                    calendar

                    21 Jul 2019 01:00 PM IST

                      Read more
                      Showing 1 of 9 projects