How to solve an equation with a variable that has multiple values?

I am a learner and trying to solve one problem. I have values of
w=13122.25,
s=16.16,
p=1.225 and
relation
C=2w/(p*v^2*s).
I have values of v=(20,30,40,50,60,70,75)
and wanted to plot a graph of changing values of v with C. Please help.

Answers (1)

Hey, you need to use the point operator:
C=2*w./(p*v.^2*s)
link for more information.

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

on 18 Sep 2020

Answered:

on 18 Sep 2020

Community Treasure Hunt

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

Start Hunting!