Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PEMDAS 1 1 8 ? 2 4 ENGR 5 - MATLAB Lab 0 4 - Array Practice Open a new Microsoft Word document and type

PEMDAS
118?24
ENGR 5- MATLAB
Lab 04- Array Practice
Open a new Microsoft Word document and type your name and homework number at the top.
For each problem, submit evidence of both your MATLAB code/commands and your output. Screenshot from MATLAB into the Word document, and add any additional comments, etc., as needed to explain your work. Organize your submission in order, with the problem numbers clearly indicated.
Think about what the results would be for the following MATLAB expressions, and then type them into MATLAB to verify your answers. (Submit the results.)
Write MATLAB expressions to compute the following: 192,31.2tan()
19???(12),3???(1.2) tan (pi)
The combined resistance RP of three resistors R1,R2, and R3 in parallel is given by:
RP=11R1+1R2+1R3
Create variables for the three resistors and store values in each, and then calculate the combined resistance RP. Use values of R1=50,R2=100, and R3=200.
Rp=0.0025
Create a variable ftemp to store a temperature in degrees Fahrenheit(F). Convert this to degrees Celsius (C) and store the result in a variable ctemp. The conversion is C=(F-32)**59.
Use values for ftemp of 32F,212F,75F, and -20F.
Wind often makes the air feel even colder than it is. The wind chill factor (WCF) measures how cold it feels with a given air temperature T(in degrees Fahrenheit) and windspeed V(in miles per hour). One formula for the WCF is:
WCF=35.74+0.6215T-35.75V0.16+0.4275TVV0.16
Create variables for the temperature T and windspeed V, and then use the formula above to calculate the WCF for (a)T=40F,V=20mph and (b)T=40F,V=50mph. Use arrays to store the T,V, and WCF values.
6. Create each of the following row vectors twice, first using linspace and then using the colon operator:
(a)1,2,3,4,5,6,7,8,9,10
7 linspact (1,10,10)
>(1:1:10)
hat( start )uarr end t elcments
uarruarruarruarr end
Stat increment
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions