Question

MATLAB questionTriangle Calculations (script with two anon functions) 0 solutions submitted (max: Unlimited) Consider a general triangle wit

0 0
Add a comment Improve this question Transcribed image text
✔ Recommended Answer
Answer #1

anonymous function matlab

============================================================================================

ThirdSide = @(a,b,angleC) sqrt(a^2+b^2-2*a*b*cosd(angleC))

TriangleArea = @(a,b,angleC) (a*b*sind(angleC))/2

ThirdSide(5,8,50)

TriangleArea(5,8,50)

============================================================================================

Output

MATLAB R2018a 0 Leg n Anstyze Code Prefcrencss Communty New Variable Find Fies M Run and Time → Request Support Open Varisbls

Add a comment
Know the answer?
Add Answer to:
MATLAB question Triangle Calculations (script with two anon functions) 0 solutions submitted (max: Unlimited) Consider a general triangle with side lengths a, b, and c and angles A, B, and C as shown...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT