blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f82a86cddff0f08a47ebe18b9fb8a036b7453cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH2/EX2.6/ex_2_6.sce | 9ff4644cdbb6206c981a603479c98deeafc93d20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | ex_2_6.sce | //Example 2.6:Convolution Integral
clear;
close;
clc;
t =-5:1/100:5;
for i=1:length(t)
if t(i)<0 then
h(i)=0;
x(i)=0;
elseif t(i)<=2
h(i)=1;
x(i)=1;
elseif t(i)<=3
h(i)=0;
x(i)=1;
else
h(i)=0;
x(i)=0;
end
end
y = c... |
49c053b4ac689161f30afa0db44387200835574b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH7/EX7.11/Ex7_11.sce | c2b601aec3ea86036d6fedb197ba0222af6c2e0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex7_11.sce | // Initilization of variabes
P=20000 //N //Weight of the shaft
D=0.30 //m //diameter of the shaft
R=0.15 //m //radius of the shaft
mu=0.12 // coefficient of friction
// Calculations
// Friction torque T is given by formulae,
T=(2/3)*P*R*mu //N-m
M=T //N-m
// Results
clc
printf('The frictional torque is %f N-... |
617dbe4a20085df5e36b7bb14c44325d0e0b198d | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/oct_interp.sci | d4fc6e65d1b43334552d2951ff1629c519c13946 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,303 | sci | oct_interp.sci | //.............................................................................................................
// ................................Using "callOctave" method..............................
//.............................................................................................................
//... |
065db74beb2299a4b2edc4409876aa74604dc4be | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/percent/%r2for.sci | bdbe2cdfb32a041c882f531a68104b04277de1dd | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,006 | sci | %r2for.sci | //[stk,nwrk,txt,top]=%r2for(nwrk)
// genere le code Fortran relatif a la division a droite
//!
s2=stk(top);s1=stk(top-1);top=top-1;
if s1(4)=='1'&s1(5)=='1'&s2(4)=='1'&s2(5)=='1' then
if s2(2)='2'|s2(2)='1' then s2(1)='('+s2(1)+')',end
if s1(2)='2' then s1(1)='('+s1(1)+')',end
stk=list(s1(1)+'/'+s2(1),'1',s1(3... |
f8e45a2e114bde3ef3e4faa1bda60e80c7aac6c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.5/Ch04Ex5.sce | 0b3396b4d13a08667e90a0a2c6fd165c49c899c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,050 | sce | Ch04Ex5.sce | // Scilab Code Ex4.5: Page-119 (2006)
clc; clear;
T = 300; // Room temperature of tungsten, K
k = 1.38e-023; // Boltzmann constant, J/mol/K
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
E_F = 4.5*e; // Fermi energy of tungsten, J
E = E_F-0.1*E_F; // 10% energy below Fermi energy, J
f_T = 1/(1+exp((E-... |
ab0469fab70b22976262cac4a34f7f5254b21209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.27/example_3_27.sce | 00e69b14d776ae2ebc2bf0e341a92c90ebe85d46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | example_3_27.sce | clear;
clc;
disp("--------------Example 3.27---------------")
ratio=10; // power of signal after amplification/initial power of signal = p2/p1
amp=10*log10(ratio); // formula to calculate amplification or gain of power
printf("The amplification is %d dB.",amp); // display result
|
e3127ffa8d8e975d98a55f88ba11f9912aa3c33d | 0e5a67d0e8ecb5cefda5fbad81450df1ba99b829 | /lab_08_6_1/tests/FuncTests/0.2.tst | e49e2c718176032bc30fd87e574f77b185d47577 | [] | no_license | Dimkashow/BMSTU-C | 62266f002534826d7978dd32ae82ec163313e391 | f4dd614b3d7fb1e9c28ffe4ee0c8e45171dafe7b | refs/heads/master | 2023-05-01T20:00:27.402085 | 2021-05-15T17:16:25 | 2021-05-15T17:16:25 | 367,689,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19 | tst | 0.2.tst | IN="1 1 1"
STATUS=0 |
a967e5d9e1a731b7664900a653353dc1e18f61b5 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2bpc/test_3.sce | 7fd0440a74928c30bbb25a33ea907090157e6369 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | test_3.sce | // Test # 3 : Checking the type for Input Argument #3
exec('./zpklp2bpc.sci',-1);
[z,p,k,n,d]=zpklp2bpc(0.3,0.2,[0.5,0.6],0.4,[0.1,0.4]);
// !--error 10000
//K must be a scalar
//at line 57 of function zpklp2bp called by :
//[z,p,k,n,d]=zpklp2bp(0.3,0.2,[0.5.6],0.4,[0.1,0.4])
|
a1c4ef23bd54e103e6b5406999275a80f6cd2291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH11/EX11.6/Ex11_6.sce | 44caf4e3b8aca52f94b99e1fc130ceeb24d8c5e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | Ex11_6.sce |
// Example 11.6
f=150*10^3; // Frequency
Bw=75*10^3; // Band width
Q=f/Bw; // Q-Factor
disp(' Q-Factor is = '+string(Q));
// since Q < 10 there for we need to solve by Equation
// 75= f2-f1 & 150= root(f1... |
fcd346059ee7f4a6dcd37293a2ae9607f1dd453c | 0a1c3ed3b471bd0805778ea1f03dc265bd5ea963 | /test/add.tst | 011daf23167a4ab6d1a305a86e81f5f12992c966 | [] | no_license | goldenpartner/Assignment1 | 32aeb4bc435c840e930189fd62533b3710cbe490 | c13e732c338d1ca04abc2b355d8a48bd76907bcc | refs/heads/master | 2021-01-12T11:54:30.972457 | 2016-10-18T03:33:30 | 2016-10-18T03:33:30 | 69,310,866 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | tst | add.tst | LOAD s0, 01
LOAD s1, 01
LOAD s2, 01
loop: ADD s0, 01
ADDCY s1, 00
ADDCY s2, 00
JUMP NC, loop
OUTPUT s0, 00
death: JUMP death
|
3572e69c7ca6eb18481c184d341125680941acf3 | 6bd47868c9c7b3e9469b27f60a4757816a62060b | /Penyelesaian Persamaan Tak Linear/Metode Tertutup/Bisection/bisection.sce | 5c6a172dbb65fc244a639518f94c386f850ed2e4 | [] | no_license | fahrioghanial/Program-Metode-Numerik | 555401132e47516ff38ab7d38e1056c16e45ab1a | 83cfe9144c72a3adbabbe71923f32ab6209b02e8 | refs/heads/master | 2023-02-28T16:14:24.353765 | 2021-02-04T08:04:46 | 2021-02-04T08:04:46 | 335,882,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,400 | sce | bisection.sce | function[x,y]=bisection()
clc
a=input('masukkan nilai batas bawah = ');
b=input('masukkan nilai batas atas = ');
tol=input('masukkan nilai toleransi = ');
printf('\nfungsi Bisection Scilab');
c=a;
d=b;
if(f(a)*f(b)>0)
printf('\nfunsi f(a)*f(b), tidak ada akar pada >> >> [%d.... |
51ed43a9d0f6ff13671aed29ba9e0a24f32f1355 | 92c72d913b48bf15a54e01ea53cc0e6e79ebc723 | /Software/Script/Scilab/ADCAsgard/CSVLoader.sce | 7617c1320ebde6f147fc601c28bec4917cef2c05 | [
"CC-BY-4.0"
] | permissive | harrysteem/AirDataComputer | 426d2e240fe4de15038a5847c360aee32cf68f0a | de2a9173c35f690cf805c47386a25ba3b834ebd5 | refs/heads/master | 2021-04-28T18:03:37.303621 | 2018-02-16T06:58:27 | 2018-02-16T06:58:27 | 121,865,356 | 1 | 0 | null | 2018-02-17T15:17:10 | 2018-02-17T15:17:09 | null | UTF-8 | Scilab | false | false | 7,812 | sce | CSVLoader.sce | //ADC Asgard CSV Loader. JLJ. Basicairdata Team.
writetoQGISfile=1; //If 1 write output to CSV file for QGIS
debug=1;//1 debug mode
exec('rhoair.sci')
exec('viscosityair.sci')
exec('ISAaltitude.sci')
clc
//Q = csvRead("LG3-50HZ.CSV") //Field data <- Buono
Q = csvRead("PIPPO01.CSV") //Air Data
GPS = csvRead("PIPPO0... |
974f10e322f4e0f3bb60ba2cc13d0de3c4eaa12e | bae098aa91588d492ec8bb4c76c274001c27cfe7 | /simple6.tst | 4e56e39741c0a6bd3c92c0d1f0b458f6dbaa5555 | [] | no_license | i5-2/pentium-dual-core | 1e7abb217972ec468b54eee6fa077dc6eec1875d | e56c0a450666ddd15e99a351d9335952b29431e6 | refs/heads/master | 2020-04-20T21:55:34.594056 | 2019-02-26T16:52:19 | 2019-02-26T16:52:19 | 169,122,993 | 0 | 0 | null | 2019-02-25T18:36:58 | 2019-02-04T18:01:59 | Python | UTF-8 | Scilab | false | false | 395 | tst | simple6.tst | timelimit 5
boardsize 10
play w C3
play w D3
play w F3
play b A2
play w B2
play w C2
play w D2
play w E2
gogui-rules_board
genmove b
# b's move can be any (random because loss)
gogui-rules_board
genmove w
#?[F2|E3]
gogui-rules_board
genmove b
# b's move can be any (random because loss)
gogui-rules_board
# Should comp... |
f9ebb8ba815011ef544e39c44c9b065e78a81b79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH7/EX7.2/Example7_2.sce | 2eaa9cfd9fe31a1609a83077be3a01e2d7ef3964 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Example7_2.sce | //Example 7.2
//Program to :
//(a)Calculate the optical power emitted into air as a percentage of
//internal optical power
//(b)Determine the external power efficiency
clear;
clc ;
close ;
//Given data
F=0.68; //TRANSMISSION FACTOR
n=1;
nx=3.6; //REFRACTIVE INDEX OF GaA... |
263168f2a8affda05f20d3b4966b267496d4fd94 | ea619b33cae5a486fb22da8bdcfe0bc7d81c3032 | /test/testcases/directed/rred4.tst | 1b84f45c5f4fa688d940bc3d1e0bbe8f8d351354 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexvonduar/optimized-routines | 714ab0a7b8d7d28fc689b0bae1e7a885fd461a69 | f59c54e97e2023a5981679b14637d8ee2abe2d2d | refs/heads/master | 2020-03-08T14:07:45.302916 | 2018-11-27T09:34:42 | 2018-11-27T09:34:42 | 128,176,402 | 0 | 0 | Apache-2.0 | 2018-11-27T09:34:43 | 2018-04-05T08:05:10 | C | UTF-8 | Scilab | false | false | 41,503 | tst | rred4.tst | ; rred4.tst
;
; Copyright (c) 1999-2018, Arm Limited.
; SPDX-License-Identifier: MIT
func=rred op1=5ee8da6e.555f15d0 result=3ccad12f.2b4c25d3.eaa res2=00000001 errno=0
func=rred op1=5ef7833f.a59d0dfd result=3c919ca2.3f5c493c.c76 res2=00000003 errno=0
func=rred op1=5efb3542.79418f04 result=bca803d2.ba28019c.b3f res2=00... |
322398d41d1c99ef089c62025b7b357d80a2a266 | 8a3446e086bbb6afa038ee746f941996286b32c6 | /Tests/LFRT_LF1.tst | c2596715585463e85f3564aee57f285bd740d119 | [] | no_license | FREA-ENT/svp_UL1741SA | ec5c7fa9a8a2f27b72ba6cea2960699613e10743 | 5d22145fcae26c33fcd62218ff185f6ed0a1bc34 | refs/heads/master | 2020-03-27T21:36:40.461101 | 2018-09-05T07:58:29 | 2018-09-05T07:58:29 | 147,161,108 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,759 | tst | LFRT_LF1.tst | <scriptConfig name="LFRT_LF1" script="SA10_freq_ride_through">
<params>
<param name="gridsim.frea.phases" type="int">1</param>
<param name="eut.t_msa" type="float">1.0</param>
<param name="eut.freq_msa" type="float">2.0</param>
<param name="frt.n_r" type="int">5</param>
<param name="eut.frt_... |
9317ca4be8de6c30ac70f86888e83c0be19fd249 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_trnd.sci | 529873be88e014f73a50b62a7e25239865f7f83d | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,342 | sci | distfun_trnd.sci | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCI... |
672a7c345ffa97c79f375c4c51fa905816efbe72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH5/EX5.1/Ex5_1.sce | fce2789f8d218572eb63dacca4b88fde0a2d406a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex5_1.sce | //Chapter 5 : Fibre Optics
clear;
//Variable declaration
n1=1.5 //core refractive index
n2=1.47 //clad refractive index
//Calculations
thetac=asin(n2/n1)
NA=(n1**2-n2**2)**0.5
im=asin(NA)
im=im*180/%pi
thetac=thetac*180/%pi
//Result
mprintf("Critical angle= %f degrees",thetac)
mprin... |
6ec94a0a3e3c24ecd69d3a7518fe0b4e20571fc1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2ac/poly2ac7.sce | 0ac1ed7eeebaea7030245d4ffdace116de97786a | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | poly2ac7.sce | //no i/p args are passed to the function
r=poly2ac();
disp(r);
//output
// !--error 10000
//Input arguments must be numeric.
//at line 31 of function rlevinson called by :
//at line 41 of function poly2ac called by :
//r=poly2ac();
|
897212fe38e9b73bb29f388d3bf8c41bff19c668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.5/example11_5.sce | 0e6e98c672f3c0b57e1589238f5060c7e46ec8aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | example11_5.sce | clc
// Given that
x = 100 // in meter
y = 10 // in meter
z = 5 // in meter
t = 1e-4 // in sec
// coordinates of point in frame F
v = 2.7e8 // velocity of frame F_ w.r.t. frame F in m/sed
c=3e8 // speed of light in m/sec
// Sample Problem 5 on page no. 11.19
printf("\n # PROBLEM 5 # \n")
// according to Galilean trans... |
3e19044e6118af2153b6a94029432046d1b8a094 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH8/EX8.3/Ex8_3.sce | 750f2c6ada61e4519e31330ac7a0305a46e960db | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | Ex8_3.sce | //Chapter 8 : Determinants
//Example 8.7
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[1 1 -1;2 1 3;1 -5 1];
disp(A,'A=')
detA=det(A)
disp(detA,'det A=')
detA=1*det([1 3;-5 1])-1*det([2 3;1 1])-1*det([2 1;1 -5])
mprintf('\nUsing a Laplace expansion along first row, det A=')
disp(detA,'det A=')
detA=-2*det... |
7ba57fbcd841cdec498117e914b2f22a85ed17d1 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/brge.instr.tst | 8ef2d73b073afe83f6c73ae0b65af1d0fe933829 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,670 | tst | brge.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000100 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000134 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xfc 0xf5 brge .+126 ; 0x80
0x2: 0xf4 0x... |
d593d06af86867b38c90aef164c57c3a1111b6e8 | 0a4a624c2aa1241962ca0adf212284d4fbf653ec | /1st/1-1.sce | a190ad5068647237189424503dc8740cac38823e | [] | no_license | zy414563492/Advanced-Course-in-Computational-Algorithms | 719a469c4b4f0aede9d89378408672d9ac712df5 | d6f5a089883b415ecd93b18bee81aac9bec69577 | refs/heads/master | 2020-08-29T07:13:39.251114 | 2019-12-17T16:11:40 | 2019-12-17T16:11:40 | 217,963,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | 1-1.sce | clear
nrows = 1000
ncols = 1000
density = 0.005
A =sprand(nrows, ncols, density)
nnzs = nnz(A)
[ij,val]=spget(A)
col_ind = ij(:, 2)
row_ind = ij(:, 1)
row_ptr = []
cur_ind = 0
for k = 1:nnzs
if cur_ind <> row_ind(k) then
for i = 1:row_ind(k)-cur_ind
row_ptr = [row_ptr k]
end
cur... |
519237b409dce2ef481eba11f9f155c7efb8020c | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH2/EX2.5/example2_5.sce | 2f4d5bc109572fefee71f14bba5fd3b99014fc76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | example2_5.sce | disp('chapter 2 ex2.5')
disp('given')
disp("from 741 datasheet")
disp("Zo=75ohm")
disp("Mmax=200000")
Zo=75
Mmax=200000
disp("For an voltage follower beta=1")
b=1
Zout=Zo/(1+Mmax*b)
disp("Typical output impedence")
disp('ohms',Zout) |
789bdf795c5a556413b1437780dcf7e593ba93e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH3/EX3.10/exa3_10.sce | 814df94bab8c8a0fef7235af10153d3a19bec07b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | exa3_10.sce | //Exa 3.10
clc;
clear;
close;
//given data
L=0.12;// in meter
t=.15*10^-2;// thickness in m
K=55.5;// in W/mK
h=23.5;// in W/mK
T_L=357;// in K
T_0=313;// in K
// Formula m=sqrt(h*rho/(K*A)) and rho=%pi*d and A=%pi*d*t, putting value of rho and A
m=sqrt(h/(K*t));
mL=m*L;
mL=floor(mL);
// Formula (T_L-T... |
1c8d37c6ee5f26504842107608e0fbfcea12a87b | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /GS/SCENARIO/uncover_toy.sce | 61db6c09b580eca75aa513676917ba70c3518033 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,294 | sce | uncover_toy.sce | #************************************************************
# Scenario of grande_salle
#
# date : Tue Jan 31 11:33:27 2012
#************************************************************
p3d_sel_desc_name P3D_ENV grande_salle
p3d_sel_desc_name P3D_ROBOT LOTR_TAPE
p3d_set_robot_steering_method Linear
p3d_set_robot... |
1f1b61db302ad25ad40bc7a74f73ab49ec902137 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r35/xmpl/roots.tst | 8d80d368a056927ee74e1ec38d63daaa81b4fd32 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 36,172 | tst | roots.tst | % Tests of the root finding package.
% Author: Stanley L. Kameny (stan%valley.uucp@rand.org)
comment This test file works only with Reduce version 3.5 and later
and contains examples all of which are solved by roots mod 1.94.
Answers are rounded to the value given by rootacc (default = 6)
unless higher accurac... |
0b98e57e6f02a41279b399a23e520887da4cc86b | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fgoalattain/fgoalattainTests/demo9.sce | 56499de33526fc5c87b8a7806b82dfff42b6c9a5 | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | demo9.sce | function f1 = objfun(x)
f1(1)=2*x(1)*x(1)+x(2)*x(2)-48*x(1)-40*x(2)+304
f1(2)=-x(1)*x(1)-3*x(2)*x(2)
f1(3)=x(1)+3*x(2)-18
f1(4)=-x(1)-x(2)-1
f1(5)=x(1)+x(2)-8
f1(6)=100*(x(2)-x(1)^2)^2 + (1-x(1))^2;
f1(7)=x(2)-x(1)*5+x(2)*x(2)
f1(8)=x(2)-4*x(1)+3
f1(9)=x(2)^3-x(1)^2+4
endfunction
go... |
cb75dde766ca9086560cdffbc2fef435ecca92d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.73/Ch02Ex73.sce | 5a4a6554da1931cc50b5a7d574bb1043974d9fbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Ch02Ex73.sce | // Scilab Code Ex2.73:: Page-2.58(2009)
clc; clear;
N = 550; // Number of fringes crossing the field of view
lambda = 5500e-008; // Wavelength of light used, cm
mu = 1.5; // Refractive index of the glass slab
// As 2*(mu-1)*t = N*lambda, solving for t
t = N*lambda/(2*(mu-1)); // Thickness of the t... |
433910d517739ae4a9dc675b7f517639a3359059 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.3/Ex12_3.sce | f9c89843216972fa8cd10f7d871c974eeabef324 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,558 | sce | Ex12_3.sce | //EX12_3 Pg-12.17
clc
clear
fm=5e3;//assume modulation frequency f=5kHz
fc=1080e3;//assume carrier frequency f=1080kHz
time=0:2.3148e-7:8e-4;
//Waveform of modulated signal for m=0.75
m1=0.75;//modulation index
VmbyVc=m1
Vm=1;//we assume modulation voltage=1V
Vc=Vm/m1;//carrier voltage
k=VmbyVc;//modulation ... |
782a9d88331c217be05d99f75e93cc49d2bc8c67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH6/EX6.12/Ex6_12.sce | 72830762d176fd52508b0ae5d6c9b444f69ca287 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Ex6_12.sce | //Chapter 06: Counting
clc;
clear;
function result=combination(n,r) //function definition
i=n
num=1
denominator=1
l=(n-r)+1
u=n
for i=l:u //to compute the value of the numerator
num=num*i
end
for j=1:r //to compute the value of the denominator
denominator=denominator*j
end
result=num/denominator
return result
endfun... |
4e8b6494f82a5b4b1de4b955fabbca3a9a6804d9 | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/detectSURFFeatures.sci | f2d6b492067789990b917b034469b00a6a5c6ded | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 4,179 | sci | detectSURFFeatures.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
5210f6854552eaf8939d0f9ea5d878f299cf7e6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH11/EX11.12/12.sce | 0bab443082cb651cfa4b151cb014ea8cd866aa13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | 12.sce | clc
w_O2=3*32/46*100/23; //For complete combustion of 1 kg of C2H6O, oxygen required
ratio=w_O2;
disp("A:F ratio=")
disp(ratio)
w1=88; //kg
w2=54; //kg
w=w1+w2; //kg
W=46; //kg
w_CO2=w1/W*100;
disp("CO2 produced by fuel")
disp(w_CO2)
disp("%")
w_H2O=w2/W*100;
disp("H2O produced by fuel")
disp... |
2d3b6dd59616b29bae74379f5c4f5df66dbbb5c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.19/ex_1_19.sce | 66d19053a0879dd899b06dfa5efd34ab13a8aee3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | ex_1_19.sce | //Example 1.19.// calculate the temperature indicated
clc;
clear;
close;
//given data :
Iin=160; // in celcius
t1=10; // in seconds
t2=5;// in seconds
I=30; // in celcius
Io=Iin+(I-Iin)*exp(-t1/t2);
disp(Io,"thermometer reading,Io(celcius) = ")
|
89bdc0698407d75e3b1fc4007d6ba65a0c3eb931 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.a.3/exaA_7_3.sce | 2b39e02e20b745d7dd4cbc7270c45653df1bbc1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | exaA_7_3.sce | // Example A-7-3
// Bode plot for system in state space
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("transferf.sci");
A = [0 1; -25 -4];
B = [1 1; 0 1];
C = [1 0; 0 1];
D = zeros(2,2);
G = transferf(A,B,C,D);disp(G,"transfer function = ");
subplo... |
10aea73c69f19078d466f29f2c6d2ffe37e3d05e | bf22bf34daeceb2106b5e2af1c24e480f628960c | /singlelayer-perceptron/perceptron-hebbian/scilab/perceptron_operation.sci | bec852bc0d905ad74c80fa564f74b0408f8726bd | [] | no_license | edielsonpf/neural-networks-examples | e3a045bf37e4b2ea681f05512ac71fdbb0cb4992 | 9fabec297b07987f3506401751719c56055d0f5f | refs/heads/master | 2020-12-24T08:46:39.412676 | 2017-09-23T11:22:11 | 2017-09-23T11:22:11 | 32,630,396 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sci | perceptron_operation.sci | // Classifica a doença de acordo com as caracteristicas colhidas no exame de
// sangue
// Parâmetros de entrada:
// entradas: Entradas do conjunto de treinamento
// pesos: Pesos iniciais da rede
// Parâmetros de saída:
// classes: Classificação das amostras passadas como entrada
function classes = perceptron_operation(... |
e36179a6cecf6488086ef0640a9f8211732fe323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH35/EX35.03/35_03.sce | 229974283a43b8ea02f2f723f1f6c5372cedb6f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | 35_03.sce | clear;
clc;
ct=2000/5;
i=40e3;
r1=.31;
a=28.45e-4;
r2=2;
is=i/ct;
e=is*(r1+r2);
f=50;
B=e/(4.4*f*ct*a);
C=B/sqrt(2);
C=round(C*10)/10;
mprintf("saturation magnetic field max=%fWb\t rms value=%fWb",B,C);
|
3a1158aebc6989019b31af31d2241424cf47aa34 | 07ab1b51dc9ecf7c9119f1285dbca193e04a174b | /WCST - This is the first version I made.sce | 1c9ebe1dcddc742f088692fab403f2b0c59c1d62 | [
"MIT"
] | permissive | GiovanniGiaquinto/WCSTinStimulusPresentation | f7f1f35e9ff2b8d04100da7898b0909d8608b343 | a926a4a36b1b29b7df25b4d6261638e837281c89 | refs/heads/master | 2020-12-30T16:15:37.508944 | 2017-06-02T13:43:04 | 2017-06-02T13:43:04 | 90,973,095 | 0 | 0 | null | 2017-06-01T09:27:17 | 2017-05-11T11:45:32 | Scilab | UTF-8 | Scilab | false | false | 17,859 | sce | WCST - This is the first version I made.sce | #headers
default_background_color = 255, 255, 255;
default_text_color = 0, 0, 0;
default_font = "cambria";
default_font_size = 28;
active_buttons = 4;
response_matching = simple_matching;
default_trial_type = first_response;
default_picture_duration = response;
#SDL
begin;
# The next section will be the coding of ... |
f041753de7663bd4978640241569b9ae9dcaed40 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_cache_1_b.tst | e03fa114fc538f3fb2ed7d19b7da7ab78308c5ff | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 890 | tst | test_cache_1_b.tst | item #0
item #1
item #2
item #3
item #4
item #5
item #6
item #7
item #8
item #9
item #10
item #11
item #12
item #13
item #14
item #15
item #16
item #17
item #18
item #19
item #20
item #21
item #22
item #23
item #24
item #25
item #26
item #27
item #28
item #29
item #30
item #31
item #32
item #33
item #34
item #35
item #... |
a024b58527005c695d494674a40203852679f9eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.18/21_18.sce | db8ed5185ab541bd0d87806a675f91d4dbfde1c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | 21_18.sce | //Chapter 21, Problem 18
clc;
vi=200e3; //rated transformer
pf=0.85; //power factor
lcu=(1/2)^2*1.5e3; //copper loss
lfe=1e3; //iron loss
p0=(1/2)*vi*pf; //full-load output power
lt=lcu+lfe; //tot... |
4681e3afba0088c66b1f62cdefcb0f66dc87e6c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.18/24Ex18.sce | feeac1bfc41daf4296a3b1032873966d109fb3c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | 24Ex18.sce | //chapter 24 Ex 18
clc;
clear;
close;
altitude=8; perimeter=32;
//from given the equation formed is x^2=(8^2)+(16-x)^2
side=320/32;
base=perimeter-2*side;
area=(1/2)*base*side;
mprintf("The area of the triangle is %.0f square cm",area);
|
4477c3115b1d68aacb7504461c9421dd8ac4833c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH9/EX9.3/Ex9_3.sce | 8aa0fa7c1fa67c478945e4b685455b1c32acca93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | Ex9_3.sce | clc;
Vout=12; //Volt
Vin=0.06; //Volt
Av=Vout/Vin;
disp('',Av,"Av=");//The answers vary due to round off error
|
a2536e71775b867b95f7ed589cfe8af20ff9f0c0 | d0eae76ce5fad31d0a6e879e2fe2c51079c1ec35 | /correlacao.sce | 8df63fc772008db927495f67e2d988b6e7ef0a0d | [] | no_license | matheuslopesz/mathCode | b13ed33aa1e6884c172012abf2d2cdba8240f7a3 | 5cf7a2c81b995c9123bd5caefa869b8a77205490 | refs/heads/master | 2022-03-14T23:12:08.881066 | 2019-12-14T00:40:51 | 2019-12-14T00:40:51 | 103,522,973 | 0 | 0 | null | 2019-12-14T00:40:52 | 2017-09-14T11:13:15 | Scilab | UTF-8 | Scilab | false | false | 185 | sce | correlacao.sce | close;
N =100;
b = rand(1,N,'n'); // criando vetor de número aleatórios
b = sign(b); // transforma em -1 e 1
b = 0.5 * (b +1); // transformar em 0 e 1
disp(b)
r = xcorr(b)
disp(r)
|
5a65d9190a2f1beee0499b658f5ed455d4796c0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH9/EX9.2/9_2.sce | e7115ceb8b675821c7dfc7bdd178d72b2722ddab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 9_2.sce | clear
clc
disp('Exa-9.2(a)');
K=1.44; Req=0.236; // K=e^2/(4*pi*e0)=1.44 eV.nm
Uc=-K/(Req); //coulomb energy
printf('The coulomb energy at an equilirium separation distance is %.2f eV\n',Uc);
E=-4.26; delE=1.53; //various standars values of NaCl
Ur=E-Uc-delE;
printf('The pauli''s repulsion energy is ... |
999d0fb0d32b05fc73a28c766f27b7735caf106d | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH6/EX6.9/9.sce | bcf6b7a3cbd7a881f9390e1625822a6d80616b1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 9.sce | clc
//Example 6.9
//Calculate the drop in pressure per unit length in a pipe
dp=0.1//psi
dx=800//ft
//let D represent d/dx
//1 psi = 6895 Pa
//1 m = 3.28 ft
Dp=(dp/dx)*6895*3.28//Pa/m
printf("The drop in pressure per unit length in the pipe is %f Pa/m",Dp); |
b6b52e499eac16c76afdb6c05118e1f904b0de1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.20/ex_3_20.sce | c3104278ac77576a4e0f694fcc8bd3c212c9a1c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | ex_3_20.sce | //Example 3.20:Resistance
clc;
clear;
close;
//given data :
R2=600;// in ohm
R3=400;// in ohm
R4=1000;// in ohm
R1=(R2*R3/R4);
disp(R1,"Unknown resistance,R1(ohm) = ")
|
a2402d45957ea03a40084b410f1043095257526e | 3389c1cdaf3066846fbbac0bc8c2a1fdb8fe0fca | /Metodo_newton_2_unknows_jonatas_bazzoli/Metodo_newton_2_unknow_jonatas_bazzoli.sce | df81d5dc713df5c06438f3c14c78210d296be2a9 | [] | no_license | jbazzoli/AgoritmosNumericos | bc7936d6a2db10a34a2c2f1a3033dc44f6f66d24 | 169f816992a5c0ddb5bfa54d1efb34c384e9201f | refs/heads/master | 2020-07-15T16:19:11.756569 | 2019-08-31T23:24:04 | 2019-08-31T23:24:04 | 205,606,105 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 752 | sce | Metodo_newton_2_unknow_jonatas_bazzoli.sce | //função são f(x)=x*x+y*y-2 e g(x)=x*x-y*y-1
x1=6;
x0=2.0;
y1=6;
y0=0.2;
f=0;
fx=0;
g=0;
gy=0;
gx=0;
fy=0;
eps=0.001;
cont=0;
cont2=0;
r1=0.7070;
y2=0;
erroant=0;
erroprox=0;
erro=0;
p=0;
while (sqrt(((x0-x1)/x0)^2)>eps) & (sqrt(((y0-y1)/y0)^2)>eps)
if cont2>2
y2=y1;
erroant=sqrt((y2-r1)^2)
cont2=0;
e... |
67df25ae4c3be6808ff4e42f06f1489014be79df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH11/EX11.9/Ex11_9.sce | 070fdb24a061b35f2b48263411036fd8b1eb78a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,617 | sce | Ex11_9.sce | clear ;
clc;
// Example 11.9
printf('Example 11.9\n\n');
printf('Page No. 324\n\n');
//given
T1 = 273;// Measured temperature In degree celcius
P = 1;// Measured pressure in bar
T2 = 290;// initial temperature In degree celcius
T3 = 1000;// Final temperature In degree celcius
T4 = 1150;// Entering tempeartu... |
1294cef2735001f375384f765bdf00b70d041cc1 | ab5ea127e50a95f36b0e30edcbc79a2952c91858 | /Igor_Yoshimitsu_trabalho7_ex2.sce | de53e5948fb150f825d3ff2097181f59a74cab02 | [] | no_license | igoride/Calculo_Numerico | 165580305214ac34f3fe1e00eb53eca1a6588afa | 9d43be899d7ae44adc08f48dbfc76fed10e09e93 | refs/heads/main | 2023-06-02T05:30:04.542633 | 2021-06-21T16:18:57 | 2021-06-21T16:18:57 | 378,991,891 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | Igor_Yoshimitsu_trabalho7_ex2.sce | function [I] = simpson13 (F, a, b, ns)
if modulo(ns, 2) == 0 then
h = (b-a)/ns;
else
ns = ns+1;
h = (b-a)/ns;
end
x = a;
soma = F(a)+F(b);
for i =1:ns-1
x = x+h;
if modulo(i, 2) == 0 then
soma = soma+4*F(x);
... |
e147a8f0ce83b46625202385b61d7de5aabf975f | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Phcutoffdata.sci | 879067ced247799ecff821a974be4224da0c508e | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,682 | sci | Phcutoffdata.sci | // 08.08.17
// 10.08.15 near line 25 or so
// 13.10.21 ( __ added to varibles )
function Out2__=Phcutoffdata(varargin)
global PHCUTPOINTL PHVERTEXL PHFACEL;
Eps__=10^(-4);
Out2__=[];
VL__=varargin(1);
FaceL__=varargin(2);
PlaneD__=varargin(3);
Sgnstr__=varargin(4);
Fugou__=1;
if Sgnstr__=='-' | Sgns... |
5784219a09253cc6355b43324cc7b6970fa030a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH24/EX24.1/Ex24_1.sce | 63dc02d45b67801474b3ad2b08e8035060ded20c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | sce | Ex24_1.sce |
clc;
Pi=5;
Po=100;
G=10*log10(Po/Pi);
disp('dB',G*1,"G=");
|
77b5158f8990401da5e4a98e941f87b6d8906c0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH8/EX8.6/Ex8_6.sce | 59aafc402bee1dc476ee4734f26c619df7e3f644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Ex8_6.sce | //Example 8.6
m1=0.350;//Mass of cart 1 and spring (kg)
m2=0.500;//Mass of cart 2 (kg)
v1=2.00;//Initial velocity of cart 1 (m/s)
v2=-0.500;//Initial velocity of cart 2 (m/s)
v1_final=-4.00;//Final velocity of cart 1 (m/s)
v2_final=(m1*v1+m2*v2-m1*v1_final)/m2;//Final velocity of cart 2 (m/s)
printf('a.Final vel... |
ef4ecfbfaf6e391920d5f170698da947b4397fe4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/sci2for/f_svd.sci | 3e4cba0167430618559bbdcadaa33a575ce0d53c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,826 | sci | f_svd.sci | function [stk,nwrk,txt,top]=f_svd(nwrk)
//!purpose
// Scilab svd function translation
//!parameters
// - stk :
// On entry stk is a global variable of type list
// entries indexed from top-1+rhs:top give the definition of the rhs
// function input variables
//
// After execution stk(1:lhs) must co... |
37f3860dfb1a6286edde075eb01837bd5842f679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.25/example1_25.sce | 163cc97a355adc3ab7361e75bfce73d5788f4377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | example1_25.sce |
//exapple 1.25
clc; funcprot(0);
// Initialization of Variable
time=4+20/60+30/3600;
accn=time*9.8565/3600;//acceleration
stime=time+accn;//sideral time
disp("local mean time in past midnight observed:");
a=modulo(stime*3600,60);
printf("seconds %.3f",a);
b=modulo(stime*3600-a,3600)/60;
printf(" minutes ... |
f1918e4569c92de4c27c4a81097b5dbd5831c1aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH5/EX5.9/Ex5_9.sce | 359afd06150177fa6e3adba05414f9610a27e693 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | Ex5_9.sce | clear all; clc;
disp("Scilab Code Ex 5.9 : ")
//Given:
d = 50; //mm
r = d/2;
c = d/2;
l_buried = 600; //mm
G = 40*10^3; //MPa
F = 100; //N
l_handle= 150; //mm
l_ab = 900; //mm
//Internal Torque:
T_ab = F*2*l_handle;
t = T_ab/l_buried;
//Maximum Shear Stress:
J = (%pi/2)*(r^4);
tou_max = (T_ab*c)... |
0afc4544858ce2b9fe9fc9cdf00bf82a712cf27b | 6aa7e38b0ca90fe7359bd05dbdeba87474bfbdfa | /MIT2.sce | 0489da84bdc869c6458b1dcbd30c0ae048479ffe | [] | no_license | abhinavraj12345/Scilab | 499afc50bd193fe0bda82ed298d3e8078a547941 | 9530d862984d58ca91bf7d55298381e268141e54 | refs/heads/master | 2020-04-15T16:07:57.545456 | 2019-06-13T06:56:25 | 2019-06-13T06:56:25 | 164,821,631 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | MIT2.sce | clc
clear
[y,Fs]=wavread("C:\Users\Abhinav Raj\Downloads\OnceUponaMidnightDreary.wav");
Fs_new=Fs/0.8
sound(10*y,Fs_new)
|
c9c70a345fd20c07f9515977479f2a3c92cb9e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.4/example11_4.sce | b58d2650a3a5da9fffb4601c759869bae0495483 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | example11_4.sce | //Chapter 11
//Example 11_4
//Page 275
clear;clc;
er=4;
l=1000;
d_out=1.8;
d_in=1;
c=er*l*1e-9/41.4/log10(d_out/d_in)/10;
printf("Capacitance of the cable = %.3f uF \n\n", c*10e6);
|
fa711f5e1c937f8360f18797fb7dd36612a1c9b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.9/ex9_9.sce | dad32b421dbf25a31833b9994274b960f5208261 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | ex9_9.sce | // Exa 9.9
clc;
clear;
close;
format('v',7)
// Given data
Rating = 250*10^3;// in VA
Pi = 1.8;// in kW
Pi = Pi * 10^3;// in W
Pcu_f1 = 2000;// in W
phi= acosd(0.8);// in °
Eta = ((Rating*cosd(phi))/((Rating*cosd(phi))+Pi+Pcu_f1))*100;// %Eta in %
disp(Eta,"The efficiency at full load in % is");
// The maxi... |
8f32433beaca547dbe68abd728371911d3021b6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.42/Ex4_42.sce | 0042887435d01d56af9b521bee89574915bb969a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex4_42.sce |
//calculate resistance nd reactance of circuit
P=15000; //power
Vl=400;//line voltage
V=Vl/1.732
I=35;//line current equal to phase current
Z=V/I
coso=15e3/(1.732*400*35)
R=Z*coso
X=sqrt(Z^2-R^2)
disp('reactance='+string(X)+'ohms' ,'resistance='+string(R)+'ohms')
|
f57658756b3cda57da69d9c52909d46ae7358df7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/besseli.man.tst | 6ec0e7754fa44f6731d17aeb39e5216436852c96 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | tst | besseli.man.tst | clear;lines(0);
besseli(0.5:3,1:4)
besseli(0.5:3,1:4,2)
|
c98d0fed60e27133dba298f7d08eb08a162a4c23 | d7087cf730b37f76170323e080c090f8094979ac | /test/parser/t6.tst | 0610be08853fd5bd7638d947bf3c9b9e02f37a08 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | tst | t6.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
for une_tres_longue_variable_une_tres_longue_variable_une_tres_longue_variable_une_tres_longue_variable_une_tres_longue_variable_une_tres_longue_variable in 0 1 2 3
do
echo ok
done
</stdin>
|
55d9f1e7def3da16c5797754fe51934a97098c81 | 669f52463d792f1d4933d95acd31792e2e47b056 | /extracases.sce | 198735d23fb44bf37ed66065b0f5d7f4a21882e1 | [] | no_license | larrybolt/wisk2hitori | ce39473d7a49fa32bdfea46f0fc8c8a8acc71163 | 5f01b9c13fa50cf7d4d865c5a34c95b20d195d4c | refs/heads/master | 2021-01-22T15:01:16.856691 | 2016-05-17T10:28:17 | 2016-05-17T10:28:17 | 33,406,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,719 | sce | extracases.sce | mode(-1);
warning('off');
// source: Real Hitori App
// Easy 10
N13=[7 1 4 2 6 1 8 3 3
3 4 9 2 6 7 3 1 6
1 3 8 2 4 6 5 7 5
8 1 1 3 5 4 7 2 7
4 2 3 7 1 5 7 5 1
7 6 8 8 3 5 4 9 4
1 3 5 6 2 1 4 8 5
5 8 6 3 9 2 7 3 1
4 5 7 9 7 1 3 4 5]
C13=[w z w z w w w z w
... |
0ea65e23f21dbfd060c1fd6fd2e8ce5f2dda4e85 | 6bd47868c9c7b3e9469b27f60a4757816a62060b | /Interpolasi/lagrange.sci | b885e433233a7b568d1331d68ecda901e2178081 | [] | no_license | fahrioghanial/Program-Metode-Numerik | 555401132e47516ff38ab7d38e1056c16e45ab1a | 83cfe9144c72a3adbabbe71923f32ab6209b02e8 | refs/heads/master | 2023-02-28T16:14:24.353765 | 2021-02-04T08:04:46 | 2021-02-04T08:04:46 | 335,882,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sci | lagrange.sci | /*
Nama : Mohamad Fahrio Ghanial Fatihah
NPM : 140810190005
Deskripsi : Program Metode Lagrange
*/
clear;
clc;
printf('\nProgram Metode Interpolasi Lagrange\n');
X = [0.10 0.12 0.14 0.16 0.18 0.20];
Y = [0.004 0.006 0.008 0.011 0.015 0.018];
printf('Diketahui Data Berikut:\n');
printf('x\tf(x)\n');
for i=1:6
print... |
56f1cedbd688e2804ca91646b75eb23fb7483841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH21/EX21.8/Ex21_8.sce | 20a017993c0bb83578af3f62e7228c1182ffb590 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | Ex21_8.sce |
clc
// Given that
Pc = 2.4 // Pressure in combustion chamber in MPa
Tc = 3170 // Temperature in combustion chamber in K
Pj = 55 // Atmospheric pressure in kPa
Pe = 85 // Pressure at the exit of nozzle in kPa
At = 0.06 // Area at the nozzle throat in m^2
n_n = 0.91 // Nozzle efficiency
Cd = 0.98 // Coefficient... |
9178e96b6b6128477f601283e002ff9dda449238 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/demos/bike/c.sci | 0e4f0259edd1ac449921101f7dfdc911955df248 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sci | c.sci | //[var]=c(q,qd,u,paramopt)
var=fort('c',...
q,1,'d',qd,2,'d',u,3,'d',paramopt,4,'d',...
'sort',[1,1],5,'d')
//end
|
4d13bc65bd612f65c4e7d41bade9d76a8c52fc4b | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm/condor/test1/out/spheretocart.sce | cbef9c5e6fe4c5c7f66ab116300dbc82f0477b97 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,148 | sce | spheretocart.sce | function [gxx,gxy,gxz,gyy,gyz,gzz] = spheretocart(nx,ny,nz,x,y,z,r,grr,grt,grp,gtt,gtp,gpp)
// [gxx,gxy,gxz,gyy,gyz,gzz] = spheretocart(nx,ny,nz,x,y,z,r,grr,grt,grp,gtt,gtp,gpp)
// [PURPOSE] Convert spherical metric components to cartesian
//
// [ARGUMENTS]
// [INPUT]
// nx,ny,nz : grid sizes of the 3... |
1bfe50a319d0783b2e9eb85876e565dbdbebfa77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.7.5/Example1_7_5.sce | 1d39380814607d99a24f843dccf2936e63bdf6b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Example1_7_5.sce | // Example 1.7.5 page 1.16
// Will total internal reflection take place?
clc;
clear;
n1 = 3.6; // RI of GaAs..
n2 = 3.4; // RI of AlGaAs..
phi1 = 80; // Angle of Incidence..
// According to Snell's law...
// n1*sin(phi1)= n2*sin(phi2);
//At critical angle phi2 = 90...
phiC = asind((n2/n1)*si... |
73d096c8a94d36a4bcc2921e24e7ea0442dbd73d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.7/Ex5_7.sce | 3f01fd7d52fe20c4280a58e42a2f66e5bff2269f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | Ex5_7.sce | clc
T1=300 //temperature in kelvin
P1=100 //pressure in kPa
P2=2 //pressure in MPa
gama=1.4 //Cp/Cv ratio
T2=T1*(((P2*10^6)/(P1*10^3))^((gama-1)/gama))
mprintf("T2=%fK\n",T2)//ans vary due to roundoff error
Cr=(T1*P2*10^6)/(P1*10^3*T2)
mprintf("Compression ratio=%f\n",Cr)//ans vary due to roundoff error
R=8.31... |
c80971393a55fa38568475036fccb6d49deff625 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.40/Ex2_40.sce | 0a1c46f8064c65d958a64b01c43bac8fc8e74cbc | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Ex2_40.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate the (a)Speed at full load and developed torque (b)Shaft power (c)Efficiency
//Exa:2.40
;
;
V=230;//in volts
R_a=0.4;//in ohms
I_a1=3.4;//in amperes
R_f=170;//in ohms
E_b1=V-I_a1*R_a;
I_f=V/R_f;
I_L=41;//in amperes
I_a2=I_L-I_f;
E_b2=214.142;//in volts
N_1=1... |
51cb6dbd39d4c36d29ee160cb8bdd4496f7e54ea | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_error.sci | 0e6793e3892d406daef2454ed509d1a48d59a4da | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 204 | sci | mdaq_error.sci | function error_desc = mdaq_error(error_id)
[error_desc] = mdaq_error2(error_id);
if error_id == -1 then
error(error_desc);
else
disp(error_desc);
end
endfunction
|
1b222f497e5077c148aaba5e5332e8ce0461aa48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.8/Ex4_8.sce | 882035f145827a771455458f85dced4cf46a90ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Ex4_8.sce | //Caption:signal to noise ratio
//Example 4.8
//page no 171
//find signal to noise ratio
clc;
clear;
//Given data
fm=3.5*10^3;
r=50*10^3;
fs=2*fm;
rms=0.2;
xmax=2;
v=r/fs;//signaling rate r=v*fs
v=ceil(v);
P=(rms^2)/1;
SNR=((3*P*2^(2*v))/(xmax^2));
SN=10*log10(SNR);
disp(ceil(SN),"signal to niose ratio... |
b226a4219752da8e668347382a39a9e456cd045a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.14/2_14.sce | cf610f216d46aec0cc84557dbdefff495533c564 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | 2_14.sce | clc,clear
printf('Example 2.14\n\n')
R_a=0.08, E_b1=242 , V=250
//part(i)
I_a1= (V-E_b1)/R_a
printf('(i)Armature current = %.0f A',I_a1)
//part(ii)
N=0
E_b=0 //because N=0
I_a_start=V/R_a
printf('\n(ii)Starting armature current = %.0f A',I_a_start)
//part(iii)
I_a2=120
E_b2=V-I_a2*R_a
printf('\n(iii... |
3415a766064286f22e4b65c7e0fa69eda5b19ad3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH4/EX4.4/Ch04Ex4.sce | 354134ca6e8a068f35cc5ce1ff264c837e8497c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ch04Ex4.sce | // Scilab code Ex4.4:Pg 117 (2008)
clc; clear;
N = 600; // Number of turns in a coil
F = 1500; // Magnetomotive force, At
// Since magnetomotive force,F = N*I, solving for I
I = F/N; // Excitation-current, A
printf("\nThe excitation current required =... |
ba9af41f565e3515797a233384ee5a914241419e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.5/Ex4_5.sce | 2a41ee2b75f1240227dcbadf0e02a5317fe722cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,327 | sce | Ex4_5.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.5
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
p = 4; // Number of the Poles in the DC machine
Nt =... |
7c7ef52c170f356b3edb0fa855a9d01e1e0511a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.5/Ex5_5.sci | 78c85847fce852f278e1354dc74c72ac913cdebd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sci | Ex5_5.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.5
clc;
clear;
s=poly(0,'s')
a=(s^7)+(9*s^6)+(24*s^5)+(24*s^4)+(24*s^3)+(24*s^2)+(23*s)+15
b=coeff(a)
n=length(b)
R=routh_t(a)
disp(R,'the routh array is;')
disp('... |
c2190ee368e5396aec83b6f856eb5ac7529b1125 | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/demos/enc858_ssab_nb.sce | 34bd55a06ed547e554cab5398c66375c30bd006d | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | enc858_ssab_nb.sce | // ==================================================
// Loose 8-5-8 encoder
// on a backpropagation network without biases, with SuperSAB
// (Note that the tight 8-3-8 encoder will not work without biases)
// (The 8-4-8 encoder have proven very difficult to train on SuperSAB)
// =======================================... |
013636e71b019c6095f51ac140a785edade7bf42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH8/EX8.6/65ex2.sce | 6c0c82b71992d4ee63832ae5a37255dbb760ffe9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 65ex2.sce |
//y=mx+b
//given x=4,y=6 and x=2.4,y=4.5
clear;
clc;
close;
m=poly(0,'m');
b=6-4*m; //(equation 1) when x=4,y=6
B=4.5-2.4*m;//(equation 2) when x=2.4,y=4.5
P=b-B;
disp("the solution is :");
m=roots(P)
//substitute this value
b=6-4*m
//"substitute these values in the equation y=mx+b"
x=poly(0,'x');
y... |
22b1c5ef7c1218fb469f2fd785a5fd277194d947 | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH2/EX2.4/Ex2_4.sce | 5e055b75a55756c9d2fe36d547c987d9027a21e3 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 187 | sce | Ex2_4.sce | //unit impulse//
clc;
f=-2:1:2;//input//
y=[zeros(1,2),ones(1,1),zeros(1,2)];//output//
subplot(2,2,1);
plot2d3(f,y);
xlabel('a(n)');
ylabel('amplitude');
title('unit impulse');
|
1ba4dee5616ffd15fa15f7b52a17ec11f934ac5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH11/EX11.2/Chapter11_Example2.sce | a4fd0675e593a30c2798bf2c256083792abd642b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | Chapter11_Example2.sce | clc
clear
//INPUT
k=0.9;//thermal conductivity in cgs unit
a=10;//area of the copper bar in sq.cm
t1=100;//hot side temperature in deg.C
t2=20;//cool side temperature in deg.C
d=25;//thickness of the bar in cm
t3=14;//temperature of water when entering in deg.C
//CALCULATIONS
m=k*a*(t1-t2)/(d*(t2-t3));//r... |
6e3f1605c914be709cd4b04d8f90899bcebc5dfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH4/EX4.7/example4_7.sce | fb0725079eaf7fedf9eed1ec6416e02dfc09d7aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | example4_7.sce | clc
// Given that
tou = 1e-10 // coherence time in sec
lambda = 5.4e-7 // wavelength of light in meter
// Sample Problem 7 on page no. 4.28
printf("\n # PROBLEM 7 # \n")
delta_v = 1 / tou
v_ = (3e+8) / lambda // calculation for frequency
d = delta_v / v_ // calculation for degree of non-monochromaticity
printf("\n St... |
759940b9f367977c15e040f663fb340417dd442d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH6/EX6.2/Ex6_2.sce | 8c7597c4d1089544b53202c67f010917f8c9f140 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | Ex6_2.sce | // SAMPLE PROBLEM 6/2
clc;clear;funcprot(0);
// Given data
m=150;// kg
M=5;// kN
theta=30;// degree
ACbar=1.5;// m
BDbar=1.5;// m
ABbar=1.8;// m
g=9.81;// The acceleration due to gravity in m/s^2
// Calculation
// SigmaM_C=0
A_t=M/ACbar;// kN
// SigmaF_t=m*abar_t
// alpha=14.81-6.54*cos(theta);
wsquare... |
6000df0d4bcc136a1a10d755a9fd9b21e55f4f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH4/EX4.3/4_3.sce | 5cab28f1889da7a3f54ebcf9405f2b9f53cf5567 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | 4_3.sce | clear
clc
disp('Ex-4.3')
delt=1; //consider time interval of 1 sec
delw=1/delt; // since delw*delt =1 from equation 4.4
delf=0.01 //calculated accuracy is 0.01Hz
delwc =2*%pi*delf // delwc-claimed accuracy from w=2*pi*f
printf('The minimum uncertainity calculated is 1rad/sec. The cla... |
c0c93c97059c905a96ca42621f4a97339bd8c5dc | f1555901bc9c49dcedf3e236c95a697804953b9b | /testinpoly.sce | a52fa15e944190e1be47af61578eb31457b8b8b6 | [] | no_license | JimSenee/Recherche | fcb6cab0f811d26acca52bf2d9c08231064b41aa | 47999b8169879267268dab2f73f89e7443d21810 | refs/heads/master | 2021-01-20T09:44:50.297701 | 2017-03-18T14:36:43 | 2017-03-18T14:36:43 | 90,280,476 | 0 | 0 | null | 2017-05-04T15:37:37 | 2017-05-04T15:37:37 | null | UTF-8 | Scilab | false | false | 515 | sce | testinpoly.sce |
xpol = [5 5 40 40];
ypol = [5 40 40 5];
xpoly(xpol, ypol)
jim = jimread(jimlabPath + '\tests\images\noError\rgba.png')
im = jim.image;
//gray et rgb
for i = 1:50
for j = 1:50
in(i,j) = point_in_polygon(ypol, xpol, i,j);
end
end
out = in .* im;
mat = uint8(~isinf(out)) .* out
... |
d940f8240528429f4b5204f56a4319fe81e538af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.52/example1_52.sce | 6c23daacc128831b52b6bb04c17049a87c136d33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | example1_52.sce |
//exapple 1.52
clc; funcprot(0);
// Initialization of Variable
//part1
GAT=5+17/60+6/60;//GAT of observation
delta=17+46/60+52/3600;//declination
i=37/3600*GAT;
delta=delta-i;
disp("declination of GAT is:");
a=modulo(delta*3600,60);
printf("seconds %.2f",a);
b=modulo(delta*3600-a,3600)/60;
printf(" min... |
d801267eeb1cb70642a1ce3792efcc5e51cc14d6 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160517_xor_with_mismatchmap/mismatchmap_summation.sce | 3d2f6012f0f9c55151ec986efd15dece4c5aedf5 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | mismatchmap_summation.sce | aaaaa=csvRead('/home/ubuntu/rasp30/prog_assembly/libs/chip_parameters/mismatch_map/mismatch_map_chip21');
bbbbb=csvRead('/home/ubuntu/rasp30/prog_assembly/work/calibration_step4/mmap_data_files/Vto_mismatch_data');
aaaaa(1:36,3)=aaaaa(1:36,3)+bbbbb(1:36,3);
aaaaa(1:36,:)
csvWrite(aaaaa,'/home/ubuntu/rasp30/prog_assemb... |
37edbd8a54078dbf367699f9d288a56d98e727a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/DEPENDENCIES/F_test.sci | 3fdeaccbb0dea3cc0177c63edc26d35788048798 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sci | F_test.sci | function [F]=F_test(Alpha,Test)
if Alpha ==0.05 then
if (Test==1 |Test==2) then
F = 2.65
else
F = [0.403,2.62]
end
elseif Alpha ==0.01
F = 0.176;
end
endfunction |
abc07d78032236c26a6e85232231ba428bdd454e | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH9/EX9.1.b/9_1_soln.sce | db94780e1842664e99e5742e650dc93315b43d75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,170 | sce | 9_1_soln.sce | clc;
pathname=get_absolute_file_path('9_1_soln.sce')
filename=pathname+filesep()+'9_1_data.sci'
exec(filename)
// Solution:
// cylinder speed during extending stroke,
vp_ext=(Qp*231)/(Ar*60); //in/s
// load carrying capacity during extending stroke,
Fload_ext=p*Ar; //lb
// power delivered to load during extending stro... |
7ef02711b9d6843e241049cd9847156950a0e30b | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/5_2_2.sci | 0ce83261b42e36725ccc722982d10c20e091a804 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | sci | 5_2_2.sci | T=360+273 //Kelvin
P=3 //atm
Vdot=1100 //kg/h
M=58.1 |
d3b3bfab48e57ec4ba111642a833f32c558b9da7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH11/EX11.5/example_11_5.sce | 05f6869dd5de53245497803f1f70ee40b9f32beb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | example_11_5.sce | //Chapter 11
//Example 11.5
//page 413
//To find Double line to ground fault current and voltage of healthy phase
clc;clear;
Z1eq=0.09*%i;
Z2eq=0.075*%i;
Z0=(%i*0.1);
Ea=1;
a=(-0.5+%i*sqrt(3)/2);
//to find the sequence components of healthy phase
Ia1=Ea/(Z1eq+(Z2eq*Z0/(Z2eq+Z0)));
Va1=Ea-(Ia1*Z1eq);
Va2=Va1;
Va0=Va1;... |
cf8d846bde601553ebff9702303e94a61d984de5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.8/ex18_8.sce | 4e78b292dfbb56f8b05f55091cf60251ef12da01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | ex18_8.sce | // Example 18.8, page no-464
clear
clc
N=5*10^28 //m^-3
alfe=2*10^-40 //F m^2
eps=8.854*10^-12
P=N*alfe
E_ratio=1/(1-(P/(3*eps)))
printf("The ratio of the internal field to the applied field = %.4f",E_ratio)
|
b07b4b53ec444eb8b59695699d090a951f27eb2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.12/Example9_12.sce | d73590dee4bf204c237d4c39c1e0341af4ecb676 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | Example9_12.sce | //Example 9.12. refer fig 9.56
clc
RS=50
RE=2*10^3
Ro=1*10^3
RL=4*10^3
VEE=6
VBE=0.7
RC=1000
VS=10*10^-3
format(5)
IE=(VEE-VBE)/RE
x1=IE*10^3
disp("We know that, IE = VEE-VBE / RE")
disp(x1,"Therefore, IE(mA) =")
re=0.026/IE
disp(re," Zb(ohm) = re(ohm) =")
Zi=(re*RE)/(re+RE)
disp(Zi," Zi(o... |
7abfb2b35e867b14be80e31e713b15ddf3e32eee | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/xdess/milk_drop.sci | 35691ee0e044283c962377dc858e51be578013c2 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sci | milk_drop.sci | function [z]=milk_drop(x,y)
// chute d'une goutte de lait.
//!
sq=x**2+y**2;
z= exp( exp(-sq).*(exp(cos(sq)**20)+8*sin(sq)**20+2*sin(2*(sq))**8) );
|
46096312150309f7f0e7142776df42caa9606ca2 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.20/EX9_20.sce | 4c82fce49c69cd109b7daba118014ea063367e6f | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,440 | sce | EX9_20.sce | clc;funcprot(0);//Example 9.20
//Initilisation of Variables
r1=0.3;...//Radius of spherical tank in m
T1=100;...//Temparature of fluid in spherical tank in K
r2=0.5;...//Radius of spherical tank inside in m
T2=300;...//Temparature of fluid in spherical tank inside in K
e1=0.15;...//Emissivity of inner tank
e2=0.... |
957dad1c7cea9b7e54cc8a80929d9dad668a5262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH10/EX10.17/10_17.sce | c6e04dd7421bb2aff9cdd76200a134ea55900c38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | 10_17.sce | //Problem 10.17:
//initializing the variables:
T = 1900;// in deg F
ea0 = 0
ea100 = 1
//calculation:
NHV0 = 0.3*(T-60)/(1 - (1+ ea0)*7.5E-4*0.3*(T-60))
NHV100 = 0.3*(T-60)/(1 - (1+ea100)*7.5E-4*0.3*(T-60))
printf("\n\nResult\n\n")
printf("\n NHV for 0 percent Excess air is %.0f Btu/lb and for 100 percent... |
a6a1f15738f175778b32dc28bbb582c8d1a63cb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH3/EX3.15/3_15.sce | 5ad9c1b99b4abd3402db6e5b353646d2324dea5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | 3_15.sce | clc
//initialisation of variables
Hf= -196.5 //kcal
H= -399.14 //kcal
//CALCULATIONS
H1= H-Hf
//RESULTS
printf (' Enthalpy = %.1f kcal ',H1)
|
a3e837fb39ba9674db74ebfb97277a633a369bce | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_5.tst | 4818e0d9b1622285dd883586d943a8f0c58c2c74 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 28,117 | tst | bow.18_5.tst | 18 7:3.0 8:0.25 12:1.0 15:0.16666666666666666 24:0.5 25:1.0 38:1.0 43:0.3333333333333333 64:1.0 67:0.3333333333333333 88:1.0 121:0.034482758620689655 241:2.0 269:1.0 285:1.0 292:0.5 296:2.0 740:1.0 746:1.0 1000:1.5 1375:1.0 1415:1.0 1448:2.0 1471:1.0 1773:1.0 2292:1.0 2347:1.0 2684:1.0 3296:1.0 3299:5.0 3302:0.04761904... |
f0946aa463ce1d7f0e10f58993158061c0a3e76a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.5/ex2_5.sce | cf5dc9c3429e3792807221997c9b716ed1bf8194 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | ex2_5.sce | // Exa 2.5
clc;
clear;
close;
format('v',5)
// Given data
V1 = 12;// in V
V2 = 10;// in V
R1 = 6;// in ohm
R2 = 7;// in ohm
R3 = 4;// in ohm
R_T = R1 + ( (R2*R3)/(R2+R3) );// in ohm
I_T = V1/R_T;// in A
I1 = (R2/(R2+R3))*I_T;// in A
R_T = R2 + ( (R1*R3)/(R1+R3) );// in ohm
I_T = V2/R_T;// in A
I2 = (R1*... |
abf13091e3a9c2fa3ae38e323430cfebfcc9b709 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/assign1/ring.tst | cbcc813206153632cdbcf3f134fb24485d94bace | [] | no_license | apetresc/castro | 1ec1ac1307542487aa1be14c335170f7a1347bf2 | 843165af7c946188a2dd772384cd2d579723c99d | refs/heads/master | 2022-02-20T14:28:41.962893 | 2019-10-07T08:41:59 | 2019-10-07T08:41:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | tst | ring.tst | boardsize 4
play w a1
play b g1
play w a2
play b f3
play w b3
play b e5
play w c3
play b d7
play w c2
play b d5
1 havannah_winner
#? [none]
play w b1
2 havannah_winner
#? [white]
|
09a07a8d7308e23eae41df4b7e525467aa4ce4ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH9/EX9.7/Example9_7.sce | 225e00fb8f6a2155bf7f2960ca5473e46f45975d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Example9_7.sce | //chapter9,Example9_7,pg 239
V=50*10^3
lam=(12400/V)*10^-10
n=4//FCC crystal
m=74.6
N=6.022*10^26
rho=1.99*10^3
a=(((n*m)/(N*rho))^(1/3))
//for kcl ionic crystal
d=a/2
theta=asin(lam/(2*d))
theta=theta*(180/%pi)
printf("min. wavelength of spectrum from tube\n")
disp(lam)
printf... |
c71b3da4c22db37402c85c2cb3e425bd2edd2a4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH6/EX6.4/6_4.sci | 4fd3a7a1d23919095c6c0c9db2d01b1d07eed4ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sci | 6_4.sci | //6.4
clc;
R1=45;
R2=100-R1;
l=500;
x=2*l*R1/(R1+R2);
printf("Position of the fault from the test end=%.1f m",x) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.