评估公式 [英] Evaluate formula

查看:92
本文介绍了评估公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
公式

(x-a)^ 2 +(mx + c-b)^ 2 = r ^ 2


注意:其中^表示功率


有人可以通过评估上述公式来告诉我x的值是什么


在此先感谢

Hello everyone
formula

(x - a)^2 + (mx + c - b)^2 = r^2


Note: where ^ means power


can anyone tell me what is value of x by evaluating above formaula


Thanks in Advance

推荐答案

您好
我假设编程语言为C#
您可以使用Math.Pow()函数在C#中完成此操作.您可以引用 [这个.]


您可以使用
将方程式转换为结果
Hi
I am assuming the programming language as C#
You can use Math.Pow() Function to accomplish this in C#. You can refer [this.]


You can convert the equation to result with
Math.Pow((x - a), 2) + Math.Pow((mx + c - b), 2) = Math.Pow(r,2);



:)但是,您的等式似乎应该以因此证明"结尾



:) But your equation seems like it should be ended with "Hence Proof"


您可能已经知道,通过一些操作,您的公式"可能写为
As you probably know, with a bit of manipulation, your ''formula'' maybe written
A x^2 + B x + C=0



那是规范的二次方程 [ ^ ],有一个简单的解决方案.



That is a canonical quadratic equation[^], having a straightforward solution.


这篇关于评估公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆