Posts

New Post

Markov Chains || Step-By-Step || ~xRay Pixy

Image
Learn Markov Chains step-by-step using real-life examples. Video Chapters: Markov Chains 00:00 Introduction 00:19 Topics Covered 01:49 Markov Chains Applications 02:04 Markov Property 03:18 Example 1 03:54 States, State Space, Transition Probabilities 06:17 Transition Matrix 08:17 Example 02 09:17 Example 03 10:26 Example 04 12:25 Example 05 14:16 Example 06 16:49 Example 07 18:11 Example 08 24:56 Conclusion

Optimal Wind Turbine Placement Using Particle Swarm Optimization

Image
Wind Turbine Optimal Positioning using Particle Swarm Optimization Algorithm Video Chapters: Introduction: 00:00 Wind Energy Projects Objectives: 01:15 Wind Turbine: 04:16 Wind Farm: 05:20 Jensen Wake Effect Model: 06:55 Wind Farm Layout: 09:05 3 Scenarios for Optimal Wind Turbine Positions: 12:02 Metaheuristics for Wind Energy Optimization: 13:54 Optimal Wind Turbine Placement Using Particle Swarm Optimization: 14:53 Optimization Process Flowchart: 20:08 Conclusion: 21:00

All Members-Based Optimizer (AMBO) || STEP-BY-STEP || ~xRay Pixy

Image
All Members-Based Optimizer (AMBO) Learn All Members-Based Optimizer Step-by-Step with Examples. Algorithm Type: Metaheuristic Optimization Technique Algorithm Main Idea: Make more use of the Population Matrix. Tested on Different Benchmark Test Functions. Algorithm Performance: Provide Better results in comparison with different metaheuristic optimization algorithms. Used for Solving Optimization Problems. ALGORITHM MAIN IDEA Make use of the Population Matrix and All Members can play role in Updating Algorithm Population. ALL MEMBERS-BASED OPTIMIZER STEPS STEP 01: Initialize Algorithm Important Parameters. STEP 02: Initialize Population Randomly in the Search Space. STEP 03: Evaluate Initial Population using the Fitness Function. STEP 04: Check While (Current Iteration < Maximum Iteration) Do STEP 05: Update Members Position and Best Member Position. STEP 06: Update Population Members using STAGE 01. STEP 07: Update Population Members using STAGE 02. STEP 08: Save Best Solut...

Elephant Herding Optimization Algorithm || STEP-BY-STEP || ~xRay Pixy

Image
Elephant Herding Optimization Algorithm Learn Elephant Herding Optimization Algorithm Step-By-Step with Examples. Elephant Herding Optimization Algorithm - Introduced in 2015 - Inspired by Elephant Herding Behavior. - Main Operator used: + Elephant Clan Updating Operator + Elephant Separating Operator - Used to Solve Optimization Problems.

TURTLE GRAPHICS USING PYTHON || Happy Birthday To You || 09 || ~xRay Pixy

Image
Python Turtle Graphics || Create a Happy Birthday Message to Someone Special || Feirnds || Family Members ||

Donkey and Smuggler Optimization Algorithm || STEP-BY-STEP || ~xRay Pixy

Image
Donkey and Smuggler Optimization Algorithm Learn Donkey and Smuggler Optimization Algorithm Step-By-Step with Examples Video Chapters: Introduction: 00:00 Donkey's Behavior: 02:02 Donkey Mode: 04:20 Donkey and Smuggler Optimization Algorithm: 06:49 Smuggler Mode: 08:02 Donkey and Smuggler Optimization Algorithm STEPS: 11:54 Donkey and Smuggler Optimization Algorithm FLOWCHART: 15:39 Conclusion: 16:24 About Donkey and Smuggler Optimization Algorithm: - Introduced in 2019 by Ahmed S Shamsaldin et. al. - Nature Inspired Population-Based Metaheuristic Optimization Algorithm. - Used to Solve Complex Optimization Problems. - Implemented to solve Real Life Optimization Problems such as Travelling Salesman Problem (TSP) Routing Problems     Ambulance Routing Donkey and Smuggler Optimization Algorithm MODES: Smuggler Mode [Non-Adaptive] Donkey Mode [Adapative] Donkey and Smuggler Optimization Algorithm STEPS: Initialize algorithm parameters i.e., Population Size, Dimensions...

TURTLE GRAPHICS USING PYTHON || Turtle Star || 08 || ~xRay Pixy

Image
TURTLE GRAPHICS USING PYTHON || Turtle Star || 08 ||  STEPS Python Turtle Graphics Design First Import Turtle Here, variable r is considered a Turtle. Set Turtle Speed. Set Line Width. Set Background Color as while.  Select Colors for the Design. Create a List of Colors. For Loop Initialization. Access Colors from the List inside Loop. Set Direction for Turtle. SOURCE CODE import turtle r = turtle.Turtle() r = turtle.Pen() r.speed(1000) r.width(2) turtle.bgcolor('white') c = ['blue','lime','red','black','gold','aqua','purple','silver'] for x in range (600):     r.pencolor(c[x%8])     r.forward(x)     r.right(160) r.done() OUTPUT

Python Turtle Graphics || STAR SPIRAL DESIGN 0 7|| ~xRay Pixy

Image
SOURCE CODE import turtle r = turtle.Turtle() r = turtle.Pen() r.width(4) r.speed(50) turtle.bgcolor('black') c = ['white','red','blue','orange'] for i in range (700):     r.pencolor(c[i%4])     r.left(i)     r.right(100) r.done()

Python Turtle Graphics || Flower Design 0 6|| ~xRay Pixy

Image
Python Turtle Graphics || Flower Design 0 6|| SOURCE CODE from turtle import Turtle r = Turtle() r.screen.bgcolor('black') color = ['red','lime','yellow'] r.screen.tracer(0,0) for x in range(150):     r.circle(x)     r.color(color[x%3])     r.left(60) r.screen.exitonclick() r.screen.mainloop() OUTPUT

Python Turtle Graphics || SPIRAL Design 05 || ~xRay Pixy

Image
Python Turtle Graphics || SPIRAL Design 05 ||  SOURCE CODE import turtle r = turtle.Turtle() s = turtle.Screen() s.bgcolor('white') r.width(2) r.speed(20) color = ('lime','aqua','red','indigo') for i in range (300):     r.pencolor(color[i%3])     r.forward(i*4)     r.right(121) OUTPUT

TURTLE GRAPHICS USING PYTHON || Turtle Star || 04 || ~xRay Pixy

Image
PYTHON TURTLE GRAPHICS || Turtle Star || SOURCE CODE from turtle import * color('blue','yellow') begin_fill() while True:     forward(300)     left(170)     if abs(pos())<1:         break end_fill() OUTPUT

TURTLE GRAPHICS USING PYTHON || CIRCLE PATTERN || ~xRay Pixy

Image
TURTLE GRAPHICS USING PYTHON SOURCE CODE import turtle as r r.title('CIRCLE PATTERN') r.speed(20) r.bgcolor('white') r.shape('circle') r.color('red') for i in range (0,360,10):     r.seth(i)     r.circle(125) r.done() OUTPUT

PYTHON TURTLE GRAPHICS DESIGNS || Geometric Art || ~xRay Pixy

Image
PYTHON TURTLE GRAPHICS DESIGNS SOURCE CODE FOR SPIRAL HEXAGON import turtle colors = ['red','yellow','blue','green','white','orange','silver','pink'] s = turtle.Pen() turtle.bgcolor('black') for i in range (250):     s.pencolor(colors [i % 6])     s.width(i/100 +1)     s.forward(i)     s.left(50) OUTPUT

Python Turtles Graphics | Source Code | ~xRay Pixy

Image
Python Turtles Graphics || Source Code || PYTHON TURTLE SOURCE CODE import turtle c = turtle.Turtle() c.color("blue") c.pensize(10) c.shape("turtle") c.backward(150) c.left(90) c.forward(150) c.right(90) c.forward(150) c.left(45) c.forward(40) c.right(67) c.backward(50) c.left(250) c.backward(60) c.left(180) c.forward(50) c.right(90) c.forward(100) c.down() c.forward(150) c.left(60) c.down() c.forward(40) c.down() c.right(60) c.forward(100) c.left(230) c.forward(200) c.up() c.right(52) c.forward(50) c.backward(200) c.left(20) c.forward(100) turtle.done()

Python For Beginners - Python Basics

Image
PYTHON FOR BEGINNERS # Variables: Used to hold Values x = 200 y = 2 z = x+y print(z) OUTPUT: 202 # Careating Strings in Python r = 'Create stings' print(r) d = 'Don\'t Give Up' print(d) OUTPUT   Create stings Don't Give Up #Hold Values in Strings val = 50 disp = 'My Value is %s' print(disp % val) OUTPUT:  My Value is 50 #placeholder different variables - replace stings msg = '%s: Python is good' msg2 = '%s: Yes' c1 = 'Roy' c2 = 'Jhon' print(msg % c1) print(msg2 % c2) OUTPUT   Roy: Python is good Jhon: Yes #Hold Multiple Values  Hold= 'Add %s and %s' num1 = 23 num2 = 65 print(Hold % (num1,num2)) OUTPUT:   Add 23 and 65 #String Multiplication print(3 * 'R') OUTPUT:  RRR #How to use Space/Tab Space = ' ' * 10 print('%s Hello' % Space) print() print('%s Life = Peace' % Space) OUTPUT  :             Hello            Life = Peace #Create a String List and access Values from it. Simple...

Archimedes Optimization Algorithm Step-by-Step ~xRay Pixy

Image
ARCHIMEDES OPTIMIZATION ALGORITHM VIDEO LINK: CLICK HERE... VIDEO CHAPTERS Introduction: 00:00 Archimedes Principle: 01:19 Archimedes Optimization Algorithm Idea: 07:07 Archimedes Optimization Algorithm Steps: 08:08 Archimedes Optimization Algorithm Mathematical Models: 11:32 Conclusion: 20 :12 Learn Archimedes Optimization Algorithm Step-by-Step with Example. Archimedes Optimization Algorithm Inspiration: Popular Physics Law (Archimedes Principle). - Used to Solve Complex Numerical Optimization Problems. - Used to solve Engineering Design Optimization Problems. Archimedes Principle : According to Archimedes Principle when a body is immersed wholly or partially in a fluid it loses its weight which is equal to the weight of the liquid displaced by the body. KEY TERMS Fluid: The Substance that flows under the action of applied forces. The fluid does not have its own shape. Pressure: It is a normal force acting on a unit surface area of the liquid. It is Force / Area. Density: Mas...
More posts