Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Comprehension Check - write as directed to get the answer in blue. Write and run a command using scientific notation to subtract 2 million from

Comprehension Check - write as directed to get the answer in blue.
Write and run a command using scientific notation to subtract 2 million from 3 billion, then cube the result. (ans =2.6946e+28)
Write a command to compute the area of a circle of radius 20, rounded to 30 decimal places. ans =1256.63706143591729538505735331
Click on Section Break before continuing to start a new section. You should do this each time you complete section in your LS and prepare to start a new one.
Symbolic Calculation
By default, Matlab assumes all combinations of letters are variables. "x" is a variable, but so are "jack" and "jill".
This allows the program to quickly do algebra, trigonometry, and calculus, but it also requires you to learn how to use variables to your advantage.
But not all combinations of letters in Matlab are automatically considered symbols. You must Matlab know which ones are.
syms x
syms dog
Reminder: You MUST use a multiplication symbol in Matlab, eg x**y, even with variables.
dog???2***x???4(x???2+dog???4)???(-2)
dog2x4(dog4+x2)2
The expandO command (Even better than FOIL. This only works for symbolic variables!) expand ((x+2)**(2**x+1)???3)
(This also only works for symbolic variables!)
The factor() command 0**x???3+7560**x???2-2700**x+360)
factor (4320**x???4-9360**x??3x+1)
,(1803x-22x-12x-12x-1)
Read this list carefully. There is one integer factor and 4 linear factors.
Variables with Specific Values; Evaluating Expressions by Substitution
If a variable has a specific value in Matlab, you can enter expressions with that variable and Matlab will evaluate the expression using the value of the variable.
Note: The equation below is used to store a value in the program's memory. It is neither true nor false.
The semicolon suppresses output from that line.
a=2;
no output
a=2;
a???(3)+(1+xa)???a
(x2+1)???2+8
Note: To remove a from the memory, use the clear command:
clear a no output
Comprehension Check
Write commands to assign values to y as the year of your birth and M as 1947. Evaluate the
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

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

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions