Uploading: ECD-With Complex Engineering Formula.pdf...
Hi Everyone, Please kindly spot why I am having this error "the operation > cannot accept the arguments: , [165.93], [infinity]
See attached the block image and the calculations I am trying to create. Thanks.
Problem is in these Blocks (or anywhere else you use a > operator.
1 Like
Many thanks for the reply. But how else can I depict when AV_DC is greater than VC_DC in the block.
ABG
May 1, 2023, 4:18pm
4
McCarthy:
[165.93], [infinity]
This is the first time I have seen infinity in any AI2 error message.
I am not sure it may be an actual AI2 data value, as opposed to some initial text value in an input Textbox.Text.
The surest way to get infinity in math is to divide by zero, which looks likely from your divide blocks, which are not protected by tests for 0 in the divisor.
1 Like
Hi @McCarthy ,
the problem is when VC_DC and VC_DP assume the infinite value. This means that they are the result of a division by 0 (zero). Check where they are calculated.
EDIT oooops also @ABG has got the same idea
Thanks guys. I was able to fix the problem by changing the logic block. However, when I test it on Al Companion I gets this error...
RUNTIME Error.. A required meta-data tag in your app's AndroidManifest.xml does not exist. You must have the following declaration within the element:
I checked my apk AndroidManifest.XML and saw this...
<service android:name="com.google.android.gms.ads.AdService"/>*
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:exported="false" android:hardwareAccelerated="true" android:name="com.google.android.gms.ads.AdActivity"/>*
<meta-data android:name="com.google.android.gms.version" android:value="12451000"/>*
<provider android:authorities="appinventor.ai_usoromccarthy.Mud_Engineering_Calculator.provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">*
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths"/>*
</provider>*
*
Which part of the AndroidManifest.xml should I replace with
I think you should ask the author of the ad extension...
Or instead of testing in companion, test in the compiled app.