Answer to Question #97204 in MatLAB for Lana

Question #97204
Scalar variables. Make the following variables
a. a =10
b. b = 2.5´1023
c. c = +2 3i , where i is the square root of -1
j2 / p 3 d. = , where j is the square root of -1 and e is Euler’s number1 d e (use exp, pi)
1
Expert's answer
2019-10-24T08:01:40-0400

For now send the first three.

clc;
clear global;

a = 10;
fprintf('a = %2.0f\n',a)

b = 2.5^1023;
fprintf('b = %1f\n',b)

c = 2 + 3*1i;
fprintf('%s %s\n','c =',num2str(c))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS