Answer:
what s this to me I will tell him to do the science and I am rewatching to be there to be in the
Explanation:
go see the teacher that you will be able for me and u look like me I don't want you anymore to me it will not tell you that you send me a question about your course on this subject matter as we have a lot to experience with our class on Friday
Answer:
a)
inv([1 1; 100 100])
warning: matrix singular to machine precision
warning: called from ATest at line 1 column1
ans =
Inf Intf
Inf Inf
b)
A = [4, 9; 5, 11]
B = inv(A)
A*B
B*A
4. 9
5 11
-11.0000 9.0000
5.0000 4.0000
ans . 00000 -0.00000
0 . 00000 1.00000
ans 1.00000 0.00000
0.00000 1.00000
c)
x = [5; 10]
y = A*x
x = [5; 10]
y=
110 135"
d)
B * y is
5.0000
10.0000
e)
B * y
ans 5.0000
10.0000
My learning target for today are the follows :
- I learn at least 2 words meaning that I don't know.
- I learn coding daily at least 10mins
- Some quotes
Make private accounts on defiant servers
Answer:
Following are the correct python code to this question:
n1 = float(input('Input first number: '))#input first number
n2 = float(input('Input second number: '))#input second number
n3 = float(input('Input third number: '))#input third number
n4 = float(input('Input fourth number: '))#input fourth number
average = (n1+n2+n3+n4)/4 #calculate input number average
product = n1*n2*n3*n4 # calculate input number product
print('product: {:.0f} average: {:.0f}'.format(round(product),round(average))) #print product and average using round function
print('product: {:.3f} average: {:.3f}'.format(product,average)) #print product and average value
Output:
Please find the attachment.
Explanation:
The description of the above python code can be defined as follows:
- In the above python program four variable "n1, n2, n3, and n4" is defined, in which we take input from the user end, and in these user inputs we use the float method, that converts all the input value in to float value.
- In the next step, two variable average and product are defined, that calculate all input numbers product, average, and hold value in its variable.
- In the last line, the print method is used, which prints its variable value by using a round and format method.