Zadanie 1
(6-5)/2=0.5000
6-(5/2)= 3.5000
((4+8)/3)*2=8
(4+8)/(3*2)= 2
Zadanie 2
((sind(45)^3)-(3.15*exp(4)))/(log(10)+(abs((-4.67*(10^3))))^(1/3)) = -9.0249
(((log10(100))^(1/2))+(3*(cosd(90))))/(cotd(30)^(1/3)) = 1.1776
Zadanie 3
Zadanie 4
a=123, b=-15.34, c=23.21*(10^3), d=15.2+21.7j, e='Podstawy informatyki';
a, b, c, d, disp(e)
whos
save dane.mat, load dane.mat
Zadanie 5
z = -2 - 2j
abs(z) = 2.8284,
real(z) = -2
imag(z) = -2
conj(x) = -2.0000 + 2.0000i
Zadanie 6
format rat
pi= 355/113
format long g
pi= 3.14159265358979