Introduction : Newton-Raphson method is used to find the roots of an equation through iterative approximations starting from a given point. Consider a function f(x) with an intitail point as x0. Then, by employing this method we find the next closest approximation by using the formula - The process is then repeated iteratively…
Danish Faraaz
updated on 06 Jan 2019
Project Details
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.
Other comments...
Read more Projects by Danish Faraaz (13)
Week 3 Air standard Cycle
*********** 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 or…
14 Jan 2019 06:52 AM IST
Week 3 Air standard Cycle
*********** 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 or…
14 Jan 2019 06:52 AM IST
Curve Fitting of a given data using Python
In this challenge, we are going to curve fit the given data, which means constructing a mathematical curve that best fits the given series of points. In other words, we are going to derive that function that gives the best representation of the relationship between two values. The code has been shown below - import numpy…
12 Jan 2019 09:26 AM IST
Breaking Ice with Air cushion Vehicle - Finding minimum pressure with Newton-Raphson method using Python
Introduction : Newton-Raphson method is used to find the roots of an equation through iterative approximations starting from a given point. Consider a function f(x) with an intitail point as x0. Then, by employing this method we find the next closest approximation by using the formula - The process is then repeated iteratively…
06 Jan 2019 01:56 AM IST
Flow over Bicycle using Python
In this program, we are going to code a program to find the drag force acting on a person riding a bicycle. The drag force depends on the following parameters namely - Drag coefficient, density of fluid, frontal area, velocity. Since we have to plot two different figures, we are assigning a constant drag coefficient…
28 Dec 2018 01:56 AM IST
2R Robotic arm simulator using Python
In this program we are simulating the motion of a 2R robotic arm inside a workspace using Python. The images are saved under different file names using a counter and then they are stiched together to form a gif animation of the 2R robotic arm in different positions. The code is given below - import math import matplotlib.pyplot…
28 Dec 2018 01:51 AM IST
Air Standard Cycle using Python
In this code, we are going to create a PV diagram for a standard cycle given the pressure and temperature at different points of the cycle. The code is divided in to two halves. In the first part, we are going to define the engine kinematics that calculates the volume based on various parameters such as bore,…
04 Dec 2018 07:57 AM IST
Optimization of Stalagmite function and finding Global Maximum of a given function
A tool used for solving constrained and uncocntrained problems by natural selection is called as genetic algorithm. Each generation is created from the preceding generation by using the following rules - 1. Selection - selection of parents for contribution of the next generation 2. Crossover - combination of two…
01 Nov 2018 05:36 AM IST
Curve Fitting Analysis for a given data in Matlab
In this challenge, we are constructing a curve using the given set of data. The curve constructed needs to be as close in value as to the given set as possible. Here, we construct the curve using a linear and cubic polynomial and then check the results by plotting it. The code is given below. clear all close all…
17 Sep 2018 04:41 AM IST
Row and Column vector in Matlab
% Row vector A = [1 2 4] %Column vector B = [1 ; 2 ; 4]
17 Sep 2018 01:43 AM IST
Solving for second ODE and simulation of Pendulum
clear all close all clc b =0.05; g = 9.81; l = 1; m = 0.1; % initial condition theta_0 = [0;3]; % time points t_span = linspace(0,20,100); % solve ODE [t , results] = ode45(@(t,theta) ode_func(t,theta,b,g,l,m), t_span, theta_0); plot(t,results(:,1)) hold on plot(t,results(:,2)) ylabel(\'Plot\') xlabel(\'time\') ct = 1;…
16 Sep 2018 06:06 AM IST
P-V diagram and solving for thermal efficiency of Otto Cycle in Matlab
clear all close all clc %Inputs gama = 1.4; t3 = 2300; %State Variables p1 = 101325; t1 = 500; %Engine geometric parameters bore = 0.1; stroke = 0.1; con_rod = 0.15; cr = 12; %Calculating the swep volume and clearance volume v_swept = (pi/4)*bore^2*stroke; v_clearance = v_swept/(cr-1); v1 = v_swept + v_clearance…
15 Sep 2018 11:39 AM IST
Forward Kinematics of 2R robot arm
clear all close all clc %Inputs l1 = 1; l2 = 0.5; theta1 = linspace(0,90,10); theta2 = linspace(0,90,10); 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); y2 = y1 + l2*sind(THETA2); %Plotting…
10 Sep 2018 11:02 AM IST