1
00:00:05,000 --> 00:00:06,000
Hello friends.

2
00:00:06,000 --> 00:00:15,000
Today we just discuss about different areas related to sphere or different formulas related to sphere.

3
00:00:15,000 --> 00:00:25,000
As you see over here, I have a sphere with radius R and the diameter D, So first we just go with the

4
00:00:25,000 --> 00:00:33,000
volume, the volume of the sphere as we know, four divided by Pi R Cube.

5
00:00:33,000 --> 00:00:44,000
Okay, so let's create the formula for the given case control D so I need one input variable that is

6
00:00:44,000 --> 00:00:47,000
R that is radius.

7
00:00:47,000 --> 00:00:52,000
So I just create four divided by three pi r cube.

8
00:00:53,000 --> 00:00:54,000
So I just need a divide.

9
00:00:54,000 --> 00:01:00,000
Function input four divided by three

10
00:01:05,000 --> 00:01:08,000
and I just need to multiply

11
00:01:10,000 --> 00:01:13,000
four divided by three pi constant.

12
00:01:13,000 --> 00:01:22,000
I need just connect this and over here r cube.

13
00:01:22,000 --> 00:01:35,000
So for the r cube I just need compound function because I need to create a cube over here.

14
00:01:35,000 --> 00:01:43,000
So r into r into r will give me it will give me the cube.

15
00:01:46,000 --> 00:01:55,000
As you see, you just multiply this and over here again you change the constant from multiply to the

16
00:01:55,000 --> 00:01:59,000
mode, from multiply to addition to multiply.

17
00:01:59,000 --> 00:02:04,000
And over here we got the volume of one sphere.

18
00:02:07,000 --> 00:02:11,000
Okay, so let's the radius is two.

19
00:02:12,000 --> 00:02:16,000
The volume of the sphere is 33.5103.

20
00:02:17,000 --> 00:02:25,000
Let's check for another formula as you see if you want to find out the surface area, it is four pi

21
00:02:25,000 --> 00:02:26,000
r square.

22
00:02:26,000 --> 00:02:28,000
Let's create this given formula.

23
00:02:29,000 --> 00:02:33,000
So four pi r square for that.

24
00:02:33,000 --> 00:02:37,000
I just go with the compound over here.

25
00:02:37,000 --> 00:02:40,000
I need r square function.

26
00:02:40,000 --> 00:02:44,000
So this is my input radius.

27
00:02:44,000 --> 00:02:46,000
It will give me r square.

28
00:02:47,000 --> 00:02:50,000
I need pi, I need four.

29
00:02:51,000 --> 00:02:54,000
So four is over here as you see.

30
00:02:54,000 --> 00:02:58,000
So control you will minimize the function.

31
00:02:58,000 --> 00:03:02,000
And over here I just create an indicator.

32
00:03:03,000 --> 00:03:05,000
This is my surface area

33
00:03:08,000 --> 00:03:09,000
of the sphere.

34
00:03:09,000 --> 00:03:12,000
So let's run it.

35
00:03:12,000 --> 00:03:24,000
So the surface area is 11.1416m square if the input radius is in meters and if you want to go with three,

36
00:03:24,000 --> 00:03:30,000
you can also in real time realize let's check.

37
00:03:30,000 --> 00:03:34,000
So this is how you can check for different values.

38
00:03:34,000 --> 00:03:37,000
You can also go with floating values.

39
00:03:37,000 --> 00:03:41,000
Let's say it is 2.5.

40
00:03:41,000 --> 00:03:46,000
Okay, so this is how you can create your own formulas in labview.

41
00:03:47,000 --> 00:03:48,000
Thank you.

