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

Virtualization in Cloud Computing

What is Virtualization? Virtual means not physically existing [made by software to appear]. Virtualization means the creation of a virtual version of something. What is Hypervisor? Hypervisor = Program for creating and running virtual machines. Hypervisor are used to control and monitor processes, memory, and other hardware resources.   How Virtualization works? Virtualization in cloud computing is a process in which users share data present in the cloud. Virtualization provides a virtual environment to users [virtual hardware, virtual software]. A hypervisor [virtual machine monitor – software that creates and maintains virtual machines] is connectivity between the server and the virtual environment. Hypervisor distributes the resources between different virtual environments. Popular hypervisors such as VMware’s vSphere, based on ESXi, and Microsoft’s Hyper-V. How Hypervisor works? A Hypervisor or VMM(virtual machine monitor) is a layer that exits between the operating system...

Line Drawing Algorithm

Image
 Line Drawing Algorithm We can specify points with an ordered pair of numbers ( x, y). Where, x = horizontal distance from the origin.      y = vertical distance from the origin.  Suppose 2 endpoints used to specify line at position (x1, y1) and (x2, y2). Line path between endpoints positions (x1, y1) and (x2, y2). The equation for straight line is given by: y = m . c + b Here, m = slope of the line            b  as y-intercept The first endpoint of the line as (x1, y1) The second endpoint of the line (x2, y2) We can calculate values for the slope m and y-intercept b with this equation: 𝑚=(𝑦2−𝑦1)/(𝑥2−𝑥1) b = y1 – m * x1. For any given x interval ∆x along a line. We can compute the corresponding y interval as ∆y as ∆y =m * ∆x  We can obtain x interval ∆x by ∆y.  ∆x = ∆y / m  DDA Algorithm Step 1. Input two Endpoints (x1, y1) and (x2, y2). Step 2: Calculate the difference between two endpoints....
More posts