تم الحل ✓
categoryبرمجة وتطوير البرمجيات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
Enter text to search
Contents
No results
Options v
+ อ
Fit to page
Page view
8.8 Write a program to compute the sum of the series 12+22+32... such
that the sum is as large as possible without exceeding 1000. The pro-
gram should display how many terms are used in the sum.
8.9 One of the programs in Section 8.2 shows that an amount of $1000 will
double in eight years with an interest rate of 10 per cent. Using the same
interest rate, run the program with initial balances of $500, $2000 and
$10 000 (say) to see how long they all take to double. The results may
surprise you.
8.10 Write a program to implement the structure plan of Exercise 3.2.
8.11 Use the Taylor series
cos x = 1-
+4
+
2! 4!
+...
6!
to write a program to compute cos x correct to four decimal places (x is
in radians). See how many terms are needed to get 4-figure agreement
with the MATLAB function cos. Don't make x too large; that could cause
rounding error.
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.