تم الحل ✓
categoryبرمجة وتطوير البرمجيات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
1. Calculate the following by Matlab:
sin(0.2π)
Cos
+ tan72º
Hint: π is pi in Matlab; use nthroot function.
2.1×106-15.2×105
3x √√6x1011
c+a
2. With Matlab, define the variables c=4.5, d=1.7, a=cd² and b, then evaluate:
c-d'
d+ (cd)² - cd-1
a
3. Given are 5x6 matrix A, a 3x6 B and a 9- element vector v.
258 11 14 17
3 69 12 15 18
A 47 10 13 16 19
58 11 14 17 20
5 10 15 20 25 30
B 30 35 40 45 50 55 v = [99 98 97 96 95 94 93 92 91]
L55 60 65 70 75 80]
L6 9 12 15 18 21-
Create the three arrays in the Command Window, and then, by writing one command,
Replace the last four columns of the first and third rows of A with the first columns of the
first tow rows of B, the last four columns of the fourth row of A with the elements 5 through
8 of v, and the last four columns of the fifth row of A with columns 3 through 5 of the third
row of B.
You should have:
A =
2
5 5 10 15 20
3
6
9 12 15 18
4 7 30 35 40 45
5
8 95 94 93 92
6
9 60 65 70 75
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.