Akhil Sharma has Published 671 Articles

Haskell Program to extract the last two digits from the given year

Akhil Sharma

Akhil Sharma

Updated on 23-Jan-2023 11:16:52

293 Views

This tutorial will help us in extracting the last two digits from the given year. The year value is passed as an argument to the function defined and then the last two digits are extracted by using various methods in Haskell. And the final output is displayed. For example, For ... Read More

Haskell Program to read coordinate points and determine its quadrant

Akhil Sharma

Akhil Sharma

Updated on 23-Jan-2023 11:14:11

150 Views

This tutorial will help us in reading the x and y coordinates and determine its quadrant. If both the coordinates are positive, the point lies in first quadrant; if x coordinate is positive and y coordinate is negative, the point lies in fourth quadrant ; if x coordinate is negative ... Read More

Haskell Program to calculate the volume and area of Sphere

Akhil Sharma

Akhil Sharma

Updated on 23-Jan-2023 11:12:16

132 Views

This tutorial will help us in calculating the volume and area of Sphere. The volume of a sphere is a measure of the amount of space inside the sphere. And area involves the surface area of the sphere. Method 1: Using the User-defined Function In this method, we will see ... Read More

Haskell Program to calculate the volume and area of Cone

Akhil Sharma

Akhil Sharma

Updated on 23-Jan-2023 11:10:26

139 Views

This tutorial will help us in calculating the volume and area of the Cone. The volume of a cone is a measure of the amount of space inside the cone. And area involves the surface area of the cone that is obtained from the lateral area of a cone. The ... Read More

Haskell Program to calculate the volume, diagonal, and area of Cuboids

Akhil Sharma

Akhil Sharma

Updated on 23-Jan-2023 11:08:10

134 Views

This tutorial will help us in calculating the volume, diagonal, and area of the Cuboids. The volume of a cuboid is a measure of the amount of space inside the cuboid. And area involves the surface area of the cuboid. The diagonal of a cuboid is a line segment connecting ... Read More

Haskell Program to calculate the volume and area of the Cylinder

Akhil Sharma

Akhil Sharma

Updated on 23-Jan-2023 10:28:46

178 Views

This tutorial will help us in calculating the volume and area of the Cylinder. The volume of a cylinder is a measure of the amount of space inside the cylinder. The area involves the surface area of the cylinder. The formula for the volume of a cylinder is the product ... Read More

Haskell Program to find the arctangent of the given value

Akhil Sharma

Akhil Sharma

Updated on 20-Jan-2023 10:41:38

228 Views

This tutorial will help us in finding the arctangent of the given value. The arctangent is the inverse function of the tangent. The tangent of an angle is defined as the ratio of the length of the side opposite the angle to the length of the side adjacent to the ... Read More

Haskell Program to find the arccosine of the given value

Akhil Sharma

Akhil Sharma

Updated on 20-Jan-2023 10:41:05

97 Views

This tutorial will help us in finding arccosine of the given value. The arccosine is the inverse function of the cosine. If given a value between -1 and 1, it returns the angle (in radians) whose cosine is equal to that value. For example, the cosine of pi/3 radians ... Read More

Haskell Program to find the arcsine of the given value

Akhil Sharma

Akhil Sharma

Updated on 20-Jan-2023 10:39:48

95 Views

This tutorial will help us in finding the arcsine of the given value. The arcsine is the inverse function of the sine. It takes the output value of the sine function, and returns the input angle that would produce that output value. The arcsine function is useful in trigonometry and ... Read More

Haskell Program to find the hyperbolic arccosine of the given value

Akhil Sharma

Akhil Sharma

Updated on 20-Jan-2023 10:38:18

86 Views

This article will help us in finding hyperbolic arccosine of the given value. The hyperbolic arccosine, also known as the inverse hyperbolic cosine, is the inverse function of the hyperbolic cosine. It is defined as acosh(x) = log(x + sqrt(x^2 - 1)) for x > 1, where log is the ... Read More

Advertisements