MATLAB Code :-
---------------------
p1result = ((tan(11*pi/4))^2)/((1/2)*sin(19*pi/6)+9.5) - (cos(3*pi/13))^3
--------------------
OUTPUT :-
--------------
p1result =
-0.3113
solve it by using MATLAB Question 1) (2.5 points) Compute the following (values are in radians),...
solve it by using matlab
Question 2) (2.5 points) Examine the following trigonometric identity: sin'(x) = (3 sin(a) – sin(3.c)) Verify that this identity is valid. To do so, define a variable x as x = 84 (in degrees!). Compute the left and right sides of the identity and assign them to variables p2left and p2right. Because x is in degrees, make sure you are using the correct trig function! Use the help function if you are unsure. Question 1)...
solve it by using matlab
Question 4) (2.5 points) Examine the following formula: (x + 4)(:23 9) x2 + 11 Calculate the value of y for whole number values of x between 1 and 10 (inclusive) using element-by-element operations. Store the resulting vector in a variable called p10result.
Using matlab...
Calculating with vectors. Compute the following values. The value of N will be randomized at each submission and will be created by the auto grader. Do not modify the given value of N. Note: N will be a positive integer 2 1. o Compute the mathematical expression below and store the result in the variable named x. Your code should work for any positive integer N given. 2N 1 1 2 3 4 o Hint: Create a numerator...
Compute the following problems using Math
Lab.
Instructions: Answer All Questions using MATLAB commands. Question 1. Create a vector of the even whole numbers between 31 and 75. Question 2. Let x [2516] a. Add 16 to each element b. Add 3 to just the odd-index elcments c. Compute the square root of each element d. Compute the square of each element Question 3. Let x 13 268T and y [4 1 3 5] (NB. x and y should be...
Question: Use MATLAB to solve it,uing MATLAB built in functions is not allowed.Write a MATLAB algorithm that does these 3. Use any method you want and compute the following double integral: edrdy (a) (12 points) The domain of integral 2 is 0 SE1, 0y (b) (8 points) S2 is the first quadrant in the unit circle: z > 0, y > 0,T2 + y2 < 1. HINT: to calculate double integral, you basically are doing a nested numerical integral. Find...
please do all asap
Question 7 2.5 points Save Answer Use the 68-95-99.7 rule to solve the problem. Assume that a distribution has a mean of 21 and a standard deviation of 4. What percentage of the values in the distribution do we expect to fall between 17 and 217 17% 25% 68% 34% Question 5 Use the Venn diagram to list the elements of the set in roster form. U B 11 14 13 17 12 15 16 18...
Using MATLAB program to solve the following question please: Write a script called echostring that will prompt the user for a string, and will echo print the string in quotes (with an extra little surprise at the end): >> echostring Enter your string: I like nap Your string was: ‘I like nap – in MATLAB class’
Solve the equation for x If 0 sx < 21. Give your answer in radians using exa cos x + cos2x = 0 7C 3 X Need Help? Read It Talk to a Tutor 7. [1/1 Points] DETAILS PREVIOUS ANSWERS MCKTRIG8 6.2.02: Solve the equation for x if 0 sx < 22. Give your answer in radians using exact 2 sin2 x - 3cOS X - 3 = 0 21 411 . 33 Need Help? Read It Talk to a...
Use MATLAB or Scilab to solve the following problems 1. Create a MATLAB subroutine called Lagrange.m that receives two set data points, x and y and plots the curve by interpolating the missing points (h-X-x-1) using Lagrange interpolation form 2. Create a main program that calls the subroutine created on problem 1 and compare results using the following data sets: b. (1 5), (0, 8), (3,-10) C. (-10.2), ( 4,5), (7, 3), (12, 20)
Solve the following Using MATLAB. (Please show the coding
Script)
13. Solve Problem 13 Using MATLAB Given the unity feedback system of Figure P6.3 with G(S) = 5(56 – 233 - 5 + 253 + 432 – 85 - 4) tell how many closed-loop poles are located in the right half-plane, in the left half-plane, and on the jw-axis. (Section: 6.3) MATUA