Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201894

Lower one value by a ratio in a formula

$
0
0

I have a value d at maximum height h_max. This value should at each interval decrease by specific ratio. Let's say:

d = 10
ratio = 1/100 # or 1:100 outside R 

So, at intervals

h = 100*c(1:h_max)

my d_h should be:

d_h = c(10:1)

How to predict the d_h values given d, h_max and ratio (rate) values?

Working example:

h_max = 10
ratio = 1/67

What are my d_h at intervals h?


Viewing all articles
Browse latest Browse all 201894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>