Need help coding assignment

(a) Create a variable named theta. Assign an angle of pi/4 to it.
Prove the trigonometric identity sin^2(Theta)+cos^2(Theta)= 1
Here the (Theta) is the variable ‘theta’ you created.
(b) Convert theta into degrees and store in a new variable theta_d and then repeat (a) to prove the trigonometric identity again. (Do not use function deg2rad).

Answers (0)

This question is closed.

Asked:

on 29 Aug 2022

Closed:

on 29 Aug 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!