Question: Define the variables x=3.4 and y=5.8 , and then use them to create a row vector (assign it to a variable named e ) that

Define the variables

x=3.4

and

y=5.8

, and then use them to create a row vector (assign it to a variable named

e

) that has the following elements:

(x)/(y)

,

x+y,x^(y),x\\\\times y,y^(2)

, and

x

.\ Solution\

>> format short g\ >x=3.4\ x=\ >y=5.8\ y=,5.8\ ->e=[[(x)/(y),x+y,x^(^(^()))y,x^(***)y,y^(^(^())),2,x]]\ e=\ 3.4\ 0.58621\ 9.2\ 1209.4\ 19.72\ 33.64,3.4
 Define the variables x=3.4 and y=5.8, and then use them to

5. Define the variables x=3.4 and y=5.8, and then use them to create a row vector (assign it to a variable named e) that has the following elements: x/y, x+y,xy,xy,y2, and x. Solution >> format short g > x=3.4 x=3.4>y=5.8y=5.8>e=[x/yx+yxyxyy2x]e=0.586219.21209.419.7233.643.4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!