Question

3. Create a script. Save your script to your desktop. Complete the following: a) Write your name and section number on separa

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

Here is a script in MATLAB:

x = [1.2 -3.9 5];
y = [2.3 7.5 4];

x = x + pi
y = y + exp(1)

a = cos(x)
b = cotd(y)
c = atan(a)
d = asind(b)

z = transpose(x)*y;
z(3)(1)

Add a comment
Know the answer?
Add Answer to:
3. Create a script. Save your script to your desktop. Complete the following: a) Write your name and section number on separate lines; use separate comments to accomplish this 1.2 2.3 b) Define a var...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please show matlab editor and command window B. (4 pts) Use the : operator to create...

    Please show matlab editor and command window B. (4 pts) Use the : operator to create the vectors x [2.5,1.50.5,-0.5,-1.51 and y [0.4,0.8,1.2,1.6,2], then use them in the following expression to compute vector z using element-by-element calculations C. (8 pts) A 70 lb bag of rice is being pulled by applying a force F at an angle θ as shown. The force required to drag the bag is given by: θ μ sin θ + cos θ Where u-0.35 is...

  • For this project, each part will be in its oun matlab script. You will be uploading a total 3 m f...

    For this project, each part will be in its oun matlab script. You will be uploading a total 3 m files. Be sure to make your variable names descriptive, and add comments regularly to describe what your code is doing and hou your code aligns with the assignment 1 Iterative Methods: Conjugate Gradient In most software applications, row reduction is rarely used to solve a linear system Ar-b instead, an iterative algorithm like the one presented below is used. 1.1...

  • Part 1: Using Idle Write a Python Script that Does the Following 1. At the top...

    Part 1: Using Idle Write a Python Script that Does the Following 1. At the top of your program, import the math library as in from math import * to make the functions in the math module available. Create a variable and assign into it a constant positive integer number of your choice. The number should be at most 10. 1 Suppose we call this variable x for this writeup document Try something like x = 4 2. Create another...

  • Perform the following tasks/questions in separate MATLAB cells (label cells as task/question numbers). Note the first cell (unnumbered) should be your Name, section number and the version of this Assi...

    Perform the following tasks/questions in separate MATLAB cells (label cells as task/question numbers). Note the first cell (unnumbered) should be your Name, section number and the version of this Assignment. Tasks follow: Perform the following tasks/questions in separate MATLAB cells (label cells as task/question numbers). Note the first cell (unnumbered) should be your Name, section number and the version of this Assignment. Tasks follow: Consider the following system of linear equations: -3x, +x2 4x32 2x1 - 3xz 4x34 which could...

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