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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5339e4cb55e84fe19d2c33b4356b2ecf4329523 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69.zip/Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69/CH2/EX2.11/2_11.sce | 99c3ab3510ac09dce5cc0bb4c03ea1c18aae1b20 | [] | 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 | 173 | sce | 2_11.sce | errcatch(-1,"stop");mode(2);; ;
E = 8; //volts
Vled = 2; //volts
I = 20*10^(-3); //amperes
R = (E-Vled)/I;
disp(R,'resistance value is : ')
exit();
|
365ba3467433752d8f96c95ef59a8d6f7876a8a4 | 91da29a7783c3162b1b743ad75d48814bd1f556e | /2_año/MN/Cholesky V2.sce | 51bc812f118696cd4941b1d8633b9a1cea12f7eb | [] | no_license | jfarizano/LCC | a149631059129b07a7c603bf16df0c1b25479edb | 70cb03b0ff0a788b1bbbf1a6bcd51beff48460fe | refs/heads/master | 2022-11-15T14:46:36.171561 | 2022-11-10T21:15:13 | 2022-11-10T21:15:13 | 246,933,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,073 | sce | Cholesky V2.sce | clc
clear
function [U,ind] = cholesky(A)
// Factorización de Cholesky.
// Trabaja únicamente con la parte triangular superior.
//
// ind = 1 si se obtuvo la factorización de Cholesky.
// = 0 si A no es definida positiva
//
//******************
eps = 1.0e-8
//******************
n = size(A,1)
U = z... |
097353f6ffc7243b97c86c401976eaa63ad1b0e9 | b948892b36eefdb35c47c821c51f69bb60989633 | /PrimeiraDiferenca.sce | 7c2a7e35d1cccbb5c0ad47689c4b76c3cdd675b5 | [] | no_license | lucas-medeiros/Digital-Signal-Processing | c5479eab20119e72ccb6adfe1c1d45fddf6dae7c | ba329ce5e5f6ca9ba7d46faba8661e9344627f9d | refs/heads/master | 2020-07-15T04:51:18.868263 | 2019-08-31T02:20:15 | 2019-08-31T02:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | PrimeiraDiferenca.sce | function vet = PrimeiraDiferenca(sinal)
N = length(sinal); //tamanho do vetor de entrada
vet = zeros([0:1:N+1]); //vetor de 0 até N+1 preenchido com zeros
b = 1;
for a = 2:1:N+1
//desloca o sinal de entrada uma posição para a direita colocando 0 na primeira e última posição
vet(a)... |
1e2ef8e899f2761655b74244c3319a136a9922fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH1/EX1.1/1_1.sce | f4d4efbe59a1839529df03cdeefe6674fdc75a10 | [] | 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 | 749 | sce | 1_1.sce | //To determine whether the gaseous molecule is stable
IE_1 = 502; //first ionisation energy, kJ/mol
EA_B = -335; //electron affinity for B atom, kJ/mol
e = 1.602*10^-19;
r = 0.3; //inter ionic seperation, nm
r = r*10^-9; //inter ionic seperation, m
N = 6.022*10^23*10^-3;
epsilon0 = 8.85*10^-12; ... |
40ca28f7c905e4bde1d8f92e878aa8b8367f6429 | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Nguyen_01.tst | dc000a53e816dd6e3490a032decc3ee0104e540c | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39,972 | tst | Nguyen_01.tst | x
f(xs)
-0.656422 -0.508378
0.625173 1.260358
-0.236404 -0.193729
-0.945219 -0.896275
-0.517589 -0.388352
-0.643648 -0.496017
0.889037 2.382108
-0.646309 -0.498567
0.436827 0.711000
-0.825174 -0.706133
0.682852 1.467543
0.532464 0.966945
0.609903 1.208757
0.901247 2.445528
-0.455915 -0.342822
-0.967401... |
1eb0713683d58e04e71dbf6bb2fd8ee173a88aad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH3/EX3.15/Ex3_15.sce | 67dfdc114557876c8ba6d4ad606285ac701cfc6d | [] | 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 | 283 | sce | Ex3_15.sce | //Ex 3.15 page 127
clc;
clear;
close;
n=3;// no. of phase
R=50;// ohm
Vs=400;// V
f=50;// Hz
alpha = 45;// degree
Vm=Vs*sqrt(2);// V
Vo=3*Vm/2/%pi*(1+cos(alpha*%pi/180));// V
Io=Vo/R;// A
printf('\n Average load voltage = %.2f V',Vo)
printf('\n Average load current = %.2f A',Io)
|
e044263b96e478d2d231063f97a38451bf009b32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.10/Ex12_10.sce | 79955f36c281314a279fa6785ba3560bcad90139 | [] | 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 | 286 | sce | Ex12_10.sce | //Initilization of variables
t=3 //s
//Calculations
//After solving the differential equation
s=(1/3)*(t+2)^3 //ft
v=(t+2)^2 //ft/s
a=2*(t+2) //ft/s^2
//Result
clc
printf('The displacement,velocity and acceleration at t=3s are %f ft,%f ft/s and %f ft/s^2 respectively',s,v,a)
|
b4b16e211097adaf892467b61db687d4a834f9f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH2/EX2.1/exm2_1.sce | 18b940afdaad02251196bfdd09ca6ab9532bf757 | [] | 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 | 570 | sce | exm2_1.sce | // Example 2.1
// Representation of integer constants on a 16-bit computer.
disp("Integer values");
//Integer values larger than 32767 are not stored properly on 16-bit machine
printf("%d %d %d \n",int16(32767),int16(32767+1),int16(32767+10));
disp("Long integer values");
//To store long integers pro... |
edca8eeea253c241882c948d31eebade8d5facbf | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/demos/microdaq.dem.gateway.sce | db53b33e0a1942d82d035efe01bfe4574ae4ca5a | [
"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 | 702 | sce | microdaq.dem.gateway.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("microdaq.dem.gateway.sce");
subdemolist = ["Data acquisition", pathconvert("data_acquisition/micr... |
26efcb54759738cbf9ae4e0a91971432b093a7de | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-env-variables-new/C/H5G/testfiles/112/h5ex_g_visit.tst | 126a5888404f3dbee08aac2924cfd3cddbcc4abc | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-hdf4"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 492 | tst | h5ex_g_visit.tst | Objects in the file:
/ (Group)
/group1 (Group)
/group1/dset1 (Dataset)
/group1/group3 (Group)
/group1/group3/group4 (Group)
/group1/group3/group4/group1 (Group)
/group1/group3/group4/group2 (Group)
Links in the file:
/group1 (Group)
/group1/dset1 (Dataset)
/group1/group3 (Group)
/group1/group3/dset2 (Datase... |
96e046525e97b498e3f8733e7f7edc41ff95bb8e | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/common/unit.sci | 2d4c43ce356e851c6f91e848aefc661ce32e09fa | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 314 | sci | unit.sci | //UNIT Unitize a vector
//
// VN = UNIT(V) is a unit vector parallel to V.
//
// Note::
// - Reports error for the case where norm(V) is zero.
function u = unit(v)
n = norm(v, 'fro');
if n < %eps
error('RTB:unit:zero_norm', 'vector has zero norm');
end
u = v / n;
endfunction |
eb6a69c88bb6f6191992f0ec72682e3e53ef849b | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH5/EX5.3/5_03.sce | d2c67d8a7bb59dc78c038aba97dd2e7b96f8121d | [] | 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 | 560 | sce | 5_03.sce | clear
clc
//Concentration(mol/litre) of components in the mixed feed stream is
CAo=1.4;CBo=0.8;CRo=0;
//Volume(litre)
V=6;
//For 75% conversion of B
//From stoichiometry of equation A+2B-->R
CA=1.4-(0.75*0.8)/2;
CB=0.8-(0.75*0.8);
CR=(0.75*0.8)/2;
//From the Given rate equation(mol/litre.min)
rB=2*(12.5*CA*... |
b3cf682afae81817f7b1c05d9509ad034819c671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.21/exa2_21.sce | ef338d3d4283ebc74a87886e8a9c8805083f3fd2 | [] | 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 | 166 | sce | exa2_21.sce | //Example 2-21//
//Decimal to hexadecimal conversion//
a=dec2hex(72905)
//hexadecimal equivalent of the decimal number//
disp(a)
//answer in hexadecimal form//
|
2962ced2698090aca47097911e7e3d21d8571f87 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/boundingRect.sci | 400828e5d34f15ee27216ba2265415ce38573af4 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 968 | sci | boundingRect.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_... |
24d1d79d54e6a0413e827dd5fd5b53a7e7c22175 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/usi/~LCM-SR-usi-nat.tst | 019d91930dd9a74f36fc4109829f625e5f535949 | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,064 | tst | ~LCM-SR-usi-nat.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.259808D+00
... |
681aaab1bdbb8ca260951a3c27e41438facaae9b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_delete_region.sci | 3b9ad886626330dadc4ccaea181920ddbdb0a311 | [
"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 | 612 | sci | do_delete_region.sci | function [scs_m,needcompile]=do_delete_region(scs_m,needcompile)
// Copyright INRIA
xinfo('Click, drag to select region and click to fix the selection')
[btn,xc,yc,win,Cmenu]=cosclick()
if Cmenu<>[] then
Cmenu=resume(Cmenu)
end
disablemenus()
[ox,oy,w,h,ok]=get_rectangle(xc,yc)
if ~ok then enablemenus();return;end
... |
0a39860f5c80a0fb1e59eacd704a8230b19b663b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.19/19.sce | fa4d392456bd57a8ec59c453d26cc57ebbe78eb0 | [] | 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 | 19.sce | //problem 1.19
s=1.5
s1=0.9
w=9810
h1=0.9
h2=0.6
p1=0.5*w*s*s1*h1*h1 //total pressure due to oil
p2=w*h1*h2*s*s1 // total pressure due to oil above water
p3=w*h2*h2*0.5*s //total pressure due to water
p=p1+p2+p3
h=((p1*0.6666*h1)+(p2*(h1+0.5*h2))+(p3*(0.6666*h2+h1)))/p
disp(p,"resultant pressure on the wall ... |
b9d6cbed2ca94ee12ef99d3fa972a1df08d3b2ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH3/EX3.23/EX3_23.sce | f6de6134e13838d6da66287dca62d68913c20697 | [] | 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 | 2,104 | sce | EX3_23.sce | //example 3.23<i>
//Find the convolution sum
clear ;
close ;
clc ;
t= -5:1/100:5;
for i =1: length (t)
if t(i) <0 then
h(i)=0;
x(i)=0;
else
h(i)=2^t(i);
x(i)=1;
end
end
y = convol (x,h) ;
//figure
f=scf(0);
plot2d (t,h)
xtitle ( ' Input Re spons e ' , ' t ' , ' h ( t ) ' );
xs2jpg(... |
93b108ed4ff6a0ebade948de7d5a976584cad887 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH6/EX6.10/example6_10.sce | 6d93d678de892df80d6959fc5a8ea413550a5a0b | [] | 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 | 962 | sce | example6_10.sce | //Chapter 6
//Example 6_10
//Page 114
clear;clc;
im=37.3;
pf1=0.8;
n_im=0.85;
sm=18.65;
pf2=0.9;
n_sm=0.9;
ll=10;
pf3=1;
fc=60;
rc=0.05;
h=2000;
ip_im=im/n_im;
lag_im=ip_im*tan(acos(pf1));
printf("Input power to induction motor = %.2f kW \n", ip_im);
printf("Lagging kVAR taken by induction motor = %.2f kW \n\n", lag... |
7bc1755b477a6b5a7f06829b2a7824e605eceeea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.2/Ex10_2.sce | cbfaf34301dc820ba90ec1568718112b498cc636 | [] | 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 | 889 | sce | Ex10_2.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 2
clear ;clc;
//Given data
P1 = 10.89 // volumetric composition of CO2
P2 = 3.63 // volumetric composition of CO
P3 = 3.63 // volumetric composition of O2
P4 = 81.85 ... |
3884d61c586b35637be755685dd483cadbdca90e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.11/Ex2_11.sce | e3deff5c97dcf80bfe52181a457ea39e18afad82 | [] | 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 | 501 | sce | Ex2_11.sce | clear
//
//
//Initilization of Variables
t=10 //mm //Thickness of steel
b1=60 //mm //width of plate1
b2=40 //mm //width of plate2
P=60*10**3 //Load
L=600 //mm //Length of plate
E=2*10**5 //N/mm**2
//Calculations
//Extension of taperong bar of rectangular section
dell_l=P*L*(t*E*(b1-b2))**-1*log(b1*b2**-1)
A_av... |
6b43a1d8bfbdc3882f56044f93d91b0c78e023ca | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH2/EX2.6.4/ex_2_6_4.sce | 900ce508a73a093852d631d1473ce7c4539b28aa | [] | 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 | 435 | sce | ex_2_6_4.sce | errcatch(-1,"stop");mode(2);//Example 2.6.4:limiting error
;
;
format('v',6)
r1=120;//in ohms
er1=0.5;//limiting error in resistance 1 in ohms ±
r2=2;//in amperes
er2=0.02;//limiting error in amperes ±
e1=er2/r2;//limiting error in current
e2=er1/r1;//limiting eror in resistance
et=(2*e1+e2);//totak error
etp=et*100;/... |
25bdcf8bb4797a1a9f66bf6158e00d2a66ed7f1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH7/EX7.22/Ex7_22.sce | e8af4b30c4c46d49e43c08c85f148d0395d8466a | [] | 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 | 233 | sce | Ex7_22.sce | //caption:find frequency time period of the system
//Ex7.22
clc
clear
close
n=30//reading of digital frequency counter
F=10^6//gate time period(in second)
T=1/F
t=n*T
disp(t,'frequency time period of the system(in second)=') |
999d04c2772647d43959ba047dc8e42637e8ff8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH3/EX3.6/ex3_6.sce | 3f92f38c922f8d809c7027ceb3cd440caa60a3d0 | [] | 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 | 305 | sce | ex3_6.sce | clc;
g=9.8; //gravitational constant in m/sec square
m=1; //mass in kg
F=1; //force in Newton
w=1; //in Newton
a=F/m; //calculating acc.
disp(a,"Accelaration in m/sec square = "); //displaying result
a=(F*g)/w;
disp(a,"Accelaration in m/sec square = "); //displaying result |
0ecdb01c373ec22e408ded63d641939ddde64b87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH4/EX4.16/Ex4_16.sce | 1b277ca7eedf1a6546068c77e088acf35ed94ee5 | [] | 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 | 693 | sce | Ex4_16.sce | clear all; clc;
disp("Scilab Code Ex 4.16 : ")
//Given:
yield = 250; //MPa
r = 4; //mm
width = 40; //mm
thick = 2; //mm
//a)
r_h = r/(width - (2*r));
w_h = width/(width - (2*r));
K = 1.75;
area = (thick*(width - (2*r))*10^-6);
P_y = (yield*10^6*area)/K;
P_y = P_y/1000;
//b)
P_p = (yield*10^6*area... |
2e0ce189fa7f568ca84d685dd7a7c2c14b521670 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/barthannwin.sci | d915893fe406dfe95cafeaa3d195c6eea9f25740 | [] | 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 | 415 | sci | barthannwin.sci | function w = barthannwin (m)
funcprot(0);
rhs= argn(2);
if (rhs ~= 1)
error("Wrong Number of input arguments");
end
if (~ (isscalar (m) & (m == fix (m)) & (m > 0)))
error ("barthannwin: M must be a positive integer");
end
if (m == 1)
w = 1;
else
N = m - 1;
n = 0:N;
w = 0... |
172eb3eb07e88496bc8209e6d61e19e3938779b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.38/Exa2_38.sce | 2bdbe480871394f171614e7c914d5c39fd9d9a5a | [] | 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 | 403 | sce | Exa2_38.sce | //Exa2.38
clc;
clear;
close;
format('v',7)
//given data
l=60;// in cm
l=l*10^-2;//in meter
d=20;// in cm
d=d*10^-2;//in meter
D=35;// in cm;
D=D*10^-2;//in meter
r1=d/2;
r2=D/2;
rho=8000;// in ohm-cm
rho=80;// in ohm-m
// Let Insulation resistance of the liquid resistor = Ir
Ir=[rho/(2*%pi*l)]*log(r2/... |
287c902a4c602e479539571222f080370f126f73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH10/EX10.12/ques12.sce | 3fc674ef0579d1bb0e1573ea719795b3d51a3b94 | [] | 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 | 377 | sce | ques12.sce | //ques1
clc
disp('finding the fourier series of given function');
syms x
ao=1/%pi*integ(x^2,x,-%pi,%pi);
s=ao/2;
n=input('enter the no of terms upto each of sin or cos terms in the expansion : ');
for i=1:n
ai=1/%pi*integ((x^2)*cos(i*x),x,-%pi,%pi);
bi=1/%pi*integ((x^2)*sin(i*x),x,-%pi,%pi);
s=s+float... |
1e74bda5726d431ed7b3385388785f8d5b1adcef | bbe6e7a0995eb50b5f7a6e73895ca0c1c121769b | /src/test_ods_1_c.tst | 5616788698d3968ecf780e72e0cbd79bd0e57496 | [
"OML",
"Zlib",
"BSD-3-Clause",
"MIT"
] | permissive | enejp/ciyam | 990a42e9d17654c5fae7e7ad9eb3f448d992a04e | 84f34d919e23c00feb168c004716c83e3c6afa53 | refs/heads/master | 2021-01-16T19:24:48.690169 | 2013-07-08T06:03:32 | 2013-07-08T06:03:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,818 | tst | test_ods_1_c.tst | ** File Info
Version Id = 65536
Num Writers = 0
Total Entries = 14
Transaction Id = 24
Index Free List = 13
Total Size of Data = 284
Data Transformation Id = 24
Index Transformation Id = 65
** Entry Info for: all
num: 00000000 ext: 00000000 txId: 00000017 txOp: 00000000 flags: lk=0 tx=0
pos: 00000000 len: 00000028
n... |
ad1c215ebe1361ca50a32ec64b2f8be8c32da6d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH4/EX4.2/Exa4_2.sci | f70f0ea8dfbc4bab031a3a60d7902918f9aaae81 | [] | 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 | 191 | sci | Exa4_2.sci | //Determine frequency present in the unwanted lower sideband
x = 2*(%pi/180);
a = 1/sin(x);
p = 20*log10(a);
disp(p, 'Frequency present in the unwanted lower sideband is (in dB)') |
2263b3ce435e851504f506366e5d5063591b9e93 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/plane_ACP.sci | 891fc6d4a5dd1b982ef5104f914ba01fffb3bd26 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,102 | sci | plane_ACP.sci | function [nvect,d, ori] = plane_ACP(X)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Computes the description of the LS-fit plane to the set of points.
//INPUT
//X: the set of points.
//OUTPUT
//nvect: the plane norm... |
a5ddaf8e77feb246e28343249b4d7aa3f3f032f6 | 9948e5af5e885117135b1a9ef1e6988dba9a8643 | /test/edifact1.prev.tst | f6b5dd29928f8fbb89e274dc9f01a1841ba44616 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/xtrans | eabfbdeee4d0024dee72174566c5c9de003d94d8 | 95dce33e3241ca46ad95df7b86afe2297106f80d | refs/heads/master | 2022-02-11T06:09:40.393075 | 2022-01-28T14:37:52 | 2022-01-28T14:37:52 | 16,539,509 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,114 | tst | edifact1.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<interchange>
<UNA sep=":+.? '"></UNA>
<n></n><UNB><d1><c1>UNOC</c1><c2>3</c2></d1><d2>ILNAbsender</d2><d3>ILNEmpfänger</d3><d4><c1>130230</c1><c2>1025</c2></d4><d5>98765</d5></UNB>
<n></n><UNH><d1>1</d1><d2><c1>ORDERS</c1><c2>D</c2><c3>96A</c3><c4>UN</c4></d2></UNH>
<n></n><... |
303170aca9b06ea95ec3cf8a472f38f114b745d7 | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/sftrans.sci | 916d44d0e3093100ca94aeb1fc702d8fb5bb7681 | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 3,259 | sci | sftrans.sci | function [Sz, Sp, Sg] = sftrans (Sz, Sp, Sg, W, stop)
//Transform band edges of a generic lowpass filter (cutoff at W=1) represented in splane zero-pole-gain form.
//Calling Sequence
//[Sz, Sp, Sg] = sftrans (Sz, Sp, Sg, W, stop)
//[Sz, Sp] = sftrans (Sz, Sp, Sg, W, stop)
//[Sz] = sftrans (Sz, Sp, Sg, W, stop)
//Parame... |
ac3bb1fed6526a621168e522e75f5c6e641bc065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH6/EX6.3/example3.sce | b439fdfc12e87af7239a32c5b00e5710b5a680b0 | [] | 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 | 776 | sce | example3.sce | //Chapter-6 example 3
//=============================================================================
clc;
clear;
//input data
e = 1.609*10^-19;//charge of electron
me = 9.109*10^-31;//mass of electron in kg
B = 0.40;//magnetic flux density
b = 10*10^-2;//Radius of vane edge from the centre
a = 4*10^-... |
ce57c26b60bb39e34b5e107cd107692ae48c4f01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH7/EX7.1/Ex7_1.sce | 208f9aa65fecc3f588c1f953909f33c53177a717 | [] | 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 | Ex7_1.sce | clc
clear
//Initialization of variables
T2=920 //R
T1=520 //R
P1=14 //psia
P2=84 //psia
J=778
R=53.35
cv=0.1715
N=1
//calculations
k= log(T2/T1) /log(P2/P1)
n=1/(1-k)
cx=cv+R/(J*(1-n))
dS=N*cx*log(T2/T1)
//results
printf("Change in entropy = %.5f unit of entropy",dS)
|
4270edc8195ec81f222951c8a766480f989a632a | c61d570c37971fa455028a89d2163f455f91c291 | /script_fisico/reglinear.sci | 482e4f1942bd4773fd78c8bbbed6c6f28d76b072 | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,995 | sci | reglinear.sci | function [a,r2] = reglinear(x,y)
// [fun,a0,a1] -> variaveis de saída
// -> a0 é o coeficiente Linear
// -> a1 é o coeficiente angular
// -> r2 é o coeficiente e determinção
// fun = a0 +a1*x
// (x,y) -> variaveis de entrada
// -> x - dados da variavel independente
// -> y - dados da variavel de... |
28c96754d46c355d23c82225ccdc1a907a6b844f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH6/EX6.27/Ex6_27.sce | e38398f859d9f574dcca80f787af5dcae8f0d153 | [] | 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 | 622 | sce | Ex6_27.sce | //Example 6_27 page no:356
clc;
max_demand = 175;//in kW
pow_fac = 0.75;
max_tariff = 72;//in rupees
tariff = 10;//in paise
phase_adv = 120;//in rupees/kVA
loss = 20;//in percentage
kVA_demand = max_demand / pow_fac;
max_demand_charge = max_tariff * kVA_demand;
cos_phi = sqrt(1-((phase_adv * loss)/(max_tariff... |
e63e543f7c3b859d23fc56c4e1bdd5e2fc7f1402 | 32869948ce801ed2e69b5fb986fc310cab9a6d4a | /macros/cleanmacros.sce | 35b7f9b01d474dee10242bb3dc443ef42017f4b6 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ierturk/SciPowerLab | 54ed5755cf4f3854176d7088f893317fe86cc0cf | da5d153272bae12564c1ded95241d6b40c8b4a90 | refs/heads/master | 2022-07-20T15:29:09.447509 | 2022-07-18T21:10:36 | 2022-07-18T21:10:36 | 94,237,627 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | cleanmacros.sce | // ErturkMe - Copyright 2011 - 2022
// http://erturk.me
// ierturk@ieee.org
// See license.txt
function cleanmacros()
curdir = get_absolute_file_path("cleanmacros.sce");
macrosdirs = [..
"MachinePal",..
"ControlPal"..
];
for i=1:size(macrosdirs,"*") do
exec(curdir+"/"+macrosdirs(i)+"/cleanmacros.sce... |
2e09e9a307f40299311ad42040458637a0c60bfd | a716b1a783311ba8f8caeb1aaaa71fed9e8895dd | /SciLab/functions/diff_Ns.sci | 13990c4fcfd0478d037f901b6fd166d8081564f8 | [] | no_license | AvrilWeinbach/MutualismDecline | c669bd8cf30d9183d3c609549f75693aac854d48 | ce5efa064ebcd01634f35db395445a41462bbb4a | refs/heads/main | 2023-04-14T03:47:01.000489 | 2021-10-06T10:42:49 | 2021-10-06T10:42:49 | 412,018,063 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sci | diff_Ns.sci | function dNs = diff_Ns(e,emax,alphaP,alphaN,gammaN,gammaP,rN,delta)
//requires
epsilon = e
rP = trade_off(e,emax,delta)
drP = diff_trade_off(e,emax,delta)
d = alphaN*alphaP-(epsilon)^2*gammaN*gammaP
dNs = ((gammaP*rP+epsilon*gammaP*drP)*d+2*epsilon*gammaN*gammaP*(epsilo... |
5e78bf8afa4be0a70bf08950a48deb9001727655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH14/EX14.4/Ex14_4.sce | c2bd1f9862001ea090e7317debbc8e1d295128a7 | [] | 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 | 478 | sce | Ex14_4.sce | clc
clear
//Initialization of variables
W=0.0065 //lbm/lbm of dry air
t=80 //F
td=60 //F
//calculations
H=0.24*t+W*(1060+0.45*t)
sig=H-W*(td-32)
Ws=0.0111
H2=0.24*td+Ws*(1060+0.45*td)
sig2=H2-Ws*(td-32)
//results
printf("In case 1, enthalpy = %.2f Btu/lbm dry air",H)
printf("\n In case 1, sigma function ... |
ce075630def3dd90847deef0bfb1e3d091899814 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH4/EX4.6/Ex4_6.sce | fadae8942db031e3d35148a28decb738cdd37e91 | [] | 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,250 | sce | Ex4_6.sce | // Exa 4.6
clc;
clear;
// Given data
//Referring circuit in Fig. 4.26
// An op amp integrator and a low pass Rc circuit)
// Solution
printf(' Figure (4.26) is a simple op-amp integrator where Millers theorem is applied across the feedback capacitor Cf. \n The input time constant T = R1*Cf*(1-Av). \n Th... |
3be9a6f5987948c1083b09d59fc308458d0a167c | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Texvalctr.sci | 96d1c7349ecc0f13481c680f151f8f1d863790a7 | [] | 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 | 86 | sci | Texvalctr.sci | // 2010.02.12
function Out=Texvalctr(N)
Out='\value{'+Texctr(N)+'}';
endfunction;
|
db02e886ae3d2cd7a3b686613bec96e3ca8dde4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH2/EX2.3/3.sce | 350756a32d722244aba0de69db457982c688ffb0 | [] | 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 | 3.sce | // Caption: Finding peak mmf and flux
clear;
close;
clc;
function [F_peak]=mmf(k,N,m,I)
F_peak=(1.5*4*k*N*I)/(%pi*2*m);
endfunction
f=mmf(.92,45,3,700);
U_o=4*%pi*10^-7;
B_peak=U_o*8.81*10^3/.01;//flux density
vel=25*0.5;//in m/s |
0f57fcbf9fc255d6924a7c5e84fa3eabafafbeaa | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/pad_ind.sce | d8135526d1aa987457fd90ae90d36f397dcb5aa6 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | pad_ind.sce | style.fontSize=14;
style.displayedLabel="<table> <tr><td align=center><b>IO Buf D</b><br>%2$s</td></tr></table>";
pal4 = xcosPalAddBlock(pal4,"pad_ind",[],style); //input pad digial buffered
|
5ca9e978231a018206747b3e633b68ea8d6e34d4 | 1a8ee276de64397a0a64bc48cad795f585998670 | /assignment1/lu_decomp.sce | fb6bdf0a5311b1c0f8a61fd1ff8ee7480284ac2a | [] | no_license | siddhantrao23/scilab | 3217b1d0a5c18f1ffa6751cfbca95bd71a621db2 | 5974b784340b457f70fc21484c6ff252d3a5eda4 | refs/heads/master | 2020-12-30T08:20:14.057086 | 2020-04-04T11:25:19 | 2020-04-04T11:25:19 | 238,926,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | lu_decomp.sce | rows = 3;
cols = 3;
A = zeros(rows,cols);
disp("Enter 3x3 matrix A");
for i = 1:rows
for j = 1:cols
A(i, j) = input("value for A:")
end
end
U = A;
disp(A,'The given matrix is A = ');
m = det(U(1, 1));
n = det(U(2, 1));
a = n / m;
U(2, :) = U(2, :) - U(1, :) / (m/n);
n = det(U(3, 1));
b = n / m;
U(3 ,:)... |
1dbe02a91deebaaa1945d954e1a79e5ac2fc880f | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/225.sci | 2d2b80d0a7079ed5f1aaf86863608b838beedefc | [] | 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 | 143 | sci | 225.sci | S1=0.83
S2=13.6
S3=0.83
h1=0.150//mm
h2=0.070//mm
h3=0.120//mm
pb=10//psi
pa=20//psi
h=.720//mm of Hg
p=9810//weight density of water |
85518162f7528c6cb521ff28d0d3cfb09a2467ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH9/EX9.12/Ex9_12.sce | 8ad3ea4bcff261c08f7bea97cff4ef5a767dd0a6 | [] | 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 | 676 | sce | Ex9_12.sce | clear all; clc;
disp("Scilab Code Ex 9.12 : ")
//Given:
P = 900; //N
T = 2.5; //Nm
d = 40/1000; //m
r = d/2;
c = r;
//Stress Components:
J = (%pi/2)*(r^4);
tou = (T*c)/(J*1000);
A = (%pi*r^2);
sigma = P/(A*1000);
//Principal Stresses:
sigma_avg = (0 + sigma)/2;
R = sqrt( sigma_avg^2 + tou^2);... |
7d4983abcc19097b834a35d7e15ed166e07d8424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH6/EX6.3/chapter6_ex3.sce | de76e16a403247af25bddad95a14aa9813262275 | [] | 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 | chapter6_ex3.sce | clc
clear
//input
z1=12+(%pi*16);//impedance 1 in ohms
z2=10-(%i*10);//impedance 2 in ohms
//impedances 1 and 2 are in parallel
v=240;//supply voltage in volts
//calculations
zt=(z1*z2)/(z1+z2);//total impedance in ohms
Z=(((real(zt))^2)+((imag(zt))^2))^0.5;//current magnitude in amperes
i=v/zt;//supply c... |
8b5598eef40c69dc2b618c6e5b9160c2d51eb73c | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/codegen/make_static_standalone42.sci | af1341e8772a2355d8957e1ab8fc388d59db82a3 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,596 | sci | make_static_standalone42.sci |
//==========================================================================
//generates static table definitions
//
//Author : Rachid Djenidi, Alan Layec
//Copyright INRIA
// Modified for RT purposes by Roberto Bucher - RTAI Team
// roberto.bucher@supsi.ch
function txt=make_static_standalone42()
txt=[''];
//... |
d22d48068673bc9747237d3fc405d2e32f2e9b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH2/EX2.9/example_2_9.sce | eb481f16db63587b1a330f9612f8b053a3dda3a8 | [] | 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 | 565 | sce | example_2_9.sce | //Example 2.9
clc
clear
close
a=[0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1];
b=[0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1];
c=[0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1];
d=[0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1];
for i=1:16 // finding Y for all 16 cases
x=bitor(a(i),b(i));
y=bitor(c(i),d(i));
r(i)=bitand(x,y);
x1=bitcmp... |
e755ec1f787de78cc43ac6928f37a7ada80d4601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH20/EX20.1/Ex20_1.sce | 913e2cfa7f4097ff9337ea4971ff56572470a08e | [] | 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 | 335 | sce | Ex20_1.sce |
E1=400//eddy current losses
//for a machine, eddy current losses is directly proportional to Bmax^2 and f^2
//Bmax is proportional to flux
//f is proportional to speed
//when speed and flux increased by 10%
E2=1.1^2*1.1^2*E1 //Eddy current losses under changed condition
mprintf("Increase in eddy current losses=... |
743a028769f13cdbc733746aa9a6c39ae82126f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH5/EX5.3/Example5_3.sce | d02212363b25a94af30950b5ba5f6a2538b29f4e | [] | 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 | Example5_3.sce | //Example 5.3
//Program to Determine Short Circuit Current Gain of the Transistor
clear;
clc ;
close ;
//Given Data
dIe=1*10^(-3); //A
dIc=0.99*10^(-3); //A
//Calculation
hfb=dIc/dIe; //Short Circuit Current Gain
//Displaying The Results in Command Window
printf("\n\t The Short Circuit Current Gain is alpha... |
bc9c324cded38e13c6e4b88485be4b3adecfd3ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH3/EX3.1/example_3_1.sce | fc0512a1410d8e12aab50c71f759496c1c8be8b7 | [] | 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,016 | sce | example_3_1.sce | //Chapter 3
//Example 3.1
//page 87
//To calculate the capacitance to neutral of a single phase line
clear;clc;
r=0.328; //radius of the conductors
D=300; //distance between the conductors
h=750; //height of the conductors
//calculating capacitance neglecting the presence of ground
//using Eq (3.6)
Cn=(0.0242/(log10(D... |
cd1aec8f26e6b64953132e8ec7e6a52ace7fb59e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH4/EX4.3/Ex4_3.sce | 58b696245b6d6570d4e517c69be7d7ef395fb49b | [] | 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 | 986 | sce | Ex4_3.sce | clear ;
clc;
// Example 4.3
printf('Example 4.3\n\n');
printf('Page No. 90\n\n');
// given
K1 = 26;// Thermal Conductivity of stainless steel in W/m-K
K2 = 0.038;// Thermal Conductivity of insulaton in W/m-K
L1 = 3*10^-3;// thickness of stainless steel in metre
L2 = 40*10^-3;// thickness of insulation in m... |
f31bb41f97cc6d89fd30d5929db5b7ba10ce9284 | 60e059d90a2ffbf23f8c91541e953e164e6ba59c | /proyecto-final/Proyecto_Final_1.sce | 22a48185b8c058f33ff77c93f1ae82c5e8dfa84a | [] | no_license | aroquev00/MetodosNumericos | 023e9d06eeba79939aac4c3d1126ba64db3854a7 | be3d8b6203b490db7832f4d356cba5ac88ac9c8f | refs/heads/master | 2020-08-01T22:47:55.204145 | 2019-11-27T17:16:11 | 2019-11-27T17:16:11 | 211,142,897 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35,400 | sce | Proyecto_Final_1.sce | clear
///////////////////////////////////////////////////////
// Proyecto_Final_1.sce
//
//
// Armando Roque A01138717
// Marco Brown Cunningham A00822215
//
// 27 / Noviembre / 2019 version 1.0
//////////////////////////////////////////////////////
//////////////////////////////////////////////////////
// ... |
c34aa87bbdded5049ad2c50dff8106238983ebd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH10/EX10.3.4/Ch10Ex7.sci | cdb7f9be23439f6dd2f6babbcd242aa1283dadd8 | [] | 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 | 690 | sci | Ch10Ex7.sci | // Scilab Code Ex10.3.4 Binding energy per nucleon of Ni-64: Pg: 220 (2008)
amu = 931; // Mass of a nucleon, MeV
MH = 1.007825; // Mass of hydrogen, amu
Me = 0.000550; // Mass of electron, amu
Mp = MH-Me; // Mass of proton, amu
Mn = 1.008665; // Mass of neutron, amu
m_Ni = 63.9280; // Mass of Ni... |
26826b481e7a5fe93b05c614e5ed47cb775fa789 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH1/EX1.1/Ch01Ex1.sce | 3b529e9ca098fbb6f365ab8744d0726905395045 | [] | 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 | 879 | sce | Ch01Ex1.sce | // Scilab code Ex1.1: Pg 3 (2008)
clc; clear;
I =.000018; // Electric current, A
V = 15000; // Electric potential, V
P = 250000000 // Electric Power, W
// Display standard form
printf("\nStandard form:");
printf("\n==============");
printf("\n%f A = %3.1e A", I, I);
printf("\n%5.0f V = %3.1e V", V, V... |
86f39cad8974d955a4b33a797867ea965a677892 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/branchify.tst | 3de1162667311f60623acde93f8b0c8c9bb8a9ef | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 100 | tst | branchify.tst | ## Test branchify command
branchify nontrunk nontrunkbranch
read <branchify.svn
prefer git
write -
|
2d837a0abf82aef40874a889580657087d432182 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.23/Example17_23.sce | f3df59f14cf7211a266e991cd5800a17fbdd599d | [] | 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 | 956 | sce | Example17_23.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.23 :
// Page number 306
clear ; clc ; close ; // Clear the work space and con... |
a3f939f61963868cebc02091f548948b1223c6ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH18/EX18.5/example5.sce | 5ab9a42ef56df2e41d7e773445c87e5836dbbdfd | [] | 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 | 432 | sce | example5.sce | // find power band width
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 18-5, page 673
clear; clc; close;
// Given data
Sr=15*10^6;// slew rate in volts/second
Vp=10;// peak voltage in volts
// Calculations
fmax=Sr/(2*%pi*Vp);// p... |
b6035a6fec4d0af1529478c50029ca63beed99c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.4/3_4.sce | ab0d4cdb928346234b97b102c01d00568792300c | [] | 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,162 | sce | 3_4.sce | clc;
clear;
//Example 3.4
mu=1.85*10^-5 //[kg/(m.s)]
P=101.325; //Pressure in [kPa]
M_avg=29; //Avg molecular wt of air
R=8.31451; //Gas constant
T=300; //[K]
rho=P*M_avg/(R*T) //[kg/m^3]
u_inf=2 //Viscosity in [m/s]
//At x=2... |
d6180151074a24bd61df1f5927ebbc9ad6292461 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/HK61CTP/ATWM1_Working_Memory_MEG_HK61CTP_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | d79c79582e4c4a755eeb4e493b694a2c752754f2 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,620 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
f75addf32fa179c856a25e54cc4eed93c31d80e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH1/EX1.8/Ex1_8.sce | e122aaa9f1844929668608b166ee6189fedd9845 | [] | 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 | 419 | sce | Ex1_8.sce | clc
a=1
disp("a= "+string(a)) //initializing value of lattice constant(a)=1.
r=((sqrt(3)*a/8))
disp("Radius of the atom,r=(sqrt(3)*a/8) )= "+string(r)) //initializing value of radius of atom for diamond.
v=(((4*%pi*(r^3))/3)*8)
disp("v=(((4*%pi*(r^3))/3)*8) = "+string(v)) //calcuation.
V=a^3
disp("V=a^3 = "+str... |
a5ae584736a2c7a54e1a1a4d6a87fc6ffa190ba1 | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/for_command_5.tst | 667f25282a630221a5e0b51bbc3218f3b440719f | [] | 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 | 127 | tst | for_command_5.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
for i in 1 2 3 4 5 6 7 8 9 10; do
echo $i vive les acus
done
</stdin>
|
ddbe57a9be593111b03068a4a9ecf320526b1264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH11/EX11.2/ex11_2.sce | 559e9805514b21fdd9b9a18d41dc5baaf6585f34 | [] | 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 | 496 | sce | ex11_2.sce | // Example 11.2
format('v',6)
clc;
clear;
close;
// given data
h_ie= 3.5*10^3;//in Ω
h_fe= 120;
h_re= 1.3*10^-4;
h_oe= 8.5*10^-6;// in S
bita= h_fe;// unit less
// The value of alpha
alpha= h_fe/(h_fe+1);
disp(alpha,"The value of alpha is : ")
// The value of r'e
r_desh_e= h_ie/h_fe;// in Ω
r_desh_c= h... |
9cc5c8ea00ed498867263e660b6b4c45f841649d | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /KVA Switching.sce | d2ff3a9edc78ea9503dcd647cc77e41e142419f2 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85,554 | sce | KVA Switching.sce | Name=KVA Switching
PlayerCharacters=KVA Player
BotCharacters=KVA Rotation 01.rot;KVA Rotation 02.rot;KVA Rotation 03.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=KVA Player
AddedBots=KVA Rotation 01.rot;KVA Rotation 02.rot;KVA Rotation 03.rot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=k... |
07af97d2bd510166bf845b3d3649999e80fea5df | 38e8e14fb76356e30e0514d57850ba6793381836 | /TP1_Exercice1.sce | 9ea2e5ccaaac5a4a66a8d948048e886a2d018efd | [] | no_license | VCOUTURIER-MADNOT/Maths | d2bcf7d0c923f5ad97f1bf79c22f62ef76f95340 | 7dd5fcce241a9d01de3cbe3541f0fafd76237c05 | refs/heads/master | 2020-04-15T22:49:40.613661 | 2013-10-24T16:16:00 | 2013-10-24T16:16:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | TP1_Exercice1.sce | // TP1 MA0507 //
// Exercice 1
w1 = 2*%pi*500;
w2 = 2*%pi*501;
t = soundsec(4);
y1 = sin(w1*t);
y2 = sin(w2*t);
y3 = y1 + y2;
plot (t, y3); |
0535ae0a8da2ae9da54165b6553c03efb5a768cf | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1309.sce | d8f513242cc5ad8b77da19788934bd1f181f77b1 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,371 | sce | map1309.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1309" Width="13" Height="13" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="雪灌木" X="1" Y="1" />
<Cell Name="雪树" X="6" Y="1" />
<Cell Name="企鹅(怪)" X="10" Y="1" arg0="15" />
<Cell Name="木箱" X="1" Y="2" />
<Cell Name="雪灌木" X="2" Y="... |
c5b4bc7809087d92aa93599f5f402e598ed04054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH6/EX6.2/ex2.sce | d996169667f2f3f593df43a411606470a562e52d | [] | 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 | 672 | sce | ex2.sce | //CHAPTER 6 _ PRESSURE AND SOUND MEASUREMENT
//Caption : MANOMETERS
// Example 2 // Page 329
pho_l=900
disp("pho_l=900 ") //('Enter the density of the fluid =:')
Pa= 500000
disp("Pa= 500000 ") //('Enter the air pressure =:')
t=298
disp("t=298 ") //('Air is at what temperature(in deg cent) =:')
R=287;
... |
2a48f3b34b977829bb263caed056ddc63af4658d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.37/example_3_37.sce | 9a4515d6f523f7873ad14a3d65f79224d5cb083f | [] | 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 | 443 | sce | example_3_37.sce | clear;
clc;
disp("--------------Example 3.37---------------")
SNR = 0; //an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero.
m=log2(1+SNR);
//display result
printf("The value of log2(1+SNR) = %d \nHence C = B*log2(1+SNR)= B*0 = %d",m,m);
printf("\nThis means that the capaci... |
6264ade3fb451a970350a502d46ade2a1d5ffa9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH9/EX9.11/exa9_11.sce | c3c60fceacb2fee8bf9242d34d66037ec00d9bf9 | [] | 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 | 749 | sce | exa9_11.sce | //Example 9.11
// Underdamped Zero-Input Response
// form figure 9.25
L=0.1;
R=5;
C=1/640;
alpha=R/(2*L);
omega_0=sqrt(1/(L*C));
//Characteristic Values
p1=-alpha+sqrt(alpha^2-omega_0^2);
omega_d=sqrt(omega_0^2-alpha^2);
p2=p1'; // Complex conjugate
V_s1=30; // t<0
V_s2=0;//t>0
// using initial conditi... |
8870f0321d585bf268c0c9461e34815fc1667504 | c49a028f382c3baddcd641c1972dd72bb60eaadc | /exp_9_1.sce | 963f695108dcded237b3753f80e2eadfef38e7fc | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | exp_9_1.sce | s = %s // OR s= poly(0,'s') 0 order polynomaial s
b_s = input("Enter the b_s (numerator");
a_s = input("Enter the a_s (denominator)");
h_s = b_s/a_s;
disp(h_s);
[z,p,k] = tf2zp(h_s);
disp(z,"Zeroes are ");
disp(p,"poles are ");
disp(k,"constants / gain is ");
p = pfss(h_s);
disp(p);
|
08b1bea10391ca0142a664ad0e1d24ff007ffc26 | 9d8388e171647215b858170627fde9bf2db6e647 | /uas2.sce | 28c1ac3a3fd9e6c812758d70a1c6bec54627a2cf | [] | no_license | arwinthoriq/FP-pemodelan-dan-simulasi | cc52fca6c8346f0eba7e6b9ddba41857d053ce93 | d1de3a03c8b9ec160005c7f98f623f7199ce7a09 | refs/heads/master | 2023-05-05T05:46:33.333757 | 2021-05-07T09:52:48 | 2021-05-07T09:52:48 | 365,187,060 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,323 | sce | uas2.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[50,50],'figure_size',[846,593],'auto_resize','on','background',[4],'figure_name','Pemodelan dan Simulasi','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible... |
4b92f6b2f37f9d6c1df113df345067ee249196cc | 117dfe11397868e23e4177974ee4db6128616157 | /symphonymat/symphonymat_options1.sce | 8da8547c051535fc72c9c39c4cd0d42cfad182e4 | [] | no_license | harpreetrathore/OR-toolbox-test-cases | 161ec31daa75c7bdfe68519e43975b9452d81d30 | ad6fd408ea41e74e56b31a5bc756639e521a20e3 | refs/heads/master | 2021-01-21T08:24:31.441859 | 2015-11-17T16:54:58 | 2015-11-17T16:54:58 | 45,449,825 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | symphonymat_options1.sce | // Check for size of input of options
// Objective function
c = [350*5,330*3,310*4,280*6,500,450,400,100]';
// Lower Bound of variable
lb = repmat(0,1,8);
// Upper Bound of variables
ub = [repmat(1,1,4) repmat(%inf,1,4)];
// Constraint Matrix
Aeq = [5,3,4,6,1,1,1,1;
5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03;
5... |
a44f0c7ba620901f0a246cfc73d457fdcf1bee0b | 186d48379ce1c88031450d1fc05aad87599e1647 | /AP186_activity4_ADELINO.sce | 74e9976d75b98118665e1f39101caa1ba6dfcaf2 | [] | no_license | jbadelino/AP-186-Activity-4-Measuring-Area-from-Images | cd281d043be6b6d4e15bd6da62db651828d85f3e | a6d4b6f1bacbae6403845c29929d370c6545fc1e | refs/heads/master | 2020-07-07T23:30:58.660421 | 2019-08-22T09:24:45 | 2019-08-22T09:24:45 | 203,506,291 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,709 | sce | AP186_activity4_ADELINO.sce | //rectangle = imread("C:\Users\Asus\Documents\Applied Physics 186\act 4\rectangle_1.bmp")
//rec_edge_canny = edge(rectangle, "canny");
//rec_edge_sobel = edge(rectangle, "sobel");
//rec_edge_prewitt = edge(rectangle, "prewitt");
//imwrite(rec_edge_sobel, "rec_sobel.png");
//imwrite(rec_edge_canny, "rec_canny.png")... |
b12c376667576b96bd2c36f2d81a97641d29012b | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kBraitenberg.sci | cad835856ef6a99d57fe549e2b688a5c05b2da7f | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sci | kBraitenberg.sci | function [] = kbrberg(ref,ksp)
// Number of arguments in function call
[%nargout,%nargin] = argn(0)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KRBRBERG Basic Braitenberg mode
//
//kbrberg(ref)
// Avoid obstacles with the Braitenberg algorithm
// (ctrl-c to stop).
// Us... |
308e8c16fbae4addc3306717488cc7429e1e0f32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.12/Ex1_12.sce | 6aaf038a71778b66da78f9ba23e9202a1dc5dd5b | [] | 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 | 558 | sce | Ex1_12.sce | //Example 1_12 page no:14
clc
R1=5;//Resistance in ohm
R2=2;//Resistance in ohm
R3=1;//Resistance in ohm
R4=2;//Resistance in ohm
V=50;//supply voltage
Rt=R1+R2+R3+R4;//total resistance
P=V*V/Rt;//calculating total power
disp(P,"Total power in the circuit (in watts)")
current=V/Rt;
P1=current^2*R1;
disp(P1,... |
118f39cda91611dfcaa6177e809ebf81245ffb92 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.35.sci | 64bd9909aca8a7f99d0672412c6ed5a25a88b48d | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sci | Ch_6_Eg_6.35.sci | // A program to illustrate various error handling approaches.
a='Error handling';
errcatch(144,"continue")
2/"foo" // The line causing error 144, i.e. operation not defined for the data
disp(a) // Without the errcatch, this line would not be executed
errcatch(144,"pause")
2/"foo"
// Entered in the "pause" mo... |
a740357a4050c4657ca5e187910fec8ef4f95193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH4/EX4.5e/eg4_5e.sce | 066e1d0c51211e7e54fa0da42551fd02c43adb0d | [] | 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 | 198 | sce | eg4_5e.sce | profit1 = 10;
profit2= 20;
profit3 = 40;
prob1= 0.2;
prob2 = 0.8;
prob3 = 0.3;
expec = profit1*prob1 + profit2*prob2 + profit3*prob3;
disp(" thousand dollars", expec, "The expectd profit is") |
66dc980804eeef8184b98cee0849971f3063bdad | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/char-val/0054.tst | beb4d7bb193a6a9a4a4d1bcb402bc93ee0536660 | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0054.tst | "~w^" |
54ccc1cecdfc8e4721b892fd59e7212c44b043b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH3/EX3.18/Chapter3_Example18.sce | 7a64fc4f5d9e1b79fef9b872be2c0f12bdff68ca | [] | 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 | 533 | sce | Chapter3_Example18.sce | clc
clear
//INPUT DATA
v=1000;//volume of hydrogen in ml
t=273;//tempature of hydrogen in kelvin
p=760;//pressure of hydrogen in mm of hg
w=0.0896;//weigh of hydrogen in gm
cp=3.409;//specific heat of hydogen in kj/kg-K
cv=2.411;//specific heat of hydrogen in kj/kg-K
g=981;//accelaration due to gravity in cm... |
06e9ef77cd468645c99c88652c8e9ac8cd499bdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH2/EX2.10/2_10.sce | 805fd8c4b288e2ec23b4eae8b0a12f5b101f33c7 | [] | 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 | 2_10.sce | clc
//initialisation of variables
V= 0.5 //lit
T= 50 //C
n= 1//mole
R= 0.0821 //lit atm mole^-1
a= 4.28*10^-2 //litres mole^-1
b= 3.6 //arm mole^-2 lit^2
//CALCULATIONS
P= n*R*(273+T)/V
P1= (n*R*(T+273)/(V-n*a))-(b/V^2)
//RESULTS
printf (' Pressure = %.f atm',P)
printf (' \n Pressure using vanderwals equat... |
f0f328029d7c6d41117e0451a2e9a23193f16423 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/primitive_types_runme.sci | 423ee44aeaf6884dd40fc54319b0e0f3b42f677a | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 2,433 | sci | primitive_types_runme.sci | exec("swigtest.start", -1);
// Check passing by value
checkequal(val_double(42), 42, "val_double() test fails.");
checkequal(val_float(42), 42, "val_float() test fails.");
checkequal(val_char('a'), 'a', "val_char() test fails.");
checkequal(val_schar(42), 42, "val_schar() test fails.");
checkequal(val_schar(int8(42)... |
c1d4412d1cefd48c0918adea115699dbc27ea787 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH19/EX19.2/19_2.sce | 674e82ec97d232a36103c062bac0aecee83178cd | [] | 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 | 405 | sce | 19_2.sce | clc
//initialization of varaibles
R=53.34
T1=540 //R
P1=15 //psia
T2=720 //R
P2=60 //psia
PD=150 //cu ft/min
p1=0.03
p2=0.06
//calculations
v1=R*T1/(P1*144)
vratio=T1*P2/(P1*T2)
Nmf=PD*(1-p1*(vratio-1))/v1
Nmf2=PD*(1-p2*(vratio-1))/v1
//results
printf("For clearance of 3 percent, Mass per min = %.1f lb/... |
328181730b5a89022b9532e354089a59990ff401 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH4/EX4.10/ex4_10.sce | 15a12a9a21ba2d70d98c46cd89e4e0c407251f5a | [] | 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 | 226 | sce | ex4_10.sce | //Find the loop inductance per phase
clear;
clc;
//soltion
//given
r=20;//mm//radius of the conductor
re=r*exp(-1/4);
d=7000;//mm//spacing
L=0.1*log((sqrt(3))*d/(2*re));
printf("Inductance per km(L)=%.4f mH\n",L);
|
f5b9cca13d498df6e768540d4440ae735d6200a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH16/EX16.4/Ex16_4.sce | 01cd7211b98d3267be7bf33dec0b4690c41c17ff | [] | 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 | 2,044 | sce | Ex16_4.sce | clear;
clc;
disp('Example 16.4');
// aim : To determine
// (a) the pressure and temperature as the air leaves the compressor turbine
// (b) the power output from the free power turbine
// (c) the thermal efficiency of the plant
// (d) the work ratio
// (e) the carnot efficiency within the cycle temperature li... |
4cb02b7aed08e697bea0e6995da322e1087677db | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.27/P6_27.sce | 562f3b332fbea2f432b447af8be83e1ffab7ec5b | [] | 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 | 622 | sce | P6_27.sce | // Example 6.27
//inverse Z-transform of z^3/(z-0.5)*(z+1/3)^2;
clear ;
clc ;
z=%z;
Gnum = z^3;
Gden = (z-0.5)*(z+1/3)^2;
G = Gnum/Gden;
g1=ldiv(Gnum,Gden,10);
elts=factors(Gden);
//the partial fraction gives:
p1 = horner((1/(1+0.3333333/z)^2),0.5);
disp(p1,'p1 = ');
p2 = horner(1/((1-0.5/z)),-0.3333333);
disp(p2,'p2... |
4a68fa18b18a9bc7094ad74c24ad709c3702d84b | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/13.tst | f21f14f003c6e904800036b7b0ce55440d23dc6f | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | tst | 13.tst | struct A {
int x, y, z;
float t;
} a, b;
typedef struct A *(***P[3])(int);
int main(void)
{
struct A a;
P p1, p2, p3;
} |
89fd6a27298598e68f40c8e55ba56f9cb2c28fe8 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Dense/eig_gen.sce | e2d1bef14a1cba4d8e3a85b68f8eb279d8deb0ad | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | eig_gen.sce | // Function Name: eig_gen
// Returns the Eigen decomposition of dense general (non-symmetric/non-hermitian) square input matrix
// Calculating the eigen avlue
inputMat= [2,1,0;1,2,1;0,1,2];
result = armaDenseMat("eig_gen",inputMat)
result = armaDenseMat("eig_gen",inputMat,"balance")
|
e08b29fe3060f4987ca4ea83842097d7d6f61b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH1/EX1.4/Example1_4.sce | 7583efede61a494596f2fa362fcfe80c30f39199 | [] | 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 | 349 | sce | Example1_4.sce | //clear//
//Caption:Shannon Channel Capacity formula
//Example1.4
//page 12
clear;
clc;
close;
B = 10^6; //Bandwidth of noisy channel 10MHZ
S_N = 1; //signal-to-noise ration is 1
C = B*log2(1+S_N);
disp(C,'The maximum capacity for this channel in bits/sec C =')
//Result
//The maximum capacity for this chann... |
f02f2e68999a44ebd9f38404bd5c7bc6c7aba9f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH18/EX18.5/Example18_5.sce | 781b37be389b62180610b46ce6c938d9e9b102c0 | [] | 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 | 572 | sce | Example18_5.sce | //entropy changes in the system for phase transitions
clear;
clc;
printf("\t Example 18.5\n");
//for fusion
T=5.5+273;//temperature of fusion, K
deltaH=10.9*1000;//change in enthalpy, J/mol
deltaSf=deltaH/T;//since in fusion deltaG=0, J/ K mol
//for vaporisation
T=80.1+273;//temperature of vaporisation... |
38b5666ffd6791f4833378df66c730d8c43eeef4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH7/EX7.7/EX7.sce | 5a41039cb86ab281bfadf385282f597aeff5346f | [] | 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,422 | sce | EX7.sce | // Example 7.7: IDQ, VDSQ, VGSQ
clc, clear
ID=5e-3; // in amperes
VGS=6; // in volts
VT=3; // in volts
// From Fig. 7.39(a)
VDD=24; // in volts
R1=10; // in mega-ohms
R2=6.8; // in mega-ohms
RD=2.2e3; // in ohms
RS=0.75e3; // in ohms
// Applying Thevnin's theorem to obtain simplified circuit in Fig. 7.39(b)
... |
ec11c7c7813d99fa057ef74eb9c486024cd65a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.12/Ex4_12.sce | f4be54ec2344031912220a75ab2dcaaa39cdb1ca | [] | 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 | 455 | sce | Ex4_12.sce | //Example 4_12
clc();
clear;
//To calculate distance betweenadjacent atoms
molwt=23+35.5 //units in grams/mol
avagadro=6.023*10^23 //units in gm/mol
mass=molwt/avagadro //units in gm
unitvol=2.18 //units in gm/cm^3
noofmol=unitvol/mass //units in gm/cm^3
total=2*noofmol //units in gm/cm^3
printf("numb... |
547141e287d3fcea26c71e3e4ba8b137a741f60f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.18/Ex18_18.sce | 02d6b436eb0cb1cd684b1043955bce4cfd99427a | [] | 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 | Ex18_18.sce | // scilab Code Exa 18.18 Ljungstrom turbine 3600 rpm
d1=0.92; // inner diameter of the impeller in m
d2=1; // outer diameter of the impeller in m
N=3.6e3; // rotor Speed in RPM
aplha_1=20; // blade exit angle in degree
p2=0.1; //exit Pressure of steam in bar
x2=0.88; // dryness fraction at exit
n_st=0.83; // s... |
70cff3d6c583910ab70be347af63ceaecbc25e79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH5/EX5.21/5_21.sce | 625f3cd4a245559aa2f4d980824d7269f4252d98 | [] | 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 | 349 | sce | 5_21.sce | clc
//Initialization of variables
g=9.81 //m/s^2
rho=10^3 //kg/m^3
sm=13.6
s=1
y=0.12 //m
Cv=0.984
d1=0.05 //m
d2=0.1 //m
nu=1e-6
//calculations
Q=Cv*%pi/4 *d1^2 *sqrt(2*g) /sqrt(1- (d1/d2)^4) *sqrt(y*(sm/s -1))
V1=Q/(%pi/4 *d2^2)
R=V1*d1/nu
//results
printf("Since, reynolds number is in required value,... |
1ce8c8b098948db1e45c8deaf0afa092cfeb5827 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.13/Example1_13.sce | 620729679f9ece65d4abdc73a3c13b4cfe7209af | [] | 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 | 449 | sce | Example1_13.sce | //Example 1.13
clc
disp("The voltage gain of the amplifier is given as")
av=50/0.2
format(4)
disp(av,"A_v = Vo/V_in =")
disp("We know that,")
b=((0.06/0.01)-1)/250
format(5)
disp(b,"B_2f = B_2 / 1+A_v*beta =")
disp("Therefore, feedback ratio, beta =")
avf=250/(1+(250*0.02))
format(6)
disp(avf,"A_vf = A_v ... |
4517272d24fdc0334eaf1541fe27138979e8b2d4 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_2/Scilab_programs/Poles_and_zero_of_parallel_system.sce | 5fb4607df89a20795276aaaeb0b8af2d0c72de35 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Poles_and_zero_of_parallel_system.sce | clear
close
clc
s = poly(0,'s');
n1 = 10;
d1 = s^2 + 2*s + 10;
g1 = n1/d1;
n2 = 5;
d2 = s+5;
g2 = n2/d2;
g_parallel = g1+g2;
G = syslin('c', g_parallel);
z = roots(G.num);
p = roots(G.den);
disp(z, 'The zeros of the system are : ');
disp(p, 'The poles of the system are : ');
plzr(G); // Pole-zero plot of the sy... |
80772386e3a79da1048f919c1550ffce4bb4c458 | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP3/lancrich.sce | 23ce330730eef0f99e77c16ec20b3c26f4b343cc | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | lancrich.sce | clear
exec("rich.sci", -1);
a = [ 0 1 2 1 2 ]';
b = [ 2 3 1 1 1 ]';
c = [ 3 1 2 1 ]';
u = [ -1 0 0 3 1 ]';
x = rich (a, b, c, u)
A = diag(b, 0) + diag(a(2:$), -1) + diag(c, 1);
|
3659f2e3ceba6cfce467c7ea2cb6f29c6bbae614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH10/EX10.2/Ex10_2.sce | 7993e77acb946e585626ff47cfa7e37d404e8596 | [] | 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,638 | sce | Ex10_2.sce | clear;
clc;
disp('Example 10.2');
// aim : To determine
// the mass of oil used per hour and the fraction of enthalpy drop through the turbine
// heat transfer available per kilogram of exhaust steam
// Given values
ms_dot = 5000;// generation of steam, [kg/h]
P1 = 1.8;// generated steam pressure, [MN/m... |
d59897997f2c38915cbd7790edc1c6fa56bf873c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH12/EX12.11/Ex12_11.sce | cf52a8438c0aeaf70c4708de337deb87a46cebe8 | [] | 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,010 | sce | Ex12_11.sce | clc
h1 = 3285 // Enthalpy at state 1 in kJ/kg
h2s = 3010 // Enthalpy at state 2s in kJ/kg
h3 = 3280 // // Enthalpy at state 3 in kJ/kg
h4s = 3030 // // Enthalpy at state 4s in kJ/kg
// Saturation pressure at temperature 180 degree centigrade
psat = 10 // In bar
h4 = h3-0.83*(h3-h4s) // // Enthalpy at state 4
h5s = 22... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.