15 views

Uploaded by Mathew Musallam

Using Matlab

Using Matlab

© All Rights Reserved

- EE561-fall2013-HW4-sol
- MATHEMATICS Textbook for Class VIII
- Ancient Indian Mathematics
- Importing Nozzle Loads From Autopipe Into Autopipe Nozzle
- The Mathematics Behind Big Data
- signals
- BUKSIS-6.5 BARU
- 02-ddply.pdf
- 4th grade post 9-17-18
- Math 100 Final Exam
- Patching Steps
- ninja 7
- Stress Testing
- calg s2 5 filled in
- calg s2 5
- C Programs
- L1_calc1acdcddcsdcs
- Simplified Design Charts (Using Linear Relationship - Short Range for Thickness & Reinforcement)
- ps10_sol
- edu 431 reading l

You are on page 1of 4

Instructions

Welcome to your first Lab Assignment. The purpose of this assignment is to assess your knowledge of the

basics of Mathematica. Please refer to Lab 1 Introduction if you have problems with any of the questions.

Here are some things to remember as you complete this first assignment:

1. Save the notebook to your computer right away, and save your work often.

2. When you have finished all the exercises, close any unnecessary cells and save as a PDF.

3. Upload the PDF on Canvas.

4. Do not delete this notebook. Save all your work until after the semester is over and your final grade has

been issued.

a) Right below this cell create a text cell. In the text cell, type your first and last name.

Matthew Musallam

b) Right below this cell create a math input cell. In it, take the number of letters in your last name and

subtract the number of letters in your first name. Evaluate the cell and show the output.

a) Use free form input to solve the equation cosHxL =

1

2

for x.

Cos@xD

1

2

SolveBCos@xD

1

2

, 8x<F

p

3

p

3

b) Verify the result by calculating the cosine of your solution from part a, i.e. calculate Cos@answerD. If you

get multiple answers, choose one to test.

Lab 1 Assignment.nb

1

2

c) Find the numerical value of cosH2L. Express your answer in decimal form.

-0.41614683654714238699756822950076218976600077107554

a) Using the documentation center, research the command Solve. Copy the first example presented in the

documentation center and paste it directly below this cell.

Solve@x ^ 2 + a x + 1 == 0, xD

::x

1

2

-a -

- 4 + a2

>, :x

1

2

-a +

- 4 + a2

>>

::x

1

4

I- 1 -

15 M>, :x

1

4

I- 1 +

15 M>>

c) Use the documentation center to research the command Log. Directly below this cell, create a math

input cell that calculates the numerical value of the natural log of 3. Present your answer as a decimal.

Log@3D

N@Log@3DD

1.09861

Lab 1 Assignment.nb

N@Log@3DD

1.09861

a) Create a text cell directly below each math input cell that describes the error in the following examples.

Sin@2D

N@Sin@2DD

0.909297

Plot@Sin HxL, 8x, - 2, 2<D

1.0

0.5

-2

-1

-0.5

-1.0

N@pi, 15D

pi

Question 5: Visualizations

a) Define f to be the function x 2 - 4 x - 1. Plot the function f HxL, f HxL + 2, and f HxL + 4 from x = -2 to x = 2

and show all three together using the Show[ ] command. Note, to see all the functions properly you will need

to use the PlotRange option for the Show command. Refer to the Documentation Center if you need help

with this option.

Lab 1 Assignment.nb

b) Create a text cell directly below this cell and describe what the plot of f @xD + b would look like if b was

some positive number.

f - 1 - 4 x + x2

Plot@8x, x + 2, x + 4<, 8x, - 2, 2<D

-2

-1

-2

- EE561-fall2013-HW4-solUploaded bySoo Kin Wah
- MATHEMATICS Textbook for Class VIIIUploaded byJacob Moore
- Ancient Indian MathematicsUploaded byArun Kumar Upadhyay
- Importing Nozzle Loads From Autopipe Into Autopipe NozzleUploaded bygchamma
- The Mathematics Behind Big DataUploaded bysapabapjava2012
- signalsUploaded byrajeshnaik_965429910
- BUKSIS-6.5 BARUUploaded byF X AGUS SISWANTO
- 02-ddply.pdfUploaded byGaurav Sharma
- 4th grade post 9-17-18Uploaded byapi-209011035
- Math 100 Final ExamUploaded byMichael Gboneh
- Patching StepsUploaded bydbareddy
- ninja 7Uploaded byPinBar MX
- Stress TestingUploaded bytony
- calg s2 5 filled inUploaded byapi-261379705
- calg s2 5Uploaded byapi-261379705
- C ProgramsUploaded byAdam Fowler
- L1_calc1acdcddcsdcsUploaded byMário Raia Neto
- Simplified Design Charts (Using Linear Relationship - Short Range for Thickness & Reinforcement)Uploaded byAsif Mostafa Anik
- ps10_solUploaded byBrian Dunn
- edu 431 reading lUploaded byapi-307185736
- Assignment InstructionsUploaded bynitin.1704
- schedule & journal(4)Uploaded byapi-254211369
- MBT_Figures.pdfUploaded bythemaninfrance
- cain-math newsletterUploaded byapi-312379987
- Mathematics 2009 Unsolved Paper Outside Delhi.pdfUploaded byroxtr
- ContentsUploaded bySergiu Alexandru Vlasceanu
- Random Thoughts on Population CodesUploaded byAnonymous WXheNT068O
- 251121813.editedUploaded byKeller Battletheif
- Bachelor of Science in Mathematics and Science TeachingUploaded byJulius Cagampang
- g8m5l4- discrete and continuous rate functions 2Uploaded byapi-276774049

- File Nicolae Iorga - Istoria Lui Mihai-Viteazul. Volumul 2.PDFUploaded byonigadd
- Web 2 and Web 3.0Uploaded byDiomedes Diomedes
- Python Testing TutorialUploaded bymanikantamnk11
- AVEVA Software Customisation Reference ManualUploaded byvb_pol@yahoo
- HandsOn System Safety BasicsUploaded bysamowe123
- Pov 60ml spec.pdfUploaded byAnonymous tbJ24554
- Computer Science SylabusUploaded byJagannath Jaggu
- V LawfuI Interception HandlingUploaded byAlex Andwanda
- SQL Interview QuestionsUploaded bySwati Sukhija
- i Phone ReviewsUploaded byCharu Gupta
- Advantages of JavaUploaded bySubodh Sonawane
- Topic 8Uploaded bySafinah Hassan
- CompilerUploaded byambilichandran
- Transducers_catalogue_A0140e-9_low5.pdfUploaded byMOHAMMAED
- Windows 10 KeyUploaded byTathagat Maurya
- 17CareersInBigData_BentleyUebook.pdfUploaded byAchintya Kumar
- 06_Apple_TN_121913_CE_revUploaded byjunaid_256
- Expect Tcl Tutorial PDFUploaded byBrandon
- Power CatalogUploaded byelenus1976
- Migration ChecklistUploaded byMohd Sufiyan Ansari
- Top 100 Tools for Learning 2011Uploaded bymagavi70
- 20_EHS_ENUploaded bySudhakar Lankapothu
- conferenceUploaded bySPS
- Smart Report FrameworkUploaded byHari Prasad Reddy Chaganur
- nokia and microsoft.docxUploaded byShrishtiNarayani
- R13_Budget Transfer in Budgetary Control With Business CaseUploaded byhuyhn
- Face Recognition Using A DCT-HMM ApproachUploaded byazizd15
- Advanced SQL and PLSQL TopicsUploaded bybanala.kalyan
- WL8064ARM-QIGUploaded byklulaku
- Linux Interview QuestionsUploaded byAshish Yadav