Solution:
6.a.
syms a
a=(3/4)*6*(7)^2+4^5/(7^3-145)
Output:
a =
225.6717
6.b.
syms a
a=((48.2)*55-9^3)/(53+14^2)
Output:
a =
7.7189
6.c.
syms a
a= 27^2/4+329^(4/5)/5+60*(14)^-3
output:
a =
202.9155
7.a.
syms a
a=16^-1
answer
a =
0.0625
7.b.
a=16^-(1/2)
answer
a =
0.2500
7.c.
a=16^-(1/2)
answer
a =
0.2500
7.d.
a=64^(3/2)
answer
a =
512
8.a.
a=100^-1
answer
a =
0.0100
b.
a=100^-1/2
answer
a =
0.0050
c.
a=100^(-1/2)
answer
a =
0.1000
d.
a=100^3/2
answer
a =
500000
9.a.
a=3*10^1500;
b=5*10^200;
c=a*b
answer
c =
Inf
9.b.
a=3*10^1500;
b=5*10^200;
d=5*10^-200;
f=d*b*a
answer
f =
Inf
9.c.1.
a=3*10^1500;
b=5*10^200;
d=5*10^-200;
x=a*b*d
answer:
x =
Inf
9.c.2.
a=3*10^1500;
b=5*10^200;
d=5*10^-200;
y=b*d
x=a*y
answer:
y =
25.0000
x =
Inf
10.
h1=10;
r1=6;
v1=pi*r1^2*h1
v2=v1*130/100
h2=v2/(pi*r1^2)
answer:
v1 =
1.1310e+003
v2 =
1.4703e+003
h2 =
13
11.
r1=4;
v1=4/3*pi*r1^3
v2=v1*140/100
r2=(v2*3/4/pi)^(1/3)
answer:
r2 =
4.4748
12.
syms i
i= (-1)^(1/2);
x=-7-5*i;
y=4+3*i;
a=x+y
b=x*y
c=x/y
answer:
a =
-3.0000 - 2.0000i
b =
-13.0000 -41.0000i
c =
-1.7200 + 0.0400i
13.
syms i
i= (-1)^(1/2);
a=(3+6*i)*(-7-9*i)
b=(5+4*i)/(5-4*i)
c=3/2*i
d=3/(2*i)
answer:
a =
33.0000 -69.0000i
b =
0.2195 + 0.9756i
c =
0.0000 + 1.5000i
d =
0.0000 - 1.5000i
14.
syms i
i= (-1)^(1/2);
x=5+8*i;
y=-6+7*i;
u=x+y
v=x*y
w=x/y
z=exp(x)
r=y^(1/2)
s=x*y^2
answer:
u =
-1.0000 +15.0000i
v =
-86.0000 -13.0000i
w =
0.3059 - 0.9765i
z =
-2.1594e+001 +1.4683e+002i
r =
1.2688 + 2.7586i
s =
6.0700e+002 -5.2400e+002i
of MATLAS CHAPTER + An Owens Use MATLAB to calculate 6X7)+70-145 48.2855) - 9 c27310* +60(14)...
2.* Let x -5- 8i and y 10-5i. Use MATLAB to compute the following expressions. Hand-check the answers. a. The magnitude and angle of y. b. The magnitude and angle of 3.* Use MATLAB to find the angles corresponding to the following coordinates. Hand-check the answers. a. (x, y) (5, 8) b. (x,y)(-5, 8) c. (x) (5,-8) d. (x,y)=(-5,-8) 4. For several values of x, use MATLAB to confirm that sinh x (e-e )/2
Assignment 5: Introduction to MATLAB Calculations & Plotting 1. The surface to volume ratio of the earth is 7.5753 x 10 diameter for the earth. miles. Determine an approximate 2. The length L of a belt that traverses two pulley wheels, one of radius R and one of radius r and whose centers are distance S apart is given by L 2Scose+ T(R + r) + 20(R-r) where 0 = sin (R-r)/S) Determine L when R 30 cm, r -12...
MATLAB Assignment #1: Solve the following problems by writing commands in by writing a program in a script file and executing the file. Tum in a printout of the results and email the m file. All work should be individual, not shared 9. Let a 13, b= 4.2 (4b) abc d= ab+c then evaluate da - (a- )(c+ d) cb c+ d 10. A cube has a side of 18 cm. Detemine the radius of a sphere that has the...
Write the vector differential operator "DEL-V in Cartesian coordinates Cylindrical coordinates Spherical coordinates. 2. Show for any "nice" scalar function (x,y,z), the Curl of the gradient of (x,y,z) is Zero.. VxVo = 0 Hint: assume the order of differentiation can be switched 3. Find the volume of a sphere of radius R by integrating the infinitesimal volume element of the sphere. 4. Write Maxwell's equations for the case of electro and magneto statics (the fields do not change in time)...
answer 4, 5, 6, 7 using matlab Homework 10 1. Write the correct first-line syntax for a user defined function that is named Feynman and has input variables q and e, and outputs L and M. (Comment out of this line). 2. Using zeros, ones, and eye commands write the one line syntax to create the following matrix: 00000 01100 01010 01001 3. Write the syntax for the user defined function that calculates the surface area and volume of a...
use matlab and show all codes and work the question continues from this 4. Write a function with header (A, V - myCone (r, h), which outputs the total area A and volume of a cone with base radius r and height h. 5. Write a function - myMatrix (myvec, m, n) which creates an m-by-n matrix A, as in Problem 3, but for arbitrary values of mand n and any length of vector myvec. Hint: the function can use...
Q1. DELTA FUNCTIONS! a) Calculate the following integrals, assuming c=2 in all parts! In part iv, assume the volume V is a sphere of radius 1 centered on the origin, and the constant vector ro = (0,3,4) c 8(x-c)dx (Hint: watch out for limits of integration. Remember, c=2 throughout) 8(x-c)dx iii) Sºx-cl 8(2x)dx (Hint: see Griffiths Example 1.15) iv) SS ir-r, 8(r)dr v) M F-F, P 8°(27)di (Hint: 8' () = 8(x)O(y)8(z)) b) Evaluate the integral ſ (1+e") ( )dt...
Revised by Prof. Kostadinov, Fall 2015, Fall 2014, Fall 2013, Fall 2012, Fall 2011, Fall 2010 Revised by Prof. Africk and Prof. Kostadinov Fall 2015, Spring 2016, #1 Identify the horizontal and vertical asymptotes of the following functions using the limit definitions: 2x2 o) yA- #2 Find the derivatives of the following functions using the definition of derivative: a) f(x)-2x-5x #3 Find the derivative v dr of the following functions, using the derivative rules: b) f(x)--2x +3x-4 #4 Find the...
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...
1. If a function f(x,y) has a local maximum then it is not necessary that it has also a local minimum True False 2. If a vector field F is conservative then we can not find a potential functions. True False 3. Suppose that P and Q have continuous first-order partial derivatives on a domain D and consider the vector field F = Pi+Qj. Then F is conservative if op 80 True False 4. If D is a rectangle, then...