I want to plot v/vth as a function of y(where y varies from [0 d] and d=6)

2 vues (au cours des 30 derniers jours)
I want this equation to plot as V/vth (vth=2.5 and V varies as [0 5]) as a function of y( y varies [0 6] where d=6)
phim should be 90 degree, kindely help me to generate a code I have used syms command but i am getting a lot of error.

Réponse acceptée

Alan Stevens
Alan Stevens le 17 Juil 2022
Modifié(e) : Alan Stevens le 17 Juil 2022
The integral is infinite if you let phi go all the way to phim. If you restrict the upper limit of the integral to be less than phim you can get a finite result, but the value of the resulting integral will depend on the value you set for the upper limit.
Also, if you use a value of zero for y, you will get a divide by zero error, so you should probably start y at a small, but non-zero, value.
You can do the above numerically - you don't need symbolics.

Plus de réponses (0)

Tags

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by