Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Question 1. For several values of x, use MATLAB to con rm that sinh x = (ex - e-x)/2.

Question 2. For several values of x, use MATLAB to con rm that cosh-1x = In (x + √(x2 - 1)

Question 3. The capacitance of two parallel conductors of length L and radius r, separated by a distance d in air, is given by

C= Π∈L/ln[(d - r)/r]

where ∈ is the permittivity of air (∈ = 8.854 X 10-12 F/m).

Write a script le that accepts user input for d, L, and r and computes and displays C. Test the le with the values L = 1 m, r = 0.001 m, and d = 0.004 m.

Question 4. The output of the MATLAB atan2 function is in radians. Write a func-tion called atan2d that produces an output in degrees.
9. Write a function that accepts temperature in degrees Fahrenheit (°F) and computes the corresponding value in degrees Celsius (°C). The relation between the two is

T°C = 5/9 (T°F - 32)

Be sure to test your function.

Question 5. An object thrown vertically with a speed vo reaches a height h at time t, where

h = vot - 1/2gt2

Write and test a function that computes the time t required to reach a speci ed height h, for a given value of vo. The function's inputs should be h, vo, and g. Test your function for the case where h = 100 m, vo = 50 m/s, and g = 9.81 m/s2. Interpret both answers.

Question 6. A water tank consists of a cylindrical part of radius r and height h and a hemispherical top. The tank is to be constructed to hold 600 m3 when lied. The surface area of the cylindrical part is 2Πrh, and its volume is Πr2h. The surface area of the hemispherical top is given by 2Πrh, and its volume is given by Πr2h. The cost to construct the cylindrical part of the tank is $400 per square meter of surface area; the hemispherical part costs $600 per square meter. Use the fminbnd function to compute the radius that results in the least cost. Compute the corresponding height h.

Question 7. A fence around a eld is shaped as shown in Figure P12. It consists of a rectangle of length L and width W, and a right triangle that is symmetrical about the central horizontal axis of the rectangle. Suppose the width W is known (in meters) and the enclosed area A is known (in square meters). Write a user-de ned function le with W and A as inputs. The outputs are the length L required so that the enclosed area is A and the total length of fence required. Test your function for the values W = 6 m and A = 80 m2.

1916_Figure1.jpg

Question 8. A fenced enclosure consists of a rectangle of length L and width 2R and a semicircle of radius R, as shown in Figure P13. The enclosure is to be built to have an area A of 2000 ft2. The cost of the fence is $50 per foot for the curved portion and $40 per foot for the straight sides. Use the fminbnd function to determine with a resolution of 0.01 ft the values of R and L required to minimize the total cost of the fence. Also compute the minimum cost.

1281_Figure2.jpg

Question 9. Using estimates of rainfall, evaporation, and water consumption, the town engineer developed the following model of the water volume in the reser-voir as a function of time

V(t) = 109 + 108(1 - e-t/100) - rt

where V is the water volume in liters, t is time in days, and r is the town's consumption rate in liters per day. Write two user-de ned functions. The first function should de ne the function V(t) for use with the f zero func-tion. The second function should use f zero to compute how long it will take for the water volume to decrease to x percent of its initial value of 109L.

The inputs to the second function should be x and r. Test your functions for the case where x = 50 percent and r = 107 L/day.

2057_Figure.jpg

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92040286

Have any Question?


Related Questions in MATLAB

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As