blob: 583bcd87ee642ac3547c5a1928109cf9fce7679f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
///Example 5.3 Page No:88
///Find Height required to setup of bar
//Input data
clc;
clear;
//Import maths
L=100; //Height of sine bar
theta=12.8 //angle in degree minut
//Z=sin(theta)=0.22154849
Z=0.22154849
///Calculation
b=Z*L; //Height required to setup in mm
///Output
printf('Height required= %f mm \n',b);
|