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 Given Data using Python

AIM: Python code to Curve fit a linear and cubic polynomial for the given Cp data. DATA File Link: Data For Curve Fitting CODE:  """ Linear and Cubic Polynomial curve fit for the cp data """ import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit # Linear polynomial curve…

    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 Solomon Vivian Abishai Chitati (12)

    File Parsing in Python

    Objective:

    Aim: For this challenge, you will be create a data visualizer tool. Your task is to write a script that does the following.   Data visualizer: Your script should take column numbers as the input and plot the respective columns as separate images Each file should be saved by the name of the column The plot labels should…

    calendar

    17 Jun 2020 09:25 PM IST

      Read more

      Curve Fitting Given Data using Python

      Objective:

      AIM: Python code to Curve fit a linear and cubic polynomial for the given Cp data. DATA File Link: Data For Curve Fitting CODE:  """ Linear and Cubic Polynomial curve fit for the cp data """ import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit # Linear polynomial curve…

      calendar

      17 Jun 2020 09:20 PM IST

        Read more

        Python Program: 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) derived the equation. where p denotes the cushion pressure,…

        calendar

        17 Jun 2020 09:15 PM IST

          Read more

          Python Program To Calculate Air Standard Cycle

          Objective:

          AIM: Python program code to solve the ottp cycle and create PV diagram and plot the graph for thermal efficiency output of the engine.   CODE: """ Otto Cycle """ import math import matplotlib.pyplot as plt #engine kinematics def engine_kinematics(bore,stroke,con_rod,cr,start_a,end_a): #geometric parameters a=stroke/2…

          calendar

          17 Jun 2020 09:07 PM IST

            Read more

            2R Robotic Arm Simulator in Python

            Objective:

            AIM: Write a python program to simulate the Forward Kinematics of 2R Robotic ARM. And create plots for animation in GIF format.   Python Code:  #Simulation of 2R Robotic Arm using Python import math import matplotlib.pyplot as plt #inputs L1 = 1 L2 = 0.7 #defining the angles n_theta = 10 theta_start = 0 theta_end…

            calendar

            17 Jun 2020 09:03 PM IST

              Read more

              Python Program To Calculate: Flow over bicycle

              Objective:

              Python Program To Calculate Drag Force against a Cyclist. When a person is peddling the bicycle, he will experiance a force which is against him, This is called drag force. The Drag force equation is given as: `F d = 0.5 ⋅ C d ⋅ V 2 ⋅ ρ ⋅ A` where, Fd = Drag force (in Newton) Cd = Coefficient of…

              calendar

              17 Jun 2020 08:59 PM IST

                Read more

                File Parsing of NASA Thermodynamic Data and Molecular Weight is Calculated in MATLAB

                Objective:

                Introduction NASA  came up with polynomials that can be used to evaluate thermodynamic properties such as Cp, H, and S. They have also documented the coefficients that are required to evaluate these polynomials for 1000+ species. In the given file THERMO.dat we calculate these properties for 53 species and plot the…

                calendar

                17 Jun 2020 08:52 PM IST

                  Read more

                  MATLAB: Stalagmite Mathematical Model using Genetic Algorithm

                  Objective:

                  Introduction:   Genetic Algorithm is derived from Charles Darwin\'s theory of evolution which states that \' It is not the strongest of the species that survives, nor the most intelligent , but the one most responsive to change.\' The entire concept of Genetic Algorithm is based on the above famous…

                  calendar

                  17 Jun 2020 08:52 PM IST

                    Read more

                    Solving second order ODEs Using Python

                    Objective:

                    Solving Secind Order ODE's in Python: Simple Pendulum 1. AIM: To Solve a second order ordinary differnential eqaution in Python.   2. Goverining Eqautions:  `(d^2theta)/(dt^2)+b/m (d theta)/dt +g/Lsintheta = 0` Varables:  `theta` -Angle made by rod with vertical B - damping coefficient m and L are mass of…

                    calendar

                    17 Jun 2020 08:51 PM IST

                      Read more

                      Simple Pendulum Simulation by Solving 2nd Order ODE Using MATLAB

                      Objective:

                      AIM: The aim of this program is to simulate a  transient behaviour of simple pendulum by solving second order ODE into two first order ODE\'s. `(d^2 θ)/dt^2 + b/m((dθ)/dt) + g/L sinθ = 0`  where θ - Displacement b - damping co-efficient g - gravity m/s^2 L - lenght of string in (m) m -…

                      calendar

                      22 Feb 2019 01:39 AM IST

                        Read more

                        MATLAB Program To Simulate the Forward Kinematics of a Robot ARM

                        Objective:

                        Forwrad Kinematics of Robot Arm using MATLAB %A Program To Create Forward Kinematics of Robot Arm% clear all close all clc %Inputs% l1 = 0.8; %Length of Link 1% l2 = 0.3; %Length of Link 2% theta1 = linspace(0,90,20); theta2 = linspace(0,-30,20); %Frame Counter% ct = 1; for i = 1:length(theta1) THETA1 = theta1(i); for…

                        calendar

                        14 Feb 2019 07:35 AM IST

                        • MATLAB
                        Read more

                        MATLAB Program To Calculate Drag Force Against A Cyclist

                        Objective:

                        Drag Force Equation: Fd = 0.5*rho*A*v.^2*cd where, rho - Density A - Frontal Area v - velocity cd - drag coefficient 1. Program To Calculate the Drag Force Over a Bicycle  for Different Velocities   %A Program To Calculate the Drag force For Different Velocities% clear all close all clc %Inputs% cd = 0.82; %drag…

                        calendar

                        13 Feb 2019 08:31 AM IST

                        Read more
                        Showing 1 of 12 projects