Engineering Blog

Learn it. Build it. Simulate it.

2,781 step-by-step tutorials and projects on Arduino, ESP32, Raspberry Pi and Proteus.

2781 articles found.

Special Matrix Commands in MATLAB

Special Commands and Matrices in MATLAB, matrix commands in matlab, matlab matrix command, matrix command matlab

Hello learners. Welcome to The Engineering Projects. We all know that matrices have been used in the engineering field for a long time, and they have a vital role in the calculation of different data. Therefore, we are learning about some very special kinds of matrices that are usually introduced to engineers at a higher level. Till now, we have seen some general operations on matrices and also examined the special kinds of matrices. Yet, today, we are moving a step forward and learning about some complex types of matrices that require strong basic concepts. So, have a glimpse at the topics that you are going to learn, and then, we’ll start practicing. First of all, it is recommended to learn about the introduction of the matrix. A matrix has different elements in it with different sequences, and we define it as: “A matrix is a rectangular array in which different types of elements in the different sequences are present, and all the elements are enclosed in a long bracket that is usually a square bracket.” The sequence and the values of the matrices are important, and the collection of horizontal lines is called a row. On the other hand, the vertical entries are collectively called columns. To find the difference in the types of matrices, it is important to know that the basic kinds of matrices are square matrix and rectangular matrix. Most of the matrices that we are going to discuss here will be square matrices. Depending upon different parameters in matrices, these are ...

Special Types of Matrices in MATLAB

matrices in matlab, special matrix matlab, matlab matrix, matrix in matlab, matrix matlab

Hey students welcome to another tutorial in The Engineering Projects where we are going to learn a lot about matrices. If you are a beginner to the metrics, then you should go to learn the fundamentals of matrices. Yet, if you know the basic introduction, you are at the right lecture because we are learning about the special kinds of matrices and you are also going to see the matrices in action using MATLAB. So, here is a simple list of today’s topics. A matrix is a type of array that stores data of the same kind. It has great importance in the world of technology and it is defined as: "A matrix takes the form of an ordered rectangular array surrounded by a square bracket and has entries of the same kind in the form of real or complex data." To perform different operations on the matrices, you just have to apply them to the whole matrix at once; there is no need to apply them to all the entries one after the other. This will make sense when you see the matrices in action. Till now, we have learned about the basic introduction of the following types of matrices: These are the basic types irrespective of the elements or entries present in them, and now, we are going to discuss some types that have the features of these matrices but the entries in them are in a specific pattern, so they are considered the special kinds of matrices. Before going into the details of each of them, there must be the foundation of a concept of a general form of the matrix. To examine the location of ...

The Reynolds Transport Theorem

The Reynolds Transport Theorem, The Reynolds Transport Theorem in fluid mechanics, fluid mechanics

Before starting this important topic there are some of the important terminologies related to the theorem that are frequently used throughout. So let us have a look at them. Some important key points related to the system are as follows: Some important key points related to the control volume are as follows: The important key points related to Reynold’s Transport Theorem are as follows: Let us start the theorem with a background of it: b= B/m Bsys,t=BCV,t Bsys,t+∆t=BCV,t+∆t - BI,t+∆t+BII,t+∆t dBsysdt=dBCVdt-Bin+Bout Bin= b11V1A1 Bout= b22V2A2 BI, t+∆t = b11V1∆tA1 BII, t+∆t=b22V2∆tA2 Bin=BI=b11V1A1( after taking limit) Bout=BII=b22V2A2 (after taking the limit) Bnet=Bout-Bin=∫CS ρbV.n dA (inflow is negative) BCV=∫CV ρb dV dBCVdt= d/dt∫CV ρb dV dBCVdt= ddt∫CV ρb dV +∫CS ρbV.n dA So that is the explanation related to Reynold’s Transport Theorem. I hope you have learned a lot through this article. Thank you for reading.

Fundamentals of Fluid Flow Visualization

Fundamentals of Fluid Flow Visualization, Fluid Flow Visualization, fluid flow, how fluid flow works, fluid behavior

Flow visualization widely uses Computational Fluid Dynamics (CFD) and physical experiments. So following are the types of patterns that can be visualized computationally and experimentally. So without wasting any time, let us start. There are two patterns. I will first explain the streamlines. So the definition of streamlines is as follows: A streamline is a curve that is tangent everywhere to the instantaneous local velocity vector. You might not understand the definition by reading it, so just for your ease, let me explain to you in few key points: dr=dxi+dyj +dzk V=ui+vj +wk drV=dxu=dyv=dzw (dydx)along astreamline=vu Now I will give a brief explanation about the Streamtubes. So the definition of Streamtubes is as follows: A Streamtubes is a bundle of streamlines similar to the communication cable with optic fibre cables. You might not understand the definition by reading it, so just for your ease, let me explain to you in few key points: The definition of Pathlines is as follows: A Pathline is an actual path travelled by an individual particle (obviously a fluid particle) at some time period. The following are some essential key points related to the pathlines: x=xstart+tstarttV dt The definition of a streakline is as follows: A streakline is the locus of fluid particles passed sequentially through the flow’s specific (prescribed) point. The following are some important key points related to the streaklines: x=xinjection+tinjecttpresentV dt The definition of timelines is ...

What is Fluid Kinematics?

Fluid Kinematics, Kinematics in fluid, basics of fluid kinematics, fluid kinematics intro

Hello friend. In this article, I will cover essential points related to fluid kinematics, i.e., what fluid kinematics is and how the motion of the fluids can be explained without describing the forces acting on them. Further, I will explain Lagrangian and Euler about the motion of fluid and a lot more. So buckle up, and let’s start. The definition of fluid kinematics is as follows: Fluid kinematics is related to fluid motion without considering the forces responsible for the motion. The following are some essential key points related to fluid kinematics: First of all, I will explain the Lagrangian. So the definition of Lagrangian is as follows: Lagrangian Description of fluid flow deals with individual particles and their nature, and the working trajectory of each particle is calculated separately. And the definition of Euler is as follows: Euler’s Description of fluid flow deals with the concentration of the particles, and the number of particles and diffusion are all calculated. The following are some essential key points related to the Lagrangian Description: The following are some essential key points related to the Euler Description: P = P (x, y, z, t) V=V(x, y, z, t) a= a (x, y, z, t) V=(u, v, w) V=ux,y,z,ti +vx,y, z, tj +w(x, y,z,t)k I will explain it through a simple example to depict the Lagrangian and Euler description. The applications of fluid Kinematics are as follows: So that are the applications of fluid kinematics in our daily life. Dear friends, I will ...

What is Fluid Statics?

Fluid Statics, Statics in fluid, basics of fluid Statics, fluid Statics intro

As I have discussed the pressure now I will explain fluid mechanics. The definition of fluid mechanics is as follows: Fluid mechanics deals with the properties and characteristics of fluid at rest. Some of the important key points related to the fluid statics are as follows: That is a brief introduction to fluid statics further I will explain the forces that are acting on submerged and floating bodies. So without wasting any time let us start. The structure of the surface and the forces that are acting on the surface is explained as follows: The working principle along with all the equations that are acting on the surface are explained as follows: P=P0+ρgh P=P0+ρg ysinθ (equation 1) FR=∫APdA FR=∫A(P=P0+ρg ysinθ) dA FR=P=P0A+ρg sinθ∫AydA yc=1A∫AydA By substituting the value, we get the final result: FR=P0A+ρgyc sinθA FR=P0+ρghcA FR=PcA FR=PavgA The final result will be stated theoretically: The final resultant force is equal to the pressure at the centroid surface and the area. The structure of the surface and the forces that are acting on the surface is explained as follows: The working principle along with all the equations that are acting on the surface are explained as follows: W=ρgυ FH=FX FV=Fy+W The final result will be: I hope you enjoyed reading the article and have an extensive overview of the pressure and fluid statics. Thanks for reading.

What is Pressure in Fluid Mechanics?

What is pressure, how pressure works, pressure in fluid mechanics, pressure on fluids, pressure formula

The article will cover essential aspects of fluid statics and pressure forces applied to the fluid. The article will start with the absolute pressure gauge and the variation of pressure with depth in different gravitational field manometers and barometers, respectively. Then I will explain the forces that deal with fluids, such as hydrostatic force, buoyant force, etc. So, dear friends, without wasting any time, let’s start. The definition of pressure according to fluid mechanics is as follows: Pressure is the normal force applied by a fluid per unit area. =0.9807bar =0.9679 atm All three of these pressures are interrelated with each. Other, and this is visible with the formulae as mentioned below: Pvac=Patm-Pabs Pgage=Patm-Pabs The following diagram shows the relation of the pressures from the below-mentioned diagram: We all know there is no fluid pressure change at rest and in the horizontal position. This phenomenon can further be elaborate on a few points: ∑Fz=maz=0 P2△x-P1△x-ρg△x△z=0 △P=P2-P1=ρg△z=sz As pressure is a scalar quantity, sometimes it seems to be vector one. The pressure will be the same in any fluid at any point. To prove this point, let us discuss a scenario. ∑Fx=max=0 P1△z-P3Isinθ = 0 (1) ∑Fz=maz=0 P2△x-P3Icosθ-12ρg△x△z = 0 (2) W=mg W=ρg△x△z/2 x = I cos θ △z=I sinθ P1-P3= 0 (3) P2-P3-12ρg△z=0 (4) P1=P2=P3=P Numerous devices are used to measure fluid pressure and work on different principles. These devices are explained below briefly. The definition of a ...

Properties of Fluid

Fluid Properties, properties of fluid, fluid behavior, fluid characteristics

In the introduction, I will extensively explain the property r and how to impact them are so. Let us start. Then I explain properties that are related to fluid flow. First of all, I will start with the word Property. The definition of property is as follows: The word property is defined as any characteristic of the system. There are two main types of the property named intensive and extensive. Example The examples of property are as follows Following is a brief explanation of the types of properties. The intensive properties are the ones that are independent of mass, temperature, density, and pressure. Therefore, they are presented in lowercase letters. But here stands an exceptional case, i.e., the temperature and pressure are only denoted with uppercase letters. The examples of intensive property are as follows: The extensive property is the ones that depend on the size or extent of the system. They are presented by the uppercase letter, but here is an exceptional case for the mass presented by a lowercase letter. Extensive properties are usually derived, so the following are some examples. e= E/m v=V/m The specific property is the ones that depend on that are derived from either extensive or intensive ones. One of the simple examples of a specific property is the density of water; as we know, it is an intensive property. So the extensive property (derived ones) is the mass of water volume divided by the volume. Here both the mass of water and volume are extensive ...

Run Xbox Cloud Gaming on Raspberry Pi 4

Run Xbox Cloud Gaming in pi 4, XBox Cloud Gaming RPi4, XBox Cloud Gaming in Raspberry Pi 4, Raspberry Pi 4 Gaming, Raspberry Pi 4 XBox

Greetings, and welcome to the next section of our Raspberry Pi 4 tutorials. In the last section, we discovered how to set up and run our self-host bitwarden on our Raspberry Pi. We learned how to set up admin panels and perform a wide range of actions, such as limiting the creation of new accounts and users for security purposes. However, in this guide, we will discover how to configure a PS3 or PS4 joystick with our raspberry pi and set up and run Xbox cloud gaming on our Pi 4. Through a service called Xbox Cloud Gaming, users may play a wide variety of games without having to download any software onto their devices. Here, we'll use Microsoft's Xbox Internet Gaming service to transmit these programs to your Pi 4. A membership to Xbox Gaming Pass Ultimate is required to use this feature. Xbox Gaming Pass is required for this streaming service, but the subscription unlocks a wealth of video game apps. Incorporating Xbox internet Game streaming on Pi 4 is a breeze with the help of the Chromium internet browser. Remember that there will be some delay in responding to your inputs, but don't let that deter you from playing most games. As a bonus, this guide will show you how to convert your Raspberry Pi running the "light" version of the Xbox One operating system into a dedicated cloud gaming computer for the Xbox One. Regarding game streaming services, Xbox internet Gaming isn't the only option for your Pi 4. Games can also be streamed to your Pi 4 using Google's Stadia program. ...

Basic Operations on Matrices in MATLAB

basic operations on matrix in matlab, addition in matrix, matrix subtraction matlab, matric multiplication matlab

Hey peeps, welcome to The Engineering Projects. We are talking about matrices, and if you want to learn them from scratch, you must go to the introduction to matrices in MATLAB. Today, we are learning how to perform different arithmetic operations on matrices. You will also see some interesting commands that are only applicable to the matrices. Here, it is important to notice that in MATLAB, the matrices are performed in the command window and there is no need to have the programming skills to perform them. Even if you are new to programming, you can easily perform the operations in MATLAB. We’ll discuss different basic operations on the matrices and will also perform each of them in MATLAB. Most of them are urinary operations and some of them are binary. Here is a small glimpse of today’s topics: We all know what matrices are matrices. Yet, it is important to learn the basic definition of the matrices because this will create a map of how the basic operations on the matrices are performed. So, a matrix is defined as: “A matrix is a two-dimensional array with entries of the same kind in the form of real or complex data, and it takes the shape of an ordered rectangular array surrounded by a square bracket.” The thing to notice here is, that the data present in the matrices are of the same kind and therefore, we can perform a simple operation on each of the entries by simply applying it at once to the whole matrix. Now, have a look at the basic operations on the matrices. There ...