Anúncio
Próximos SlideShares
Matlab-free course by Mohd Esa
Carregando em ... 3
1 de 1
Anúncio

### For the following assignment use these values for the coordinates for.pdf

1. For the following assignment use these values for the coordinates for points A,B, and C : n9.11,6.48B=5.39;2.67c=1.25,8.99 Following is the framework, function call-statements, and comments for a script that is to call the 3 taser defined functions you have written, and then ran the script. 7. Thia serspt is co ga1i 3 separate funosions to give infornation. 3 about a criangle formed by pointa k, B, and E estabilohed ly theiz x 3 and y coordinateat. T The cirat function ia called "Iaput tr fabqle polntam, Tand Its * purpoae 1 ec allow che uret to entet trob the keybots the x and y t. Lunction ia a s iollosat Ianction [Ax,Ay,Bx,By,Cx,Cy] - Input_Triangle_Points( ) 3. The nexe functaok is dazied "hndea", and les t purpose sa ro find che ningles h, 9 , and c of the eriangle 1 derined by those rolues. frot the points gated in the above 3. funce1on. ci3s The ca1h atatement for than cusetien is aa tollowa: funceion [A,B,C]=Ang1s(Ax,Ay,Bx,By,Cx,Cy) The next ranction ia called "Irzoting Reauica" And les purpose in to use tormatted gotttitf itatements to dispioy th the conmand vindow the values for the oaordamateb had che dorreaponding angrea 7. for she triangle. .9 the da.i ptatement to tio appear as foriows: function 11 - Printing_Results( Ax, Ay, Bx, By, Cx, Cy, A, B, C ) end The output from the function "Printing Results" should appear in the spacing as follows: 1234567890123456789012345678901234567890AngleA=XX.XXdegreesAngleB=XXX.XXdeg reesAngleC=XXX.XXdegrees
Anúncio