遇店加一半,遇花喝一斗

  • 时间:2020-05-16 11:04:24
  • 分类:数学世界
  • 阅读:167 次

数学题:李白提壶去打酒,遇店加一倍,遇花喝一斗,三次遇店,三次遇花,喝完杯中酒,请问壶中原有都少酒?

数学题解答:

用方程解: 设:壶中原有X斗酒。

一遇店和花后,壶中酒为:2X-1;

二遇店和花后,壶中酒为:2(2X-1)-1;

三遇店和花后,壶中酒为:2[2(2X-1)-1]-1=0

求出X即可。

推荐阅读:
Javascript’s toFixed Implementation without Rounding  Algorithm to Count the Minimum Add to Make Parentheses Valid  WXT pre-sale is now live – is it worth it?  How to Serialize and Deserialize Binary Tree?  How to Construct Binary Tree from String (Binary Tree Deserializ  Activist’s Mother Faces Prison After One-Word Facebook Reply  Ed-Tech Start-Ups Can Allow Anyone To Become A Teacher  Russian Hacker Sold Millions Of Passwords For Less Than A $1, Sh  How To Successfully Fine-tune Your Overall Social Media Strategy  What It Really Takes To Make Money As a Blogger 
评论列表
添加评论