cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Integrating with a vector

jferguson
1-Newbie

Integrating with a vector

Hello

We are trying to integrate a function which contains a vector for wave frequency (omega) with respect to length (y). We need help programming the integral so that it gives a value of each value of omega. Currently it either gives us a single value, or says the solution does not converge.

Any help would be greatly appreciated!

Kind regards,

James and Daniel

Mathcad1.pngMathcad2.pngMathcad3.png

4 REPLIES 4

Use your index, calculate each one:

You can turn the integral into a function and vectorize the function:

RichardJ
19-Tanzanite
(To:jferguson)

As Mark has said, you are better off defining a series of functions that calculating a large number of intermediate results, and then evaluating that function at the end.

Thanks all!

Top Tags