Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Matlab and GUI function Define a variable named angle to be 45 degree. Convert angle to radians using the following: Radians = degrees *

Using Matlab and GUI function

image text in transcribed

Define a variable named "angle" to be 45 degree. Convert "angle" to radians using the following: Radians = degrees * (pi/180) Store the result in the variable "angleRad". Use the predefined variable "pi" in your calculation. Repeat the calculation for angle = 60 degree, 75 degree, and 90 degree. Using the "angleRad" you defined in problem 1, find the cosine and sine of "angle". Show the results in variables "cosAngle" and "sinAngle", respectively. Using variables "cosAngle" and "sinAngle", define the following: z = cos^2 (alpha) + sin^2 (alpha) A well-known identity in trigonometry is that the sum of cosine squared and sine squared of an angle always equals one. If your result for z was not one, review and redo the operations. Test your code for alpha = 45 degree, 60 degree, 75 degree, and 90 degree

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago

Question

1. Communicating courses and programs to employees.

Answered: 1 week ago

Question

6. Testing equipment that will be used in instruction.

Answered: 1 week ago