Cody

Problem 45522. Electric Flux

Solution 2773999

Submitted on 3 Aug 2020 by Jerry Wright
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
E = 0; A = 10; Flux_correct = 0; assert(isequal(electric_fcn_flux(E,A),Flux_correct))

Flux = 0

2   Pass
E = 2; A = 10; Flux_correct = 20; assert(isequal(electric_fcn_flux(E,A),Flux_correct))

Flux = 20

3   Pass
E = 5; A = 10; Flux_correct = 50; assert(isequal(electric_fcn_flux(E,A),Flux_correct))

Flux = 50

4   Pass
E = 10; A = 10; Flux_correct = 100; assert(isequal(electric_fcn_flux(E,A),Flux_correct))

Flux = 100