Assuming that the coefficients of a polynomial are stored in an away a (we will assume its dimension n is at max 50), write a C code that computes its derivative at a point x specified by the user.
สมมติว่าค่าสัมประสิทธิ์ของพหุนามจะถูกเก็บไว้ในออกไป (เราจะถือว่า n มิติของมันคือการที่สูงสุด 50), เขียนรหัส C ที่คำนวณอนุพันธ์ของมันที่จุด x ระบุโดยผู้ใช้