Pds 1.txt

  • Uploaded by: Jesus Gabreil HG
  • 0
  • 0
  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Pds 1.txt as PDF for free.

More details

  • Words: 1,032
  • Pages: 8
>> clear >> sqrt(log(sin(5))) ans = 1.2450 + 1.2617i >> -----??? ------

| Error: Expression or statement is incomplete or incorrect. >> sqrt(3^2+4^2)-5 ans = 0 >> ----------2-------??? ----------2-------| Error: Expression or statement is incomplete or incorrect. >> s=0.5; tan(s^2-2*sin(pi/5)+1) ans = 0.0746 >> s=0.95; tan(s^2-2*sin(pi/5)+1) ans = 0.8894 >> s=1; tan(s^2-2*sin(pi/5)+1) ans = 1.0813 >> -------------3-----------??? -------------3-----------| Error: Expression or statement is incomplete or incorrect. >> clock , date , calendar ans = 1.0e+003 * Columns 1 through 5 2.0120

0.0010

0.0010

0.0020

0.0480

Column 6 0.0244 ans = 01-Jan-2012 S 1 8 15 22 29 0

M 2 9 16 23 30 0

Tu 3 10 17 24 31 0

Jan 2012 W 4 11 18 25 0 0

Th 5 12 19 26 0 0

F 6 13 20 27 0 0

S 7 14 21 28 0 0

>> -----------4-------------??? -----------4-------------| Error: Expression or statement is incomplete or incorrect. >> pi ans = 3.1416 >> ----------5--------------??? ----------5---------------

| Error: Expression or statement is incomplete or incorrect. >> format long, pi ans = 3.141592653589793 >> format long e , pi ans = 3.141592653589793e+000 >> format short e, pi ans = 3.1416e+000 >> >> --------------5------------??? --------------5-------------

| Error: Expression or statement is incomplete or incorrect. >> realmax

ans = 1.7977e+308 >> realmin ans = 2.2251e-308 >> ------------6-----------??? ------------6------------

| Error: Expression or statement is incomplete or incorrect. >> double a1=(pi^2-3*sqrt(23)-exp(1))/(6ch(5)); >> double a2=log(37+cos(7^3)); double r=a1+a2 double r2=a1*a2 ans = 114

61

97

49

43

97

50

50

61

97

49

42

97

ans = 114

50

>> ------------------7---------------??? ------------------7---------------| Error: Expression or statement is incomplete or incorrect. >>

i i^2 i=2; i^2

ans = 0 +1.0000e+000i ans = -1 ans = 4 >> ----------------8-----------??? ----------------8-----------| Error: Expression or statement is incomplete or incorrect.

>> u=-1:2/5:1, v=-1:2/8:1, w=-1:2/10:1 A=[-1, -0.6, 0.2 -1, -.75, -0.5 -1, -0.8, -0.6] B=A' det(A) u = Columns 1 through 4 -1.0000e+000 -6.0000e-001 -2.0000e-001

2.0000e-001

Columns 5 through 6 6.0000e-001

1.0000e+000

v = Columns 1 through 4 -1.0000e+000 -7.5000e-001 -5.0000e-001 -2.5000e-001 Columns 5 through 8 0

2.5000e-001

5.0000e-001

7.5000e-001

Column 9 1.0000e+000 w = Columns 1 through 4 -1.0000e+000 -8.0000e-001 -6.0000e-001 -4.0000e-001 Columns 5 through 8 -2.0000e-001

0

2.0000e-001

8.0000e-001

1.0000e+000

Columns 9 through 11 6.0000e-001 A = -1.0000e+000 -6.0000e-001 2.0000e-001 -1.0000e+000 -7.5000e-001 -5.0000e-001 -1.0000e+000 -8.0000e-001 -6.0000e-001 B =

4.0000e-001

-1.0000e+000 -1.0000e+000 -1.0000e+000 -6.0000e-001 -7.5000e-001 -8.0000e-001 2.0000e-001 -5.0000e-001 -6.0000e-001 ans = 2.0000e-002 >> det(B) ans = 2.0000e-002 >> >> -----------9-----------??? -----------9------------

| Error: Expression or statement is incomplete or incorrect. >> M=[16, 5, 9 ,4 3, 10, 6, 15 2, 11, 7, 14 13, 8, 12, 1] M = 16 3 2 13

5 10 11 8

9 6 7 12

4 15 14 1

>> >> A = [1 1 1 1;1 2 2 2 ;1 2 3 3 ;1 2 3 4 ] A = 1 1 1 1

1 2 2 2

1 2 3 3

1 2 3 4

1 2 2 2

1 2 3 3

1 2 3 4

A(2:3,1:4) A = 1 1 1 1 ??? A = | Error: Expression or statement is incomplete or incorrect. >> A = [1 1 1 1;1 2 2 2 ;1 2 3 3 ;1 2 3 4 ]

A = 1 1 1 1

1 2 2 2

1 2 3 3

1 2 3 4

2 3

2 3

2 3

2 3

>> A(2:3,1:4) ans = 1 1

2 2

>> A(2:3,:) ans = 1 1

2 2

>> A([2 3],[1 2 3 4]) ans = 1 1

2 2

2 3

2 3

2 3

2 3

>> A([1 4],:)=[] A = 1 1

2 2

>> ---------11--------??? ---------11---------

| Error: Expression or statement is incomplete or incorrect. >> A = [1,2,3,4,5;6,0,0,0,0;11,0,0,0,0] A = 1 6 11

2 0 0

3 0 0

4 0 0

5 0 0

>> -----------12-----------??? -----------12-----------| Error: Expression or statement is incomplete or incorrect. >> A(I,J) = 10(I-J)+1; ??? A(I,J) = 10(I-J)+1; | Error: Unbalanced or unexpected parenthesis or bracket. >> A(i,j)= [10(i-j)+1]

??? A(i,j)= [10(i-j)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >> %ejercicio 12 >> A(i,j)= [1(i-j)+1;2(i-j)+1;3(i-j)+1] ??? A(i,j)= [1(i-j)+1;2(i-j)+1;3(i-j)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >> a(i,j)=[1(i-j)+1,2(i-j)+1,3(i-j)+1] ??? a(i,j)=[1(i-j)+1,2(i-j)+1,3(i-j)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >> %ejer 11 >> a=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15;2,0,0,0,0,0,0,0,0,0,0,0,0,0,0;3,0,0,0,0,0,0, 0,0,0,0,0,0,0,0;4,0,0,0,0,0,0,0,0,0,0,0,0,0,0;5,0,0,0,0,0,0,0,0,0,0,0,0,0,0;6,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0;7,0,0,0,0,0,0,0,0,0,0,0,0,0,0;8,0,0,0,0,0,0,0,0,0,0,0,0,0,0; 9,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;10,0,0,0,0,0,0,0,0,0,0,0,0,0,0;11,0,0,0,0,0,0,0,0,0, 0,0,0,0,0;12,0,0,0,0,0,0,0,0,0,0,0,0,0,0;13,0,0,0,0,0,0,0,0,0,0,0,0,0,0;14,0,0,0,0, 0,0,0,0,0,0,0,0,0,0;15,0,0,0,0,0,0,0,0,0,0,0,0,0,0] a = Columns 1 through 9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

2 0 0 0 0 0 0 0 0 0 0 0 0 0 0

3 0 0 0 0 0 0 0 0 0 0 0 0 0 0

4 0 0 0 0 0 0 0 0 0 0 0 0 0 0

5 0 0 0 0 0 0 0 0 0 0 0 0 0 0

6 0 0 0 0 0 0 0 0 0 0 0 0 0 0

14 0 0 0 0 0 0 0 0 0 0 0 0

15 0 0 0 0 0 0 0 0 0 0 0 0

Columns 10 through 15 10 0 0 0 0 0 0 0 0 0 0 0 0

11 0 0 0 0 0 0 0 0 0 0 0 0

12 0 0 0 0 0 0 0 0 0 0 0 0

13 0 0 0 0 0 0 0 0 0 0 0 0

7 0 0 0 0 0 0 0 0 0 0 0 0 0 0

8 0 0 0 0 0 0 0 0 0 0 0 0 0 0

9 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0

0 0

0 0

0 0

0 0

0 0

>> %12 >> A(i,j)= [1(i-j)+1;2(i-j)+1;3(i-j)+1] ??? A(i,j)= [1(i-j)+1;2(i-j)+1;3(i-j)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >> j=1 j = 1 >> i=1 i = 1 >> A(i,j)= [1(i-j)+1;2(i-j)+1;3(i-j)+1] ??? A(i,j)= [1(i-j)+1;2(i-j)+1;3(i-j)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >> %12 >> a = [10(1-1)+1;10(1-1)+1;10(1-1)+1;10(1-1)+1;10(1-1)+1;10(2-2)+1;10(3-3)+1;10(44)+1;10(5-5)+1;10(6-6)+1;10(7-7)+1;10(8-8)+1;10(9-9)+1;10(10-10)+1] ??? a = [10(1-1)+1;10(1-1)+1;10(1-1)+1;10(1-1)+1;10(1-1)+1;10(2-2)+1;10(33)+1;10(4-4)+1;10(5-5)+1;10(6-6)+1;10(7-7)+1;10(8-8)+1;10(9-9)+1;10(10-10)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >> a = [10(1-1)+1,10(1-1)+1,10(1-1)+1,10(1-1)+1,10(1-1)+1,10(2-2)+1,10(3-3)+1,10(44)+1,10(5-5)+1,10(6-6)+1,10(7-7)+1,10(8-8)+1,10(9-9)+1,10(10-10)+1] ??? a = [10(1-1)+1,10(1-1)+1,10(1-1)+1,10(1-1)+1,10(1-1)+1,10(2-2)+1,10(33)+1,10(4-4)+1,10(5-5)+1,10(6-6)+1,10(7-7)+1,10(8-8)+1,10(9-9)+1,10(10-10)+1] | Error: Unbalanced or unexpected parenthesis or bracket. >>

Related Documents

Pds
July 2020 12
Pds
November 2019 15
Pds
November 2019 21
My Pds
October 2019 23
Pds-wiley.pdf
November 2019 4
Ct-4130 Pds
June 2020 2

More Documents from "Mark Wu"

Margen De Pds.docx
November 2019 16
Receptor De Fm.docx
November 2019 16
Pds 1.txt
November 2019 8
Doc. Leo.docx
November 2019 9
Lab01.docx
November 2019 11
November 2019 11