Purchase Solution

SciLab

Not what you're looking for?

Ask Custom Question

Please see the attached file for the fully formatted problems.
Problem 1
Consider the following two functions (see the attached file).
Write a program called <name>1.sce generates plots of these functions over the range 0&#8804;x&#8804;8 on a
single figure. Format the figure so that it is very readable and visually appealing - something you could
show in a PowerPoint presentation, for example. Look up the legend command using Scilab's help
function and use this to include a legend in your figure.
Problem 2
The function (see the attached file).
Write a program called <name>2.sce that implements the function (see the attached file).
Format the figure so that it is very readable and visually
appealing.
Problem 3
Write a program called <name>3.sce that defines a function
[h,d]=hitfacet(v,r,u)
where v is a 3-by-3 matrix in which each column gives the x,y,z coordinates of a point in space. These
three points represent the vertices of a triangular "facet" in space. r and u are 3-by-1 column vectors.
The function should determine if a line from the point r traveling in the direction u "hits" (intersects)
the facet. If not, then h='F' while if so then h='T' and d is the distance from r to the point of
intersection.
Problem 4
Consider a copper wire of length L and diameter D as shown below.
The size of wire is often specified by American Wire Gauge (AWG) values. The diameter of the wire
in inches is given by
(see attached file).
39 inch
where the integer nAWG is the AWG gauge. The resistance of a piece of wire is proportional to its
length and inversely proportional to its cross-sectional area (see the attached file) . That is
R&#8733; L
A
Assume that 1000 feet of AWG 16 wire (that is n AWG=16 ) has a resistance of 4 &#61527;.
We might want to know what gauge of wire is needed to carry a certain current I. The power dissipated
in the wire will be Pd=I2 R . The surface area of the wire is S=&#57542; D L . We might specify that the
dissipated power per unit surface area never exceed a certain value, or else the wire will not be able to
efficiently get rid of the heat generated by the resistive dissipation. Let us take as our standard that
AWG 16 wire can carry a maximum of 10 amps of current.
Write a program called <name>4.sce that contains a Scilab function awg(I) that outputs the nAWG
value required to carry the current I. Remember that nAWG must be an integer and the specified
maximum Pd / S cannot be exceed. You program should generate a plot of nAWG vs. I for (see attached file).

Attachments
Purchase this Solution

Solution Summary

Problems are solved using SciLab. The solution is detailed and well presented.

Purchase this Solution


Free BrainMass Quizzes
Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Probability Quiz

Some questions on probability

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.