SlideShare a Scribd company logo
1 of 4
Download to read offline
Sheet 1
1.1 )
v(t)=10(1−e−0.2t
)
1.2 )
𝒁𝒁 =
( 𝟑𝟑 + 𝒋𝒋 𝒋𝒋)( 𝟔𝟔 + 𝒋𝒋 𝒋𝒋)
( 𝟐𝟐 + 𝒋𝒋 𝒋𝒋)(𝒋𝒋 𝒋𝒋)
+ 𝟕𝟕 + 𝒋𝒋 𝒋𝒋𝒋𝒋
>> t=0:5:50;
>> v=10*(1-exp(-.2*t));
>> table=[t',v']
table =
0 0
5.0000 6.3212
10.0000 8.6466
15.0000 9.5021
20.0000 9.8168
25.0000 9.9326
30.0000 9.9752
35.0000 9.9909
40.0000 9.9966
45.0000 9.9988
50.0000 9.9995
>>
>> z=((3+6*i)*(6+4*i))/((2+i)*2*i)+7+10*i
z =
17.2000 + 6.4000i
>>
Sheet 1
1.4 )
Write a function-file that can be used to
calculate the equivalent resistance of n
parallel connected resistors
1.3 )
Write a function-file to obtain the dot
product and the vector product of two
vectors a and b
function [c,d] = trial1(a,b)
d = sum(a.*b);
i = (a(2)*b(3))-(a(3)*b(2));
j = (a(3)*b(1))-(a(1)*b(3));
k = (a(1)*b(2))-(a(2)*b(1));
c = [i,j,k];
end
>> x=[1,5,6];
>> y=[2,3,8];
>> [c d]=trial1(x,y)
c =
22 4 -7
d =
65
>>
function R = trial2(x)
n = length(x);
y = 0;
for i = 1:n
y = y+(1/x(i));
end
R = (1/y);
Sheet 1
end
>> r=[100,200,300,400,500];
>> trial2(r)
ans =
43.7956
>>
>> R=[1 2 3;2 3 6;3 6 7];
>> I=[1;2;6];
>> v=R*I
v =
23
44
57
>>
>> y=0.5+j*6+3.5*exp(j*0.6)+(3+j*6)*exp(j*0.3*pi)
y =
0.2979 +13.9300i
>>
1.5 )
The voltage V is given as V=RI, where R
and I are resistance matrix and I current
vector. Evaluate V
1.6 )
simplify the expression
y=0.5+j6+3.5ej0.6
+(3+j6)ej0.3π
Sheet 1
function [ y ] = fact( n )
y=1;
i =1;
for i=1:n
y=i*y;
end
end
>> x=fact(7)/(fact(3)*fact(4))
x =
35
>>
function [ a ] = tarea( x , y , z )
s =(x+y+z)/2;
a= sqrt(s*(s-x)*(s-y)*(s-z));
end
>> tarea(56,27,43)
ans =
563.4891
>> tarea(5,12,13)
ans =
30
>>
1.7 )
Write a function file to evaluate n factorial (i.e. n!);
1.8 )
Write a function to compute the area
given the sides of a triangle.
NAME: Ahmed El-morsy Abdel-hamid
Sec: 1
about me :)
THANK YOU 

More Related Content

What's hot

8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integrationdicosmo178
 
10CSL67 CG LAB PROGRAM 9
10CSL67 CG LAB PROGRAM 910CSL67 CG LAB PROGRAM 9
10CSL67 CG LAB PROGRAM 9Vanishree Arun
 
Equation of linear regression straight line
Equation of linear regression straight lineEquation of linear regression straight line
Equation of linear regression straight lineWaleed Zaghal
 
SPSF02 - Graphical Data Representation
SPSF02 - Graphical Data RepresentationSPSF02 - Graphical Data Representation
SPSF02 - Graphical Data RepresentationSyeilendra Pramuditya
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximationTarun Gehlot
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integrationTarun Gehlot
 
Calculo de integrais_indefinidos_com_aplicacao_das_proprie
Calculo de integrais_indefinidos_com_aplicacao_das_proprieCalculo de integrais_indefinidos_com_aplicacao_das_proprie
Calculo de integrais_indefinidos_com_aplicacao_das_proprieRigo Rodrigues
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationTarun Gehlot
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline InterpolationVARUN KUMAR
 
Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleMuhammadUsmanIkram2
 
Gaussian Integration
Gaussian IntegrationGaussian Integration
Gaussian IntegrationReza Rahimi
 
Matlab plotting
Matlab plottingMatlab plotting
Matlab plottingAmr Rashed
 

What's hot (18)

Interpolation
InterpolationInterpolation
Interpolation
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
10CSL67 CG LAB PROGRAM 9
10CSL67 CG LAB PROGRAM 910CSL67 CG LAB PROGRAM 9
10CSL67 CG LAB PROGRAM 9
 
mathFin01
mathFin01mathFin01
mathFin01
 
Integration by parts
Integration by partsIntegration by parts
Integration by parts
 
Equation of linear regression straight line
Equation of linear regression straight lineEquation of linear regression straight line
Equation of linear regression straight line
 
SPSF02 - Graphical Data Representation
SPSF02 - Graphical Data RepresentationSPSF02 - Graphical Data Representation
SPSF02 - Graphical Data Representation
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximation
 
SPSF03 - Numerical Integrations
SPSF03 - Numerical IntegrationsSPSF03 - Numerical Integrations
SPSF03 - Numerical Integrations
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integration
 
Calculo de integrais_indefinidos_com_aplicacao_das_proprie
Calculo de integrais_indefinidos_com_aplicacao_das_proprieCalculo de integrais_indefinidos_com_aplicacao_das_proprie
Calculo de integrais_indefinidos_com_aplicacao_das_proprie
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Matlab file
Matlab file Matlab file
Matlab file
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
 
Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with Example
 
Calculus
CalculusCalculus
Calculus
 
Gaussian Integration
Gaussian IntegrationGaussian Integration
Gaussian Integration
 
Matlab plotting
Matlab plottingMatlab plotting
Matlab plotting
 

Viewers also liked

Viewers also liked (18)

Mcq questions for communication skills course
Mcq questions for communication skills courseMcq questions for communication skills course
Mcq questions for communication skills course
 
رابعة إتصالات
رابعة إتصالاترابعة إتصالات
رابعة إتصالات
 
My cv
My cvMy cv
My cv
 
cv-sayed-electric engineer
cv-sayed-electric engineercv-sayed-electric engineer
cv-sayed-electric engineer
 
2
22
2
 
Matlab HTI summer training course_Lecture2
Matlab HTI summer training course_Lecture2Matlab HTI summer training course_Lecture2
Matlab HTI summer training course_Lecture2
 
My c.v.
My c.v.My c.v.
My c.v.
 
IEEE REAL TIME MATLAP COMMUNICATION PROJECTS
IEEE REAL TIME MATLAP COMMUNICATION PROJECTSIEEE REAL TIME MATLAP COMMUNICATION PROJECTS
IEEE REAL TIME MATLAP COMMUNICATION PROJECTS
 
Perez cante edgar fuzzy
Perez cante edgar   fuzzyPerez cante edgar   fuzzy
Perez cante edgar fuzzy
 
SalahBedeiwiResume
SalahBedeiwiResumeSalahBedeiwiResume
SalahBedeiwiResume
 
Fundamentals of matlab programming
Fundamentals of matlab programmingFundamentals of matlab programming
Fundamentals of matlab programming
 
Introduction to matlab lecture 1 of 4
Introduction to matlab lecture 1 of 4Introduction to matlab lecture 1 of 4
Introduction to matlab lecture 1 of 4
 
Matlab
MatlabMatlab
Matlab
 
PLL & DLL DESIGN IN SIMULINK MATLAB
PLL & DLL DESIGN IN SIMULINK MATLABPLL & DLL DESIGN IN SIMULINK MATLAB
PLL & DLL DESIGN IN SIMULINK MATLAB
 
Chemical process control a first course with matlab p.c. chau
Chemical process control a first course with matlab   p.c. chauChemical process control a first course with matlab   p.c. chau
Chemical process control a first course with matlab p.c. chau
 
Communication Skills introduction
Communication Skills introduction Communication Skills introduction
Communication Skills introduction
 
Hana CV
Hana CVHana CV
Hana CV
 
Mohamed Mahdly CV
Mohamed  Mahdly CVMohamed  Mahdly CV
Mohamed Mahdly CV
 

Similar to Sheet 1

Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)
Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)
Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)Maamoun Hennache
 
Tín hiệu, hệ thống và phân giải mạch 6
Tín hiệu, hệ thống và phân giải mạch 6Tín hiệu, hệ thống và phân giải mạch 6
Tín hiệu, hệ thống và phân giải mạch 6Linh Trần Lê
 
8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended Problems8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended ProblemsSara Alvarez
 
Question 1. a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docx
Question 1.  a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docxQuestion 1.  a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docx
Question 1. a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docxIRESH3
 
Rfgtopgffffffffffffffffffffffffffffff
RfgtopgffffffffffffffffffffffffffffffRfgtopgffffffffffffffffffffffffffffff
Rfgtopgffffffffffffffffffffffffffffffgsxr1810
 
Calculus 10th edition anton solutions manual
Calculus 10th edition anton solutions manualCalculus 10th edition anton solutions manual
Calculus 10th edition anton solutions manualReece1334
 
Solutions_Manual_to_accompany_Applied_Nu.pdf
Solutions_Manual_to_accompany_Applied_Nu.pdfSolutions_Manual_to_accompany_Applied_Nu.pdf
Solutions_Manual_to_accompany_Applied_Nu.pdfWaleedHussain30
 
Capitulo 2 corripio
Capitulo 2 corripioCapitulo 2 corripio
Capitulo 2 corripioomardavid01
 
Gssl
GsslGssl
Gsslncct
 

Similar to Sheet 1 (20)

Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)
Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)
Chapter 14 solutions_to_exercises(engineering circuit analysis 7th)
 
Tín hiệu, hệ thống và phân giải mạch 6
Tín hiệu, hệ thống và phân giải mạch 6Tín hiệu, hệ thống và phân giải mạch 6
Tín hiệu, hệ thống và phân giải mạch 6
 
8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended Problems8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended Problems
 
Question 1. a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docx
Question 1.  a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docxQuestion 1.  a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docx
Question 1. a) (i)(4+i2).(1+i3)4(1+i3)+i2(1+i3)4+i12+i2-6.docx
 
Matlab
MatlabMatlab
Matlab
 
Rfgtopgffffffffffffffffffffffffffffff
RfgtopgffffffffffffffffffffffffffffffRfgtopgffffffffffffffffffffffffffffff
Rfgtopgffffffffffffffffffffffffffffff
 
Tugas blog-matematika
Tugas blog-matematikaTugas blog-matematika
Tugas blog-matematika
 
Gilat_ch05.pdf
Gilat_ch05.pdfGilat_ch05.pdf
Gilat_ch05.pdf
 
Ch2
Ch2Ch2
Ch2
 
Calculus 10th edition anton solutions manual
Calculus 10th edition anton solutions manualCalculus 10th edition anton solutions manual
Calculus 10th edition anton solutions manual
 
1st and 2nd Semester M Tech: Structural Engineering (Dec-2015; Jan-2016) Ques...
1st and 2nd Semester M Tech: Structural Engineering (Dec-2015; Jan-2016) Ques...1st and 2nd Semester M Tech: Structural Engineering (Dec-2015; Jan-2016) Ques...
1st and 2nd Semester M Tech: Structural Engineering (Dec-2015; Jan-2016) Ques...
 
Solutions_Manual_to_accompany_Applied_Nu.pdf
Solutions_Manual_to_accompany_Applied_Nu.pdfSolutions_Manual_to_accompany_Applied_Nu.pdf
Solutions_Manual_to_accompany_Applied_Nu.pdf
 
1st and 2nd Semester M Tech: VLSI Design and Embedded System (Dec-2015; Jan-2...
1st and 2nd Semester M Tech: VLSI Design and Embedded System (Dec-2015; Jan-2...1st and 2nd Semester M Tech: VLSI Design and Embedded System (Dec-2015; Jan-2...
1st and 2nd Semester M Tech: VLSI Design and Embedded System (Dec-2015; Jan-2...
 
Capitulo 2 corripio
Capitulo 2 corripioCapitulo 2 corripio
Capitulo 2 corripio
 
corripio
corripio corripio
corripio
 
Palm ch1
Palm ch1Palm ch1
Palm ch1
 
Laplace
LaplaceLaplace
Laplace
 
Gssl
GsslGssl
Gssl
 
CRL 1.8 Functions
CRL 1.8 FunctionsCRL 1.8 Functions
CRL 1.8 Functions
 
2008 june 10
2008 june 102008 june 10
2008 june 10
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 

Recently uploaded (20)

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

Sheet 1

  • 1. Sheet 1 1.1 ) v(t)=10(1−e−0.2t ) 1.2 ) 𝒁𝒁 = ( 𝟑𝟑 + 𝒋𝒋 𝒋𝒋)( 𝟔𝟔 + 𝒋𝒋 𝒋𝒋) ( 𝟐𝟐 + 𝒋𝒋 𝒋𝒋)(𝒋𝒋 𝒋𝒋) + 𝟕𝟕 + 𝒋𝒋 𝒋𝒋𝒋𝒋 >> t=0:5:50; >> v=10*(1-exp(-.2*t)); >> table=[t',v'] table = 0 0 5.0000 6.3212 10.0000 8.6466 15.0000 9.5021 20.0000 9.8168 25.0000 9.9326 30.0000 9.9752 35.0000 9.9909 40.0000 9.9966 45.0000 9.9988 50.0000 9.9995 >> >> z=((3+6*i)*(6+4*i))/((2+i)*2*i)+7+10*i z = 17.2000 + 6.4000i >>
  • 2. Sheet 1 1.4 ) Write a function-file that can be used to calculate the equivalent resistance of n parallel connected resistors 1.3 ) Write a function-file to obtain the dot product and the vector product of two vectors a and b function [c,d] = trial1(a,b) d = sum(a.*b); i = (a(2)*b(3))-(a(3)*b(2)); j = (a(3)*b(1))-(a(1)*b(3)); k = (a(1)*b(2))-(a(2)*b(1)); c = [i,j,k]; end >> x=[1,5,6]; >> y=[2,3,8]; >> [c d]=trial1(x,y) c = 22 4 -7 d = 65 >> function R = trial2(x) n = length(x); y = 0; for i = 1:n y = y+(1/x(i)); end R = (1/y);
  • 3. Sheet 1 end >> r=[100,200,300,400,500]; >> trial2(r) ans = 43.7956 >> >> R=[1 2 3;2 3 6;3 6 7]; >> I=[1;2;6]; >> v=R*I v = 23 44 57 >> >> y=0.5+j*6+3.5*exp(j*0.6)+(3+j*6)*exp(j*0.3*pi) y = 0.2979 +13.9300i >> 1.5 ) The voltage V is given as V=RI, where R and I are resistance matrix and I current vector. Evaluate V 1.6 ) simplify the expression y=0.5+j6+3.5ej0.6 +(3+j6)ej0.3π
  • 4. Sheet 1 function [ y ] = fact( n ) y=1; i =1; for i=1:n y=i*y; end end >> x=fact(7)/(fact(3)*fact(4)) x = 35 >> function [ a ] = tarea( x , y , z ) s =(x+y+z)/2; a= sqrt(s*(s-x)*(s-y)*(s-z)); end >> tarea(56,27,43) ans = 563.4891 >> tarea(5,12,13) ans = 30 >> 1.7 ) Write a function file to evaluate n factorial (i.e. n!); 1.8 ) Write a function to compute the area given the sides of a triangle. NAME: Ahmed El-morsy Abdel-hamid Sec: 1 about me :) THANK YOU 