Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use python. The value for where R is the square [0,1] x [0,1] is approximately 0.946083. Calculate the integral using Riemann sum so that the

Use python.

The value for image text in transcribed where R is the square [0,1] x [0,1] is approximately 0.946083.

Calculate the integral using Riemann sum so that the deviation is less than 0.003.

This is what I have done but there is something missing because it doesn't work:

import math

def f(x,y): math.cos(x*y) n = 100

sum = 0

for i in range(n): for j in range(n): sum += 1 * 1 * f((i*1), (j*1))

print(sum) print(float(0,946083 - sum))

R cos(xy)dA R cos(xy)dA

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions