Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Mathematica input help needed. Just use any sawtooth function for 3.a. Need help but a real functioning mathematica input please. A List in Mathematica is

Mathematica input help needed. Just use any sawtooth function for 3.a. Need help but a real functioning mathematica input please.image text in transcribed

A "List" in Mathematica is the equivalent of an "array" in most other programming languages (like C, Python, MATLAB). This exercise requires you to create a list and perform the basic list manipulations like shifting and scaling all list values by a constant. You may need to consult the Mathematica help documentation. Question 2 a. Create a list named sinTable using the Table function to evaluate the expression Sin[x] at 100 points between 0 and 6 b. Increase all values of the list sinTable by a constant (e.g., 1) c. Multiply all the values of the list sinTable by a constant value (e.g., 10) CREATING PLOTS OF DATA AND FUNCTION TOGETHER In Mathematica Plot is used for plotting functions and ListPlot is used for plotting data. If we want to combine a plot of a theoretical prediction or a best fit curve with our data we need to combine these two different kinds of plots. The key method is Mathematica's Show function. Watch the screencast on combining plots of data and functions. (www.youtube.com/watch?v-NDA90htObC4). Question 3 Write down a mathematical expression for the predicted output signal of your waveform generator from one of the conditions you used in Lab 1 that was not a sine wave. [This does not have to be a formal math expression.. you can use the built-in Mathematica functions Mathematica has built in functions for Sin, SquareWave, SawtoothWave, and TriangleWave. Consult Mathematica's help for using these appropriately.] Make a plot of your prediction. Go ahead scale your sinTable function to the same frequency, amplitude, and offset as the expression in part (a) Combine the sinTable and the non-sine plot from parts (a) and (b) Do they match up as the should? a. b. c. d

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

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

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions