Hello, friends.
Today we discuss about different formulas related to Cone.
As you see over here, I have a cone.
In this case, the height of the cone is small edge radius is smaller and the slant height is l.
So I just take different input variables.
So input is R, second input is H and the third input is slant height.
That is L.
You also create this slant height all using different formulas.
Okay, so let's remove this.
We just create this using formulas.
So input is R and h only.
Okay.
So for the volume we have a formula pi r square h divided by three.
Okay.
So I just go to the compound function pi r square h.
So go to the mathematic function pi.
I got the pi for r square.
I need to square of radius into h pi r square h divided by three.
I need to divide this function, divide by three.
Create a constant that is three and the indicator will indicate the volume.
Okay, so I got the volume of this given
cone.
Let's say radius is three and the height is five.
In that case I got 5.71.
Okay.
So next in this case, I just need to find out the slant height.
We know that the height to find out the slant height, the formula is r square plus H square square
root.
So for that purpose, I need square of H.
It will give me the square of H.
I need to add these functions
over here.
I got the R square and this is my h square.
I need the square root of this given function
over here.
This is the square root.
And I got the slant height over here.
Or you can just put small l over here.
So this is my slant height for the given case.
Let's say just put three into three is nine, five into five is 25.
Let's check what is the slant height.
It is 5.8.
Okay.
In this case, or let's say it is four, as you see three, four, five combination is there in Pythagoras.
So I got five as a slant height over here.
So my formula is okay, code is running properly.
So now next formula is to find out the surface area.
So the surface area is pi r into r plus h square plus r square square root.
So in this given case, I already created this formula square root of x square plus r square.
I just need to add R into it.
So this is my r square plus h square.
Whole square root.
I need to add R into it.
So this is my this inside one function r plus square root of x square plus r square.
Now I need to multiply it with pi r so for that purpose I just take compound function.
So this function is multiplied with pi into r.
So this is my r over here.
I just change the mode to multiply and over here it will give me the final.
Output.
That is my right circular cone surface area.
This is my surface area.
Okay.
So you can run it and you just find out the surface area.
Okay, so let's check for the another formula.
So if you want to find out lateral surface, as you see, the lateral surface is denoted by L over here
and it is pi r into S square plus r square.
So as we already know that this is my s square r square square root, so I need to multiply it with
pi into r so this is my input pi into r, so over here this will give me the lateral surface.
Just run it.
So over here, this is the lateral surface.
So this is how you can find out different formulas or different area volume, lateral surface, slant,
height of the given cone.
In LabVIEW.