Karthikeya Boyini has Published 2193 Articles

exp() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:48:06

97 Views

The exp() function Returns ex. This is e raised to the power x.Here, 'e' is 2.718282 x is the powerSyntaxexp(x)Parametersx = The exponentReturnThe exp() function Returns e raised to the power of x, which is a float value.Example Live DemoOutput12.718281828459Let us see another example −Example Live DemoOutput7.3890560989307148.41315910258485165195.40979Read More

floor() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:47:17

175 Views

The ceil() function rounds a number down to the nearest integer.Syntaxfloor(num)Parametersnum − The number to round upReturnThe floor() function Returns the value rounded up to the nearest (down) integer.Example Live DemoOutput0 0Let us see another example −Example Live DemoOutput9Let us see another example −Example Live DemoOutput7 -5Read More

hexdec() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:46:17

123 Views

The hexdec() function converts hexadecimal number to decimal number.Syntaxhexdec(val)Parametersval − The hexadecimal to be converted.ReturnThe hexdec() function Returns the decimal value of val, which is hexadecimal.Example Live DemoOutput1314735

is_finite() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:45:33

61 Views

The is_finite() function checks if a value is finite or not. It Returns true if num is a finite number, else it Returns false.Syntaxis_finite(num)Parametersnum − The number to be checked.ReturnThe is_finite() function Returns true if num is a finite number, else it Returns false.Example Live DemoOutput1Let us see another example −Example Live ... Read More

atan() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:43:59

120 Views

The atan() function return the arc tangent of a number. It returns a float, which is a numeric value between -Pi/2 and Pi/2 radians.Syntaxatan(val)Parametersval − The value for which you want to get the arc tangent.ReturnThe atan() function returns the arc tangent of a number.Example Live DemoOutput1.5208379310731.10714871779410.54041950027058-0.54041950027058Read More

bindec() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:42:52

122 Views

The bindec() function convert a binary number to decimal number.Syntaxbindec(bin_str)Parametersbin_str − The binary string to convertReturnThe bindec() function returns decimal value of the specified string bin_strExample Live DemoOutputThe output displays that the bindec() function returns a decimal value:13

acos() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:37:44

231 Views

The acos() function returns the arc cosine of a number. It specifies a number in the range -1 to 1. Returns NaN, if num is not in the range -1 to 1.Syntaxacos(num)Parametersnum − The number for which you want to return the arc cosine. A number in range -1 to ... Read More

asin() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:36:44

144 Views

The asin() function returns the arc sine of a number. It specifies a number in the range -1 to 1. Returns NaN, if num is not in the range -1 to 1.Syntaxasin(num)Parametersnum − The number for which you want to return the arc sine. Specifies a number in range -1 ... Read More

When to use references vs. pointers in C/C++

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:35:51

530 Views

Reference variableReference variable is an alternate name of already existed variable. It cannot be changed to refer another variable and should be initialized at the time of declaration. It cannot be NULL. The operator ‘&’ is used to declare a reference variable.The following is the syntax of reference variable.datatype variable_name; ... Read More

A single neuron neural network in Python

karthikeya Boyini

karthikeya Boyini

Updated on 26-Jun-2020 09:35:04

824 Views

Neural networks are very important core of deep learning; it has many practical applications in many different areas. Now a days these networks are used for image classification, speech recognition, object detection etc.Let’s do understand what is this and how does it work?This network has different components. They are as ... Read More

Advertisements