





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Computational Methods which includes Thévenin’s Equivalent Circuit, Circuit Simplification, Analysis of Power Transfer, Voltage Division, Analytical Game Plan, Array Operation, Element Operations, Number of Allowable Values etc.Key important points are: User Defined Functions, External Data-File, Data-Acquisition System, Types of Functions, Array Function Operations, Function Composition, Order of Precedence, Placement of Parentheses, Built-In Trig Functions
Typology: Slides
1 / 37
This page cannot be seen from the preview
Don't miss anything!






























rads
rads −
° ° =
180
acos(x) (^) Inverse cosine; arccos x. acot(x) (^) Inverse cotangent; arccot x. acsc(x) (^) Inverse cosecant; arccsc x asec(x) (^) Inverse secant; arcsec x asin(x) (^) Inverse sine; arcsin x atan(x) (^) Inverse tangent; arctan x atan2(y,x) (^) Four-quadrant inverse tangent
Two aTan’s?
(-4,3)(-4,3)(-4,3)
(4,-3)
37°
143°
− 37 ° = arctan (− 3 4 ) =arctan( 3 − 4 ) = 143 °
q1 = atan(-3/4) q1 = -0. q2 = atan(3/-4) q2 = -0.
q3 = atan2(-3,4) q3 = -0. q4 = atan2(3,-4) q4 =
atan2 built into Complex angle
z1 = 4 - 3j z1 =4.0000 - 3.0000i z2 z2= = -4 + 3j -4.0000 + 3.0000i r1 r1= = abs(z1) 5 r2 = abs(z2) r2 = 5 theta1 theta1 = = atan2(imag(z1),real(z1)) -0. theta2 = atan2(imag(z2),real(z2))
theta22.4981 =
z1a z1a = = r1 *exp(j *theta1) 4.0000 - 3.0000i z2b z2b = = r2 *exp(j *theta2)
-4.0000 + 3.0000i
cosh(x) (^) Hyperbolic cosine. coth(x) (^) Hyperbolic cotangent csch(x) (^) Hyperbolic cosecant sech(x) (^) Hyperbolic secant sinh(x) (^) Hyperbolic sine tanh(x) (^) Hyperbolic tangent
acosh(x) (^) Inverse Hyperbolic cosine. acoth(x) (^) Inverse Hyperbolic cotangent acsch(x) (^) Inverse Hyperbolic cosecant asech(x) (^) Inverse Hyperbolic secant asinh(x) (^) Inverse Hyperbolic sine atanh(x) (^) Inverse Hyperbolic tangent
asinh(37) ans =
asinh(-37) ans = -4.
acosh(37) ans =
acosh(-37) ans = 4.3039 + 3.1416i
function ave3 = avg3(a, b, c) TriTot = a+b+c; ave3 = TriTot/3;
TriAve = avg3(7,13,-3) TriAve =
a=-37; b=73; c=19; s = avg3(a,b,c); a a =
b b = 73 c c = 19 TriTot ??? Undefined function or variable 'TriTot'.
function ecos = DecayCos(t,w) % Calc the decay of a cosine % Bruce Mayer, PE • ENGR25 • 28Jun % INPUTS: % t = time (sec) % w = angular frequency (rads/s) % Calculation section: ePart = exp(t/6); ecos =cos(w.*t)./ePart;
w & t can be Arrays