Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Show the commands for the following. Do not show the results. ( a ) Create a vector from 1 0 to 1 0 0 0

Show the commands for the following. Do not show the results.
(a) Create a vector from 10 to 1000 containing all multiples of 5.
(b) Create a vector of values from -2 to 2 with a step size of 20.
(c) Create a vector containing 20 values, evenly spaced between 80 and 100. What should you use, colon ( : ) or linspace?
In direct current applications, electrical power is calculated using Joule's law as
P=I2R
where P is power in watts, I is the electrical current, measured in amperes, and R is resistance measured in ohms. The resistance of a conductor of uniform cross section (a wire or rod for example) is
R=lA
where, (rho) is the electrical resistivity measured in ohm-meters, l is the length of the wire, A is the cross-sectional area of the wire. This results in the equation for power
P=I2lA
Electrical resistivity is a material property that has been tabulated for many materials. For example:
Material
Iron
Gold
Copper
Aluminum
(ohm-meters)
1.010-7
2.4410-8
1.6810-8
2.8210-8
Write the Matlab code to calculate the power that is dissipated through a wire with the following dimensions for each of the materials listed (use Eq.3). Put all values of in a matrix/vector.
diameter, d
0.004m
length, l
1.2m
Assume the wire carries a current of I=5 amps. The cross-sectional area of the wire is given by A=(d2)2.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students explore these related Databases questions