>> sin(30) % sine of argument in radians
ans =
-0.9880
>> sin(pi/6)
ans =
0.5000
Sine of argument in degrees
>> sind(30) % sine of argument in degrees
ans =
0.5000
Inverse Sine
>> %Inverse Sine (to get answer in radians)
>> asin(0.5)
ans =
0.5236 %Answer in Radians
>> % To convert the previous answer from radians to degrees
>> rad2deg(ans)
ans =
30.0000
>> %Inverse Sine (to get answer in degrees)
>> asind(0.5)
ans =
30.0000
Sine Hyperbolic and Inverse Hyperbolic Functions
>> % Sine Hyperbolic Function (argument in radians)
>> sinh(pi/6)
ans =
0.5479
>> % Sine Inverse Hyperbolic Function (argument in radians)
>> asinh(ans)
ans =
0.5236
Cosine and Tangent Functions
>> cos(pi/6)
ans =
0.8660
>> tan(pi/6)
ans =
0.5774
What is PI ? March 14th is celebrated as the “PI” (π) day! As we know, π (PI ) is a mathematical constant, having an approximate value of 3.14159 … The first three significant digits [Read More …]
Unit-1 What is MATLAB? – An Introduction MATLAB: Stands for matrix laboratory Is a high-performance language for technical computing Is a development environment for managing code, files, and data Consists of Mathematical functions for linear [Read More …]
X to the Power 0 We know that any number x raised to the power 0 is equal to 1 always. Where, the number x is not equal to 0. Why is x to the [Read More …]
Be the first to comment