>> 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 …]
Can you guess the Largest Number at the end of the following series? 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, … , 100, 101, … 1000, …, 9999999, 10000000, 10000001, 10000002, 10000003, [Read More …]
Be the first to comment