Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

INSTITUTO POLITÉCNICO NACIONAL

UNIDAD PROFESIONAL INTERDISCIPLINARIA EN TECNOLOGÍA Y CIENCIAS


AVANZADAS

HERRAMIENTAS
COMPUTACIONALES

TAREA #1
“CÁLCULOS BÁSICOS”

Nombre:
● Pérez Piña Jimena
Grupo: 1BV3
Profesor(a): Jesús Arturo González Alemán
Fecha de entrega: 28 de Febrero de 2022
CÁLCULOS BÁSICOS
1. PROBLEMA 1:

>> P = 21000; t = 28; f = 15; V = 0.5; M = 32; R = 8.31;


>> T = t + 273.16;
>> A = P*V;
>> B = R*T;
>> n = A/B;
>> m = n*M;
>> format short
Ot = f*m

Ot =

2.0139e+03

RESULTADO 2.013x103

2. PROBLEMA 2:
>> Rm = 0.1; P1 = 100000; t1c = 25; Vt = 20; t2c = 20; dias = 7; a =
0.366; R = 8.31; b = 4.29e-5;
>> Vtm3 = 20 * 1e-3;
>> T1 = t1c + 273.16;
>> T2 = t2c + 273.16;
>> min = dias*24*60;
>> n = (P1*Rm*min)/(R*T1);
>> P2 = (n*R*T2)/(Vt-(n*b)) - a*(n/Vt)^2

P2 =

3.9149e+06

RESULTADO 3.9149x106

3. PROBLEMA 3:
l0 = 0.72e-3; lf = 1.39e-3; m = 2.4e-3; g = 9.81; d = 0.13e-3;
>> F = m*g; dl = lf-l0; A = (pi/4)*d^2;
>> E = (F*l0)/(dl*A)

E =

1.9062e+06

RESULTADO 1.9062x106
4. PROBLEMA 4:
>> H0 = 100e-6; R = 25e-3; F = 500; H = 10e-6; u = 1;
>> format shortEng
>> t = (3*pi*(R^4)*u)/(16*F)

t =

460.1942e-012

RESULTADO 460.1940x10-12

5. PROBLEMA 5:
>> ra =0; rc = 120; m = 80; g = 9.81; a = 15; b = 20; c = 100;
>> angulo = atand(a/b);
>> Mb = b*sind(angulo);
>> Fc = 80*9.81;
>> Mc = (c+b)*Fc;
>> Fb = Mc/Mb;
>> Fa = Fc - Fb;
>> Fa = Fc - Fb

Fa =

-7.0632e+03

RESULTADO -7.0632x103

6. PROBLEMA 6:
>> C = 3.75; w = 1.4;
>> M = (C-1)/w

M =

1.9643

RESULTADO 1.9643

7. PROBLEMA 7:
>> m = 4; y = 4;
>> x = (-m*y)/(m-(2*y))

x =

4
RESULTADO 4

8. PROBLEMA 8:
>> x = 20; L = 100; T = 0.25;
>> W = ((T*L)+(12*x))/12

W =

22.0833

RESULTADO 22.0833

9. PROBLEMA 9:
>> syms theta; syms fis; syms C; syms B; syms W;
>> solve(C*cos(theta+fis)-B*sin(fis)==W,B)

ans =

-(W - C*cos(fis + theta))/sin(fis)

>> solve(C*sin(theta+fis)-B*cos(fis)==0,B)

ans =

(C*sin(fis + theta))/cos(fis)
−(𝑊 − 𝐶𝑐𝑜𝑠(𝜃 + 𝜑𝑠 ))
𝐵=
sin (𝜑𝑠 )
RESULTADO
𝐶𝑠𝑖𝑛(𝜃 + 𝜑𝑠 )
𝐵=
cos(𝜑𝑠 )

10. PROBLEMA 10:


>> syms An; syms C; syms theta; syms fis; syms uc;
>> solve(An-C*cos(theta-fis)==0,An)

ans =

C*cos(theta-fis)

>> fis = atand(0.10)


fis =

5.7106

>> theta = atand(0.5/0.96)

theta =

27.5120

RESULTADO θ = 27.5120°

11. PROBLEMA 11:


>> syms T1; syms T2; syms T3; syms theta1; syms theta2; syms g; syms m;
>> solve(T2*sin(theta2)-m*g==0,T2)

ans =

(g*m)/sin(theta2)

>> solve((g*m)/sin(theta2)*cos(theta2)-T3==0,T3)

ans =

(g*m*cos(theta2))/sin(theta2)

>> solve(T1*sin(theta1)-(g*m)/sin(theta2)*sin(theta2)-m*g==0,T1)

ans =

(2*g*m)/sin(theta1)

T1 T2 T3 𝜃2
2𝑔𝑚 𝑔𝑚 𝑔𝑚
𝜃1
𝜃1 𝜃1 arctan ( )
𝑠𝑒𝑛(𝜃1 ) 𝑠𝑒𝑛(arctan ( 2 )) 𝑡𝑎𝑛(arctan ( 2 )) 2

12. PROBLEMA 12:


>> g = 9.81; d = 2; theta = 60;
>> Dc = (d/2)*(1-cosd(theta));
>> Q = (2^(3/2)*Dc^(5/2)*sqrt(g)*(theta-
0.5*sind(2*theta)))^(3/2)/(8*sqrt(sind(theta))*(1-cosd(theta))^(5/2))

Q =

684.5969
>> g = 9.81; d = 2; theta = pi/3;
>> Dc = (d/2)*(1-cos(theta));
>> Q = (2^(3/2)*Dc^(5/2)*sqrt(g)*(theta-
0.5*sin(2*theta)))^(3/2)/(8*sqrt(sin(theta))*(1-cos(theta))^(5/2))

Q =

0.7168
Q = 684.5969 (ang)
RESULTADO
Q = 0.7168 (rad)

13. PROBLEMA 13:


>> n = 6;
>> M = 1/sin(pi/n);
>> alfa = acos(sqrt(((1 + M^2)/(4*M))^2+2) - (1+M^2)/(4*M));
>> AgW = (M*(1-M^2)*sin(alfa))/(1+M^2-(2*M*cos(alfa)))^2

AgW =

-1.3496
𝑎𝑔
RESULTADO = −1.3496
𝑤2

14. PROBLEMA 14:


>> a1 = 0.2; b1 = 0.9; c1 = pi/6;
>> t = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0];
>> v = exp(-a1.*t)*(sin(b1.*t + c1)/(t + c1))

v =

0.7510 0.7361 0.7216 0.7073 0.6933 0.6795 0.6661


0.6529 0.6400 0.6273 0.6149
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
RESULTADO
0.7510 0.7361 0.7216 0.7073 0.6933 0.6795 0.6661 0.6529 0.6400 0.6273 0.6149

15. PROBLEMA 15:


>> T = 473;
>> P = (exp(21.41471-(4861.5/T)))/(T^0.28771)
P =

1.1669e+04

>> format longEng


>> P = (exp(21.41471-(4861.5/T)))/(T^0.28771)

P =

11.6686843459339e+003

RESULTADO 11.6686843459339x103

16. PROBLEMA 16:


a)
>> format short
>> (4.2e5)*(1.7e-4+0.003e-2)/8.4e-1

ans =

100

b)

>> format short


((1.25e-5)*(1.0410e-3))/((2.73e-3)*(1.2e-4))

ans =

0.0397
c)
>> format short
>> (2*sqrt(3)+sqrt(5))/(2*sqrt(3)-sqrt(5))

ans =

4.6417
d)
>> format short
>> log10(nthroot(81,5))

ans =

0.3817
e)
>> format short
>> sqrt(sind(1)^2+3^2*cosd(0.5)^2)

ans =

2.9999
f)
>> x = 3;
>> format short
>> log((x^3*sqrt(x+1))/(x-2)^2)

ans =

3.9890
g)
>> (i^4-2*i^2+1)/(i^3-i^5)

ans =

0.0 + 2.0000i

RESULTADOS
a) 100
b) 0.0397
c) 4.6417
f) 0.3817
g) 2.9999
h) 3.9890
m) 0.0000 + 2.0000i

17. PROBLEMA 17:


>> V = 250; I = 5; R = 2; cosTheta = 0.8;
>> theta = acosd(0.8);
>> thetaRad = deg2rad(theta);
>> Wc = ((V*I*cos(thetaRad))/R)-V*I*cos(thetaRad)-I^2*R

Wc =

-550

>> NB = Wc;
>> L = 0.01; R1 = 100;
>> c = -0.55;
>> f = sqrt((1/(L*c))-(R1^2/(4*c^2)))

f =
0.0000 +91.9037i

>> t = 10;
>> y = 1 - exp(-0.5*t)

y =

0.9933
WC f y
RESULTADO
-550 0.0000 +91.9037i 0.9933

You might also like