Cody

Problem 45522. Electric Flux

Solution 2795614

Submitted on 6 Aug 2020 by Rafael S.T. Vieira
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))

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

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

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

Suggested Problems

More from this Author1