Menu

Executive 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

Curve fitting using python

#Code for linear polynomial fit import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit #curve fit function def func(t,a,b): return a*t+b #Read data file def read(): temp = [] cp = [] for line in open('data','r'): values = line.split(',') temp.append(float(values[0])) cp.append(float(values[1]))…

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 Avadhoot Ahire (16)

Flow over an airfoil Solidworks

Objective:

Model: An airfoil shape curve was created from xyz co-ordinates of Boeing 103 Airfoil found in the NACA database. The unit system used is MKS system. The curve was converted into sketch entity using convert entity feature. The sketch was closed and extruded (0.5 m) to form a solid model of the airfoil. Simulation: A time-based…

calendar

25 Aug 2019 05:04 AM IST

    Read more

    Flow over a cylinder using Solidworks

    Objective:

    For this challenge we first make a cylinder of diameter 20 mm and length of 50 mm. Next, we create a new flow simulation project using the wizard. We change the analysis type to external and make it time-dependent. Next we add water as the liquid. Next we initiate the velocity in X direction as 1.54 m/s for the baseline…

    calendar

    20 Aug 2019 11:36 AM IST

      Read more

      Flow through pipe using Solidworks

      Objective:

      First make a pipe with following dimension: Internal Diameter: 18 mm Outer Diameter: 20 mm Length: 1000 mm Lines are drawn across the length of the pipe at 850 mm, 900 mm and 950 mm from the inlet side of the pipe. These lines will be used as line probes in results. Create a lid using the Flow Simulation module in Solidworks…

      calendar

      17 Aug 2019 04:28 AM IST

        Read more

        Data Analysis using Python

        Objective:

        import matplotlib.pyplot as plt import math import numpy as np #.......................................................# #Checking if the file with the given name exists try: file = open('engine_data.out', 'r') except IOError: print('The file does not exist') raise SystemExit #.......................................................#…

        calendar

        10 Aug 2019 10:29 AM IST

          Read more

          Curve fitting using python

          Objective:

          #Code for linear polynomial fit import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit #curve fit function def func(t,a,b): return a*t+b #Read data file def read(): temp = [] cp = [] for line in open('data','r'): values = line.split(',') temp.append(float(values[0])) cp.append(float(values[1]))…

          calendar

          05 Aug 2019 08:09 AM IST

          • MATLAB
          Read more

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

          Objective:

          #Plotting h vs pressure table for alpha = 1 import math import matplotlib.pyplot as plt def f(p,h,b,r,rho): return pow(p,3)*(1-pow(b,2)) + pow(p,2)*(0.4*h*pow(b,2)-rho*pow(h,2)/pow(r,2)) + p*pow(rho,2)*pow(h,4)/3/pow(r,4) - pow(rho*pow(h,2)/3/pow(r,2),3) def f_prime(p,h,b,r,rho): return 3*pow(p,2)*(1-pow(b,2))+2*p*(0.4*h*pow(b,2)-rho*pow(h,2)/pow(r,2))+pow(rho,2)*pow(h,4)/3/pow(r,4)…

          calendar

          01 Aug 2019 08:43 AM IST

            Read more

            Solving second order ODEs using Python

            Objective:

            import numpy as np from scipy.integrate import odeint import matplotlib.pyplot as plt import math plt.rcParams.update({\'figure.max_open_warning\': 0}) #ODE function 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]…

            calendar

            21 Jul 2019 07:51 AM IST

              Read more

              Solving second order ODEs

              Objective:

              *********** Comments by Grader ************ GOOD JOB!!   SUGGESTION : The other thing that you can do is to attach the code and images in projects.skill-lync.com  and paste the link over here. If you have any doubts please ask us on WHATSAPP…

              calendar

              21 Jul 2019 03:24 AM IST

                Read more

                Air standard Cycle

                Objective:

                #Otto cycle simulator import math import matplotlib.pyplot as plt def piston_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank): #Geometry a = stroke/2 R = con_rod/a #End volumes V_s = math.pi*(1/4)*pow(bore,2)*stroke V_c = V_s/(cr-1) sc = math.radians(start_crank) #Starting crank angle ec = math.radians(end_crank)…

                calendar

                15 Jul 2019 04:54 AM IST

                  Read more

                  MBD Simulation on IC Engine Valve Train

                  Objective:

                  A valve train is used in engines to control the opening and closing of the inlet valve of air-fuel mixture as well as the exhaust valve. A cam is designed as per the geometry and the valve timings required and is coupled directly or indirectly with the crankshaft to change the timings as per the engine speed. The cam is…

                  calendar

                  08 Jul 2019 03:17 AM IST

                    Read more

                    Planetary Gear

                    Objective:

                    The following inputs were used for designing the Planetary Gear Ring Gear Module = 2.5 (metric system) Number of teeth = 46 Sun Gear Number of teeth = 14 Input Speed of the Gear = 200 rpm. Number of planet gears = 4     Calculating the number of teeth in planet gear: (Module is same for all gears) Pitch…

                    calendar

                    30 Jun 2019 05:59 AM IST

                      Read more

                      Internal Geneva Mechanism

                      Objective:

                      Objective: Create a 3D model of Internal Geneva Mechanism using the 2D CAD Drawings. Perform motion analysis on the same for following scenarios: 10 RPM without precise contact 10 RPM with precise contact 20 RPM without precise contact 20 RPM with precise contact NOTE: The RPM is the speed of the driver wheel in the mechanism.…

                      calendar

                      30 Jun 2019 05:59 AM IST

                        Read more

                        MBD Simulation on a Piston Assembly

                        Objective:

                        MBD simulation on Piston assembly is to be done. For this we need to make parts such as follows: Piston Head     Wrist pin       Connecting rod       End cap         Crank       All the above parts are assembled as required.     Motion…

                        calendar

                        26 Jun 2019 07:24 AM IST

                        Read more

                        Constraint Minimization - Pen and Paper calculation

                        Objective:

                        Let  `f(x,y)=5-(x-2)^2-2(y-1)^2` `g(x,y)=x+4y-3=0`        (1)   We solve, `∇f=λ ∇g` To simplify, we introduce ‘Lagrangian function’, L and calculate its critical points `L=f-λg`     `∴L=5-(x-2)^2-2(y-1)^2+λ(x+4y-3)`  …

                        calendar

                        30 Apr 2019 04:36 AM IST

                          Read more

                          Genetic Algorithm

                          Objective:

                          %stalagmite.m %stalagmite function function val = stalagmite(input_vector) a = input_vector(1); b = input_vector(2); f1x = (sin(5.1*pi*a+0.5))^6; f1y = (sin(5.1*pi*b+0.5))^6; f2x = exp(-4*log(2)*((a-0.0667)^2)/0.64); f2y = exp(-4*log(2)*((b-0.0667)^2)/0.64); val = -f1x*f2x*f1y*f2y; end %Optimisation_using_genetic_algorithm.m…

                          calendar

                          18 Feb 2019 05:51 AM IST

                            Read more

                            Flow over bicycle

                            Objective:

                            %Calculating the drag force against a cyclist clc clear all close all %inputs rho = 1.225; %density of air in kg/m^3 A = 0.5; %frontal area of average cyclist in m^2 v = 0:2:16; %velocity range of cyclist in m/s^2 %Co-efficient of drag for various shapes cd = [0.04 0.09 0.42 0.47 0.5 0.80 0.82 1.05 1.15]; %Creating a meshgrid…

                            calendar

                            06 Jan 2019 04:52 AM IST

                              Read more
                              Showing 1 of 16 projects