Question: ### 2 . Pythagorean Theorem The Pythagorean theorem says that the length $C$ of a hypotenuse of a right - triangle can be calculated the

### 2. Pythagorean Theorem
The Pythagorean theorem says that the length $C$ of a hypotenuse of a right-triangle can be calculated the lengths $A$ and $B$ of the other two sides, using the Pythagorean theorem - equation (1).
$$
C^2= A^2+ B^2\:\;\:\:\:\: (1)
$$
Here are requirements for the function m-file.
- Parameter lists (inputs): Lengths $C$ and $A$
- Return value (outputs): Length $B$ from the equation (1)
- Function name: **Pythagorean_yourEmailAccount**
Using a script m-file which will call the *Pythagorean* function, save outputs with following given inputs.
- If the given inputs are $C =13$ and $A =5$, find the outputs of your **Pythagorean_yourEmailAccount** function. Then save the return values on ***EX1_6.dat***.
- If the given inputs are $C =15$ and $A =10$, find the outputs of your **Pythagorean_yourEmailAccount** function. Then save the return values on ***EX1_7.dat***.
- If the given inputs are $C =12$ and $A =5$, find the outputs of your **Pythagorean_yourEmailAccount** function. Then save the return values on ***EX1_8.dat***.
- If the given inputs are $C =5$ and $A =2$, find the outputs of your **Pythagorean_yourEmailAccount** function. Then save the return values on ***EX1_9.dat***.
- If the given inputs are $C =6$ and $A =4$, find the outputs of your **Pythagorean_yourEmailAccount** function. Then save the return values on ***EX1_10.dat***.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!