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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f7453114e9607e52a6e1a00e87c6f5cad83fb68b | 1197c75e059134023f14d6e150d0fc667e4ae03e | /Misc/MPArith/supptest/manifest.tst | a672b7656b6463b03ab9b6ad39a3146d4462c829 | [
"Zlib"
] | permissive | Alexey-T/Wolfgang_Ehrhardt_codes | 66d9658fcfe348e8d1fc260632b2568316e3f436 | 949aae35fb69c29ff77397b754e645392e697564 | refs/heads/master | 2022-11-21T18:30:30.449056 | 2020-08-01T09:05:14 | 2020-08-01T09:05:14 | 284,037,174 | 5 | 0 | null | null | null | null | WINDOWS-1250 | Scilab | false | false | 3,716 | tst | manifest.tst | bitarray.pas Bit array context with max 524160 bits
coshmult.ari ARIBAS script to calculate s_mp_coshmult test cases
jacobi.ari ARIBAS script to calculate Jacobi test cases
kron.gp Pari/GP script to calculate Kronecker test cases
manifest.tst This file
mem_util.pas Utility pro... |
158f490be78682865f48c2ebb1c5ff87735fbc8e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH2/EX2.6/Ex2_6.sce | 3ff9faf1366a79d30762811f4d530ba5c4021807 | [] | 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 | 385 | sce | Ex2_6.sce | errcatch(-1,"stop");mode(2);//caption:Find error in computed value of power dissipation
//Ex2.6
R=100//resistor(in ohm)
Rer=0.2//error in current measurment(in ohm)
I=2//current(in A)
Ier=0.01//error in current measurment(in ohm)
dR=(Rer/R)*100
dI=(Ier/I)*100
P=(I^2)*R
dPo=2*dI+dR
dP=(P*dPo)/100
disp(d... |
c92ca7927a65ce23dc474b77adc44cb81f39a699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.4/Ex_6_4.sce | 95a51d54e72651f5d1c8c6d1433e48f148dc4fe2 | [] | 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 | 602 | sce | Ex_6_4.sce | //Example 6.4
clc;clear;close;
a=0.5;
n=1:50;
x=ones(1,50);
h=a^n;
//Calculation of linear convolution
for i=1:50
y(1,i)=sum(h(1:i));
end
disp('First Sequence is x(n)=u(n) ');
disp(a,'Second Sequence is h(n)=a^n*u(n) where a= ');
disp(y,'Output sequence is y(n): ');
subplot(3,1,1);
plot2d3(x);
ti... |
b4946fa3d7283c1972455a15f2de44574d498f53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.12/Ex1_12.sce | 169fe082db95ca21253ee134a338a0265f29e9a8 | [] | 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 | 178 | sce | Ex1_12.sce | clear
//ch-1 page-33, pb-12
//
x=(380.0285/2.5754)
PA=x
AQ=367-x
al=180-(36.45+86.55)
bt=86.35-40-35
TA=AQ*tan(46*(%pi/180))
printf("\n width of river is %0.3f meters',TA)
|
b2be000465373de49e33f83dac31dc1b245a7abe | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A7/A7F.sce | 9c7298d237b443254c14bf9daddbb53b69f74056 | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | A7F.sce | lunar = imread('C:\Users\Anton Cruz\Desktop\186\AP186\186A7\7F\canvas.JPG');
lunar = double(lunar);
graylunar = mat2gray(lunar(:,:,1));
f=scf();
imshow(graylunar);
isoview();
xs2png(gcf(),'graylunar');
lunarFT = fft2(graylunar);
f=scf();
imshow(imnorm(log(abs(fftshift(lunarFT)))));
isoview();
xs2png(gcf(),'graylunar... |
1e9c334bf27c4142a342ec3fe15f61f3ac79066b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH14/EX14.9/Ex14_9.sce | 7c9e17b6cfcd2749a23c72694a239edb81d24810 | [] | 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 | 262 | sce | Ex14_9.sce | //Ex14_9 Pg-698
clc
n1=1.45 //core refracrive index
NA=0.16//cladding refractive index
lamda=0.9*10^(-6) //cut-off wavelength
d=60/100 //core radius in m
V=(%pi*d*NA)/lamda //normalised frequency
printf("Normalised frequency = %.2f*1e5 \n",V*1e-5)
|
395e24cd4d976da6da3c8f50e24d1d72055f0575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH8/EX8.5/Ex8_5.sce | 145b639f23a86fc280b0c4979acb562dbe3593e8 | [] | 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 | 329 | sce | Ex8_5.sce |
//
//
printf("\n bottom section')
L=40//m
B=30//m
a1=L*B//m2
printf("\n area A1= %0.3f sq. meters",a1)
printf("\n mid section')
b=40//m
sh=2.5//m
l=L+2*2*sh
b=B+2*2*sh
a2=l*b
printf("\n area A2= %0.3f sq. meters",a2)
printf("\n top section')
sh=5
l1=L+2*sh
b1=B*2*2*sh
a3=l1*b1
printf("\n area A3= %0.3f sq. met... |
4dd3510df4579f952f53d6d17c1a2c25f1e666ed | 3d9eb570cc25f2789bfcc4876cb4ba7ac1094b20 | /Transcendental Equations Solving Methods/False Position Method.sci | 7ef0b8a9996c9dce0b7486aa7544ad7c381a17dd | [] | no_license | laisdutra/NumericalComputing | 0c858f029621767723fb28d824dcff8a48aa8905 | 84f7f4600056a98bf24b924d647818cc0f17e4cf | refs/heads/master | 2022-01-27T08:06:26.686036 | 2019-05-23T01:41:55 | 2019-05-23T01:41:55 | 185,099,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sci | False Position Method.sci | function y = f(x)
y = 1 - (1+x).^-9 - (140/26.5)*x //função que se procura a raiz
endfunction
a = 0.12;
b = 0.13;
x = a; //para calcular o primeiro erro relativo
while(1)
x_ant = x //guarda o valor do x para cálculo do erro relativo
x = a - (b-a)*f(a)/(f(b)-f(a)) //ponto em que a reta que liga os interval... |
338832becd300d62210a0b45269860e9e1c6cb13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.42/EX20_42.sce | 8a5e5acdcdd7dc50e4c832244a14cf0531180353 | [] | 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,735 | sce | EX20_42.sce | clc;funcprot(0);//EXAMPLE 20.42
// Initialisation of Variables
rp=3.6;..........//Pressure ratio
die=0.35;.......//Diameter of inlet eye of compressor in m
Cf=140;..........//Axial velocity in m/s
m=12;.............//Mass flow in kg/s
Cbl2=120;.........//Velocity in the delivery duct in m/s
Ci=460;..........//Th... |
75b1e6ede0001efd7a4e4b80574809fe0bd9c002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH40/EX40.5/Example40_5.sce | 480c63bfd7b9252f68eb4e2454872b1447eb4e3b | [] | 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,134 | sce | Example40_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 2: HEATING AND WELDING
// EXAMPLE : 2.5 :
// Page number 728-729
clear ; clc ; close ; // Clear the work space and console
... |
3e627349a67992e3805fb1298f7058e4065ebb87 | 62caa60525e4b9083ff0969ad308b8ff9c1b1faf | /src/ar.sci | 6356e3b06edda1f8f7235474c997005ce9cd7b87 | [
"Apache-2.0"
] | permissive | buptliuhs/ARE | a06c78fda5b51e6cffccefdf49d1005c9b590ab5 | e5d9471d6dcb3229c0fbc121de32f418cb96eb41 | refs/heads/master | 2021-01-10T12:57:11.928817 | 2018-08-08T03:45:51 | 2018-08-08T03:45:51 | 45,362,322 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,100 | sci | ar.sci | stacksize('max');
fall=4;
moving=3;
walking=2;
shuffling=1;
standing=0;
sitting=-1;
lying=-2;
inverted=-3;
undefined=-4;
s_freq=100;
path='__SRC_FILE__';
output_file_name='__DST_FILE__';
disp("path=" + path);
disp("output_file_name=" + output_file_name);
////////////////////////////////////////
function [angle_do... |
2b8ad6f3dcbcb87d04bfb48dd351f5822ded5fa1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/VW42LKU/ATWM1_Working_Memory_MEG_VW42LKU_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | fb944e753c51663f076e7f09717d03400d480b6f | [] | 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 | 49,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_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... |
9826e0c98fef41f2d5af4e588f114bf0e86ffafa | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH10/EX10.1.a/Example10_1a.sce | ae264791dd78a64e24fbf9a4d508abcdb89fbd46 | [] | 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 | 421 | sce | Example10_1a.sce | clear;
clc;
//Caption: Pinch off V and channel half width of silicon FET
//Given Values
a=3*(10^-4);//in cm
Nd=10^15;//in electrons/cm^3
q=1.6*(10^-19)//in C
eo=8.85*(10^-12);//Permittivity of free space
e=12*eo;//Relative Permittivity
Vp=(q*Nd*a*a*10^6*10^-4)/(2*e);//in V
//a is in cm so 10^-4 is multi... |
b75e553c122f55dae8a933fd65273ef1683c10af | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH12/EX12.6/Ex12_6.sce | 6dda123b7fc5ba452b0f0b737699e0ed3f9e9514 | [] | 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 | 758 | sce | Ex12_6.sce | // Example 12_6
clc;funcprot(0);
// Given data
T_1=25;// °C
P=1;// atm
T_2=600;// K
// The combustion equation C_3H_8+5(O_2+3.76N_2)--->3CO_2+4H_2O(l)+18.8N_2
N_CO2=3;// mol
N_H2O=4;// mol
N_N2=18.8;// mol
hbar0_fp=-103850;// kJ/kmol (C_3H8)
hbar0_fCO2=-393520;// kJ/kmol
hbar_CO2=22280;// kJ/kmol
hbar0_CO2... |
17f7c2943b6930efc7b19251c76232613ac59937 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/Data-Mining/SP_GLM-NZ-UM-01.tst | 13a28c1939a8df24c943786770c5aeef43bec3cb | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,029 | tst | SP_GLM-NZ-UM-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
e1de404ff40acf0604e8889e38c8885294d95776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2288/CH1/EX1.22.6/ex1_22_6.sce | 48157ccb4d761315522a75538a60b4bb6a9e84a3 | [] | 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 | 282 | sce | ex1_22_6.sce | // Exa 1.22.6
clc;
clear;
close;
// Given data
d = 5.2;// in gm/cc
n = 2;
M = 120;
N_A = 6.023*10^23;
m = M/N_A;//mass of 1 atom in gm
m = n*m;//mass of unit cell in gm
g = 20;// in gm
m = g/m;// in unit cells
disp(m,"The number of unit cell in its 20 gm is : ");
|
4e5e1c65e8082234db50a2e6082b3794cccbc615 | 8aff21ee3944bdacbff38a386556c89c38377c6a | /zero.sci | f7bd3450f20a06dd65d1bb54acdba9cb68424e72 | [] | no_license | rutup1595/control-system | bd4704a4aa437a66260301a22adb5e55b49c5c84 | b30d559d8835cd278cc6d6bb81f821cdfcc9ee55 | refs/heads/master | 2021-01-17T10:17:03.192056 | 2019-10-10T05:28:46 | 2019-10-10T05:28:46 | 59,283,553 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,061 | sci | zero.sci |
function[x,k]= zero(sys,varargin)
//
//Calling Sequence
//function[x]=zpkdata(sys) --- for zeros of continuous siso systems
//function[x,k]=zpkdata(sys) ----for zeros and gain of continuous siso systems
//function[x]=zpkdata(sys,1) ---for zeros of arrays of siso systems (Continuous)
... |
4feb6341e57dadeed17c5d1bee1735d8a15676ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH17/EX17.3/Ex17_3.sce | 3bcbe259d164854628716da927b919e356b34d55 | [] | 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 | sce | Ex17_3.sce | clc;clear;
//Example 17.3
//given data
T0=200+273;//converted in K
P0=1400;
//stagnant temp. & pressure is same as inlet due to small inlet velocity
P=1200;
m=3;
//from Table A-2a
cp=0.846;//in kJ/kg-K
R=0.1889;//in kJ/kg-K
k=1.289;
//calculations
T=T0*(P/P0)^((k-1)/k);
V=sqrt(2*cp*(T0-T)*1000);//fa... |
2f4db6364ea0705bd49f205584cc84d4af3ab612 | 03984e719d7492c5989e6daf1506148c61aa45cf | /Tinh Toan Co Dac _ Scilab/data.sce | 52e16df9fcb68dfe38b8f577c29608e220a082b7 | [] | no_license | bkt92/chemeng_calc_collection | e07cf63a0fbfd967d381e4098f5512d9b0403fba | e07d6a16297d32c85abc47c403deb421d8495bf5 | refs/heads/master | 2021-01-23T12:21:33.651560 | 2017-06-02T11:57:38 | 2017-06-02T11:57:38 | 93,152,647 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,517 | sce | data.sce | // BẢNG SỐ LIỆU //
// Nước //
// Bảng các thông số của hơi nước bão hoà (bảng I.251 tr 314 sổ tay qttb 1)
ph2o={0.01,0.015,0.02,0.025,0.03,0.04,0.05,0.06,0.08,0.1,0.12,0.15,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.2,1.4,1.6,1.8,2,3,4,5,6,7,8,9,10,11,12};
th2o={6.6,12.7,17.1,20.7,23.7,28.6,32.5,35.8,41.1,,45.4,49,53.6,59.7,6... |
8e410781277847e1603815f403e2b40251188184 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação Linear.sce | e8f21845effef028675fc57df0678685ec2ad172 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Interpolação Linear.sce | //interpolação linear
x= [0,15,30,45,60,75,90]
y= [1.000,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000]
i=[1,2,3,4,5,6]
Xi=82.5;//Ponto que eu quero calcular a interpolação
for i=1:(length(x)-1)
if (Xi>= x(i) & Xi<x(i+1))
Yi= y(i) + ((y(i+1)-y(i))/(x(i+1)-x(i)))*(Xi-x(i))
end
end
plot(x,y,'k-o')
disp... |
e4a686787d3d177aae94c88f1de3cb4f7953071b | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH9/EX9.10.17/exa9_10_17.sce | 70fc9f05270dcb380ed43d89e8af1d088d9e276c | [] | 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 | 279 | sce | exa9_10_17.sce | //caption:determine_transfer_matrix
//example 9.10.17
//page 407
s=%s
A=[-3 1;0 -1]
B=[1;1]
C=[1 1]
D=0;
[r c]=size(A);//size of matrix A
p=s*eye(r,c)-A;//s*I-A where I is identity matrix
r=inv(p)//inverse of sI-A
G=C*r*B//transfer matrix
disp(G,"transfer matrix=")
|
bfe4bd33beebffea546062d1ef1f234ef1fd556a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH4/EX4.1/Ex_4_1.sce | 84a19d266256a7f0bd0d3c5f45c34896750405e2 | [] | 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 | 213 | sce | Ex_4_1.sce | //Example 4_1
clc;
clear;close;
//Given data:
V=230;//V
Vav=150;//V
f=1*1000;//Hz
//Solution :
T=1/f;//s
Ton=Vav*T/V;//s
Toff=T-Ton;//s
disp(Toff,Ton,"Periods of conduction & blocking(seconds)");
|
419d8ecfbf52ba5142b5a63ce9aa9be8347f92f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH2/EX2.11/2_11.sce | 0238e3c287fb0d7204dd4ba2b259bed0215e6e55 | [] | 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,215 | sce | 2_11.sce | //To determine the Thirty min maximum diversified
//Page 62
clc;
clear;
printf('NOTE\n\n')
printf('The figure 1 attached along with this code is the Maximum diversified 30- min demand characteristics of various residential loads;\n A = Clothes dryer; D = range; E = lighting and miscellaneous appliances; J = ref... |
8bd57581aa0a881434069557f4fca13b8626c6be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.18/15_18.sce | 8290bfa986048b0c0652a8978124fa504ab25c6d | [] | 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 | 521 | sce | 15_18.sce | //Example 15.18
//Runge Kutta Merson Method
//Page no. 532
clc;clear;close;
deff('y=f(x,y)','y=x+y')
y=1;x=0;h=0.1;
printf('n\t Xn\t Yn\t K1\t K2\t K3\t K4\t K5\tY(n+1)\n----------------------------------------------------------------------')
for i=0:14
K1=h*f(x,y);
K2=h*f(x+h/3,y+K1/3);
K3=h*f(x+h/3,y+(K... |
a0048b95d4a837c572e30986bb9b2b41d577d3be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH7/EX7.5/Ex7_5.sce | 06144615f16088959c54c96041af932e82c2d6d0 | [] | 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,175 | sce | Ex7_5.sce | // Chapter7
// Page.No-231
// Example_7_5
// Sketch the Transfer Curve
// Given
clc;
clear;
Vz1=1; //in V
Vz2=2.2; //in V
Rf=12000; //in Ohm
Ri=10000; //in Ohm
R2=15000; //in Ohm
R1=20000; //in Ohm
Vbreak1=Vz1+0.7;
printf("\n Vbreak1_in +_ %.2f V",Vb... |
9cd830638fdf3a7f88d5c47c6955a11aa55d8b39 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_n_usi/~BivLCM-SR-bfi_n_usi-PLin-VLin.tst | f3186bfe27c91caf068e7ea7d6da7374565cde1a | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_n_usi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.482229D+00
... |
3bcd0f8b3d602894f1fd4fe94090232dc635e186 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/rcond.man.tst | 6147acf67dae331c8bb46a400c314d971c677c7d | [
"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 | 67 | tst | rcond.man.tst | clear;lines(0);
A=diag([1:10]);
rcond(A)
A(1,1)=0.000001;
rcond(A)
|
a6dd5f935df6d484b2e8e684f9489a38c4a11fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH3/EX3.1/eg3_1.sce | 1664e24adca109c1146f67eebf06e4e54971ead3 | [] | 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 | 936 | sce | eg3_1.sce | clear;
clc;
ld=100; //load in KW
v=500;............// voltage in volts
res=1.75*(.000001);...........//restivity in milli ohm per cm sq
nos_cores=2;.......//number of feeder core
l=0.8;.............//length of tx line in km
area=1;...........//area in cm sq
cost_of_energy=0.12;..//cost in Rs per un... |
eb2a4f0e7156bf20d93a5672567cedb3a1475c00 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH3/EX3.13/ex3_13.sce | b41d807da662abead62d584fee1c074ba6419a9a | [] | 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 | 162 | sce | ex3_13.sce | clc;
clear all;
BW1=3500;//bandwidth at 60 db attenuation
BW2=1750;//bandwidth at 6 db attenuation
SF=BW1/BW2;//shape factor
disp(SF,'shape factor is=');
|
4d0def17aea5874eb2d3a140a2b585c6a4c7cd44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH1/EX1.9/chapter1_ex9.sce | 307ebc9ae53994b88f4f25c4a213fd3ef7185c64 | [] | 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,412 | sce | chapter1_ex9.sce | clc
clear
//input
//AB,BC,CD,DA are arms of a wheatstone bridge
r1=5;//resistance in arm AB in ohms
r2=20;//resistance in arm BC in ohms
r3=15;//resistance in arm CD in ohms
r4=4;//resistance in arm DA in ohms
v=4;//d.c. supply given between points A and C in volt
r0=0.5;// internal resistances pf the d.c. s... |
7c849b45d1f62248d55870cbece260712eebf500 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH4/EX4.6/Ex4_6.sce | ec66d53db3ac98e744ae4420a399f83bbec0fecd | [] | 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 | 664 | sce | Ex4_6.sce | // Chapter 4 Example 6
//==============================================================================
clc;
clear;
// input data
E = 100 // Energy of electron in eV
h = 6.625*10^-34 // plancks constant
m = 9.11*10^-31 // mass of electron in Kg
e = 1.6*10^-1... |
1007a2e483fabc1f3f88410f2f40aa8735a9f4d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.17/Example_2_17.sce | 5a18e776e62932355131b687115aa3ab268d4ee3 | [] | 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 | 935 | sce | Example_2_17.sce | //Example 2.17
clear;
clc;
//Given
R=8.314;// gas constant in J K^-1 mol^-1
v1=11.2; //initial gas volume in dm^3
Cv=2.5*R; //specific heat capacity at constant volume of the gas in J K^-1 mol^-1
n=2;//moles of the gas
T1=273; //initial temperature in K
T2=373; //final temperature in K
// To determine q,w... |
b0944e31fc9813bc3f7765a001fd04b00c839127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.3/Ex7_3.sce | 04a1ea2c862b1a346f673514a74f682c3f7a049c | [] | 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 | 548 | sce | Ex7_3.sce | //Exa 7.3
clc;
clear;
close;
// given :
D_a=0.15 // mouth Diameter of paraboloid in m
c=3*10^8 // speed of light in m/s
f=10 // frequency in GHz
f=10*10^9 // frequency in Hz
lambda=c/f // wavelength in m
BWFN=140*(lambda/D_a) // null-to-null beamwidth in degrees
HPBW=70*(lambda/D_a) // half power beamwidth i... |
2a978323d4864680d25c56e3ca9b342f4ca8fcfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH12/EX12.17/Example12_17.sce | 5988e86e32749e7e194e6862499830f1ec24fc43 | [] | 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 | 862 | sce | Example12_17.sce | clear;
clc;
// Example: 12.17
// Page: 501
printf("Example: 12.17 - Page: 501\n\n");
// Solution
//*****Data******//
// Reaction: A(s) ---------> B(s) + C(g)
deff('[deltaG] = f1(T)','deltaG = 85000 - 213.73*T + 6.71*T*log(T) - 0.00028*T^2');// [J]
T1 = 400;// [K]
T2 = 700;// [K]
Pc = 1;// [bar]
R = ... |
7dffb09b0ed9fa82cbf016b24e0257bb8472a4e3 | b6bf377ad0dd93166c29119fdaf090d104caf3b7 | / extensiblesimulationofplanetsandcomets --username lasxrcista/BodyConfig.sci | 64d60a340735f792797d731f213d66ed609019c0 | [] | no_license | tectronics/extensiblesimulationofplanetsandcomets | d69905f0406bf552043dd0e244ea889a55922ef9 | d9d59841d1d177026e60245d3f99c879ee0f8ca0 | refs/heads/master | 2018-01-11T15:15:54.659208 | 2009-07-21T21:22:33 | 2009-07-21T21:22:33 | 47,740,385 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,905 | sci | BodyConfig.sci | //the variables that we are going to look for in the config.cfg file.
//If you need to add in a parameter to that config file, then you must add
//Read in the configuration files of the bodies in question
fileHandle= 'C:\Documents and Settings\Administrator\My Documents\CSCI\Thesis\ThesisProjectSource\';
exec (fi... |
65e51bd0033c8f420da829eee4ec963488bad8bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.14/13_14.sce | af75d66aa23988dc0c8d7bbadf10df0f72f063aa | [] | 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 | 819 | sce | 13_14.sce | //To find number of teeth and speed
clc
//Given:
NA=300 //rpm
TD=40, TE=30, TF=50, TG=80, TH=40, TK=20, TL=30
//Solution:
//Refer Fig. 13.18 and Table 13.13
//Calculating the speed of wheel E
NE=NA*(TD/TE) //rpm
//Calculating the number of teeth on wheel C
TC=TH+TK+TL
//Speed and direction of rotation of sha... |
d5450202018a55492fee4fb61b3b6f7bcac5c6d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.3/Ex5_3.sce | 57eba41930765a60fe8c47fb6f7028999ee1e902 | [] | 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 | 281 | sce | Ex5_3.sce | //Example 5_3
clc();
clear;
//To determine the interplanar spacing
a=450 //units in nm
h=2
k=2
l=0
d220=a/sqrt(h^2+k^2+l^2) //units in nm
printf("Inter planar spacing d220=%.1f nm",d220)
//in text book the answer is printed wrong as 15.1 nm The answer is 159 nm
|
35f4b996978e7335f9fe7f76e8a46a0139b24aa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH12/EX12.1/1.sce | f39774d72096cf1b09f6097f6e60d3d7b5972e71 | [] | 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 | 396 | sce | 1.sce | clc
clear
//INPUT DATA
M1=202//mass number of mercury
a=0.50//coefficient of mass number
T1=4.2//temperature in k for mass number 200
M2=200//mass number of mercury
//CALCULATION
T2=((M1/M2)^a)*T1//The transition temperature for the isotope of mercury of mass number 200 in k
//OUTPUT
printf('The transitio... |
2d3b50dd6aa899a7d6c5bb1b9ca00bdb3750b426 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH13/EX13.4.c/Example13_4c.sce | 237afc46fa364ff056e533efc22d5010bb809a43 | [] | 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 | 759 | sce | Example13_4c.sce | clear;
clc;
//Caption: To find gain and resistance of Voltage Shunt Feedback
//Given Values
Rc=4;//in K
r=40;//in K
Rs=10;//in K
hie=1.1;//in K
hfe=50;
hre=0;
hoe=0;
//Required Formulae
rc=(Rc*r)/(Rc+r);
R=(Rs*r)/(Rs+r);
Rm=-(hfe*rc*R)/(R+hie);
disp('K',Rm,'Rm=');
B=-1/r;//in mA/V
D=1+(B*Rm);
Rmf=... |
19848d21305fa7d8d4f3f15b699557455e696afe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH5/EX5.1/ex5_1.sce | b1a705ba026db914f79efa9c2e3e42259473361f | [] | 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 | 553 | sce | ex5_1.sce | //Page Number: 288
//Example 5.1
clc;
//Given
f=10D+9; //Hz
v=9D+3; //V
i=40D-3; //A
l=3; //cm
l1=l/100; //m
G=2D-6; //mho
bet=0.92;
j1x=0.582;
x=1.841;
ebym=1.7D+11; //J
//Maximum voltage
w=2*%pi*f;
v0x=sqrt(2*ebym);
thet=(w*l1)/(v0x*sqrt(v));
av=(bet^2*thet*i*j1x)/(x*v*G);
disp('V',av,'Maximum ... |
2bbb907e9d92fd28320ff30186392a87e0db58d5 | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/Test.sce | 62c67707ff52770622255e2ffcd1532ab068b66e | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 450 | sce | Test.sce | //Serie definition
u=[1:50]
for n=1:20
w(n)=1/n^2
//disp([n,u(n)])
end
a=gca();
a.tight_limits = "on";
//a.x_ticks=string([1 10 20 30 40 50]);
//x_label=a.x_label;
//x_label.text=" Weight"
//x_label.font_style= 5;
//a.y_label.foreground = 12;
//a.auto_ticks="on";
tmp=a.x_ticks;
tmp.locations=[1:5:20];
tmp.l... |
bab876cf8471403512387ff5572f55eec6929c9e | e176c804d3e82d065a9c9635dad92da21c1483a9 | /libs/display_gray.sci | 0a764c8d37172c95e19f7c49398d7c2b38781986 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sci | display_gray.sci | // displaying an 8 bites gray level coded image (0..255)
// usage examples:
// display_gray(u); (without zoom)
// display_gray(u,3); (with zoom x3)
// display_gray([u;v]); (2 images side by side)
function display_gray(u,varargin)
clf()
xset("colormap",graycolormap(256))
if size(varargin)==0 then z=1, else z=vara... |
f2e99cc2ec1edf89cf125c6844d2ab1f6c68b2a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH4/EX4.8/EX8.sce | 5737ff3e352223eac1914560e91bb5a51220ba38 | [] | 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,096 | sce | EX8.sce | // Example 4.8: :Labelled voltages and currents
clc, clear
betaf=100; // Current gain
disp("Let us assume that the transistor is in active region.");
VBE_active=-0.7; // in volts
// From Fig. 4.25(a)
VCC=-10; // in volts
VEE=10; // in volts
RE=6.8e3; // in ohms
RC=10e3; // in ohms
R1=300e3; // in ohms
R2=180... |
a6fcb2949029176efce2ea7d3352906be7e8acd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH12/EX12.9/12_9.sce | 4c61c7f31a1eab28a58c6c647635232f37d6a398 | [] | 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 | 72 | sce | 12_9.sce | Is_by_Ifl=5
sfl=0.04
Ts_by_Tfl=Is_by_Ifl^2*sfl
disp("pu",Ts_by_Tfl)
|
1f35e2caa3342f0c45c7650b93e0e83e7c8aee33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.19/Ex9_19.sce | c8e602aecfeef008e28f7c320489ea1992afe149 | [] | 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,570 | sce | Ex9_19.sce | //Example 9_19 page no:377
clc;
Z1real=4;
Z1img=8;
Z1mag=sqrt(Z1real^2+Z1img^2);
Z1ang=atand(Z1img/Z1real);
Z2real=3;
Z2img=4;
Z2mag=sqrt(Z2real^2+Z2img^2);
Z2ang=atand(Z2img/Z2real);
Z3real=15;
Z3img=20;
Z3mag=sqrt(Z3real^2+Z3img^2);
Z3ang=atand(Z3img/Z3real);
Vl=400;
Vrnmag=230.94;
Vrnang=0;
Vynmag=2... |
cb2c3c17951f7201b4ee7c2a2c3585c11803d412 | 92c39b1bfa02d70fb861a7fa8c907a2a24613ebf | /rotE.sci | 49f6c180625b4332034a4875aceea9c11493729a | [] | no_license | UTEC-mateIII/TAP-2 | 7e9d8aba21430ef00987dbf14418444f27cd20e7 | faeae752299402b9c7f43c37cf7d62b6a0daa42d | refs/heads/master | 2022-06-29T17:15:47.667656 | 2020-05-04T23:56:57 | 2020-05-04T23:56:57 | 260,448,794 | 0 | 2 | null | 2020-05-01T14:16:39 | 2020-05-01T12:00:47 | null | UTF-8 | Scilab | false | false | 237 | sci | rotE.sci | // Alberto Oporto Ames 100%
exec("projection.sci")
exec("rot.sci")
// theta debe estar en grados
function [A, B, C, D] = rotE(u, theta, d)
[_A _B _C _D] = projection(d)
[A B C D] = rot(u, theta, _A, _B, _C, _D)
endfunction
|
d42fd23aa3cc152c1229074441b7b6179798056e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.10/Ex4_10.sce | 1a8b5e9f2cebd0a3cfcc2230d88c426ffc7fd143 | [] | 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 | 180 | sce | Ex4_10.sce | clc;
clear;
close;
//figure 4.15
//pagec no 107
//Figure 4.15
Iload=100*10^-6; //In Amp
Vin=10; //In Volt
gm=Iload/Vin;
Ri=1/gm;
disp("ohm",Ri,"Value of Ri")
|
77ea2c4d5c42fe0dad95d4b0d404754db5abf552 | 58b2bdd4808aac101e5b04d98226b02c64043a5a | /GNGrobin.sce | 55e9d18c4f836bbd12c4efdb7d54e26995163dd2 | [] | no_license | Robstei/Praxisprojekt | b1ab0fc0775e190a0ab7da408e183b921d039d2c | fd38b5cd8dbd188b997706010c120fa12623904e | refs/heads/master | 2021-07-24T17:12:42.185717 | 2018-10-11T07:11:50 | 2018-10-11T07:11:50 | 134,337,007 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,347 | sce | GNGrobin.sce | begin;
$inheight = 800;
$inwidth = 1280;
array{
bitmap {filename = "instructions/original/instruction1.jpg";description = "instruction1";height=$inheight;width=$inwidth;};
bitmap {filename = "instructions/original/play1.jpg";description = "play1";height=$inheight;width=$inwidth;};
bitmap {filename = "in... |
a71160b732212433208c2f67f09d88a111abe6ac | 9209079c67b9efa4a8e619f0621165bac930c82d | /nand2tetris/vm/tests/fixtures/SimpleSub/SimpleSubVME.tst | 43bae468130dae128094d3394392df31d278cb5f | [] | no_license | AlexMost/my-courses | c29c5c65bae36245443c8f95a076e6cdfb6703fe | 3d9148879399232312244d7b0b61a06690ee8cca | refs/heads/master | 2021-01-18T22:09:24.416646 | 2018-07-05T22:09:48 | 2018-07-05T22:09:48 | 21,182,354 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | tst | SimpleSubVME.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/07/StackArithmetic/SimpleAdd/SimpleAddVME.tst
load SimpleSub.vm,
output-file SimpleAdd.out,
compare-to SimpleAdd.cmp,
output-list RAM[0]%D2.6.2 RAM[256]%D2... |
e81a070e5fec71587a80233bb52dce119247a699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH14/EX14.3/Chapter14_Example3.sce | dfbcf66b81dd68dbc4c72e5689c16a7b11e2345d | [] | 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 | 775 | sce | Chapter14_Example3.sce | //Chapter-14, Example 14.3, Page 583
//=============================================================================
clc
clear
//INPUT DATA
T=27;//Temperature of dry air in degree C
p=1;//Pressure of dry air in atm
L=0.5;//Length of the plate in m
v=50;//Velocity in m/s
//CALCULATIONS
DAB=(0.26*10^-4)//DA... |
ae4d8956ba1ec7b5c6e0054c04a77ec12069fd38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH11/EX11.7/Chapter11_Example7.sce | 62667c85603ff7e281bac2410ff499070f512648 | [] | 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 | 566 | sce | Chapter11_Example7.sce | clc
clear
//INPUT
w=23;//thermal capacity of calorimeter in cal
m=440;//mass of water in gm
l=14.6;//lenght of the rubber tube in cm
dt=0.019;//rate of change in temperature in deg.C/sec
t=100;//temperature of steam in deg.C
t1=22;//temperature of the water in deg.C
t2=t1;//temperature of calorimeter in deg.... |
ae1adcbd362d5356dbeab314dab8d43899db6d7f | 98562ca6f70bda880aea47df44925c542b87f96f | /codes/i2c-sensors/ssd1306/hello.ino.tst | 7bfb5458f8e557876a3d25fdd2c5ce704844c530 | [] | no_license | SixNationsPolytechnic/2021-WaterAndEnviromentalMonitoring | 1bcc7e86535c6e87f80dacfdc823a053c135a3c0 | faa47bf9a0a32acf8f29ac6c3387c3b464c5d1d9 | refs/heads/main | 2023-07-14T12:03:25.235341 | 2021-08-06T15:46:37 | 2021-08-06T15:46:37 | 354,346,863 | 0 | 0 | null | 2021-07-30T16:09:29 | 2021-04-03T16:59:40 | CSS | UTF-8 | Scilab | false | false | 265 | tst | hello.ino.tst | #include "SSD1306.h"
SSD1306 display(0x3c, 21, 22);
void setup() {
Serial.begin(115200);
Serial.println"Hello World");
display.init();
display.setFont(ArialMT_Plain_24);
display.drawString(0, 0, "Hello World");
display.display();
}
void loop() {
}
|
9d0509d1712b23d474a3586b5aa95ef35e5e8858 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 5/Questao4.sce | 86bcac079ee7ab499dc25835073b7bff433b6490 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 774 | sce | Questao4.sce |
function [Q,T] =Questao4(A)
[l,c] = size(A)
Q = eye(l,l)
p = min(l,c)
T = A
for i=1:p
for j=i+1:l
//calcular o coseno e o seno, em seguida armazena nas variáveis cosen e sen
cosen = T(i,i)/ (sqrt(T(i,i)^2 + T(j,i)^2 ))
sen = T(j,i)/(sqrt(T(i,i... |
106793bc9d3741a2c9640b4a130ac00737baf501 | ba5d14a99711f45c6f3d2d28e4e8c12c9120e536 | /Calculando algumas funções.sce | a86cd00caa378adaafe0699efef163fe8d795a07 | [] | no_license | RuanXavierSantos/Exercicios_Scilab | 0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b | 219c1609766e1ac1ad27f9469012d7f3bb6c8dea | refs/heads/main | 2023-09-03T00:50:12.356763 | 2021-10-20T13:29:22 | 2021-10-20T13:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | Calculando algumas funções.sce | x=input("informe x: ");
a=x+2;
b=x-2*x;
c=(x^2)-4;
d=(x^3)+2*(x^2)-6*x+2;
mprintf(" %d %d %d %d",a,b,c,d);
|
8b6d39af2bed64d89e14dd10d0163c9ce1992cb0 | 482cdc3e27e99afe860829eff3e593caa62202e3 | /src/Assignment1_Tests/test2.tst | e1ec5ced1a745cc8b61bf75043cb76c719305828 | [] | no_license | abrageddon/DLXCompiler | e153430de4412fe48a34955851352d0fd73ab2d8 | 2d1abd102f723c2e1f0ed5893e86c7d0ceb42914 | refs/heads/master | 2020-12-30T10:50:20.955331 | 2011-12-02T03:34:59 | 2011-12-02T03:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | tst | test2.tst | main
{
var number;
number <- 44;
}
.
|
9c8794f517070ab3869ba61b1571425fdcffc963 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH4/EX4.5.3/Ex4_5_3.sce | 35d0259ab1ccdc7975324ce932337bb4b76a71ce | [] | 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 | 471 | sce | Ex4_5_3.sce |
//ElGamal Key Decryption
// Move scilab to current file directory
[u,t,n] = file()
n = strcat(n)
file_name = basename(n)+fileext(n)
file_name = strcat(file_name)
ind=strindex(n,file_name)
path = part(n,1:ind-1)
chdir(path)
exec("Chapter_4.sci",-1)
p = 11
r = 4
pt = 7
d = 3
e1 = 2
e2 = modulo(e1^... |
d8ac323bfdc173ac9020bf9aac7e0478de982c87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH6/EX6.3/ex3.sce | 2b790b7da895d683e00f165ddf4e936d3bb89168 | [] | 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 | 429 | sce | ex3.sce | //ques3
//Heat Rejection by a Refrigerator
clear
clc
//(a)
Ql=6;//heat of sink in kJ/s
W=2;//work done on refrigerator in kW
COPr=Ql/W;//coefficient of performance of refrigerator
printf(' (a) The coefficient of performance of the refrigerator is = %.0f \n',COPr);
//(b)
Qh=Ql+W;//heat of reservoir in kJ/s
... |
9cad545b5322d7384952c7d3d5dd534165a4189a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.11/ex_4_11.sce | a04ad73e3dd182f6c2c03bf1e48220409e7018f2 | [] | 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 | 293 | sce | ex_4_11.sce | ////Ex 4.11
clc;
clear;
close;
format('v',5);
Ri=2;//kohm
Rf=200;//kohm
//For 741C
fo=5;//Hz
AOL=2*10^5;//unitless
UGB=1;//MHz
ACL=-AOL*Rf/(Rf+Ri+AOL*Ri);//unitless(Exact)
disp(ACL,"Close loop voltage gain");
fodash=fo*AOL/-ACL;//Hz
disp(fodash/1000,"Bandwidth, fo_dash(kHz)");
|
565e885d92b4e0606dcf75a5c2b778d6f2e4a34e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH8/EX8.9/9.sce | 63b255e22dc16ebf801924314676f4c90c6c2393 | [] | 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 | 318 | sce | 9.sce | //variable declaration
N_a=0.3
gamma=45
//Calculations
theta_a=asin(N_a)
theta_as=asin((N_a)/cos(gamma))
//Results
printf('Acceptance angle, theta_a =%0.3f degrees\n',(theta_a*180/%pi))
printf('For skew rays,theta_as %0.3f degrees\n',(theta_as*180/%pi))
printf('//Answer given in the textbook is wrong')
|
b242980ef66564f301f60cd0dbd4f101a2595eda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH14/EX14.5.1/14_5_1.sce | 7af81f1a3a4042748275a02d1587e533ba4a29c2 | [] | 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 | 279 | sce | 14_5_1.sce | clc
//initialisation of variables
H= 900 //ft
P= 1665 //h.p
N= 755
//CALCULATIONS
P1= P/(H)^1.5
N1= N/(H)^0.5
Ns= N*sqrt(P)/H^1.25
//RESULTS
printf ('Unit power= %.4f h.p',P1)
printf (' \n Unit speed= %.1f rev/min',N1)
printf (' \n Specific speed= %.2f rev/min',Ns)
|
3117625f78f213e596c52061aae06a5c7ea04867 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.15_6.tst | b80d66c1e811602b7cde2cc0e7befc8823e17ff7 | [] | 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 | 26,365 | tst | bow.15_6.tst | 15 11:0.125 56:0.14285714285714285 631:1.0 2124:1.0 5695:1.0 6239:1.0 6616:1.0 6680:1.0 6681:2.0 7755:1.0 7762:1.0 8810:1.0
15 14:0.5 16:0.09523809523809523 43:0.25 52:1.0 53:0.1111111111111111 56:0.14285714285714285 102:1.0 272:0.5 367:1.0 415:0.5 521:1.0 549:0.5 693:2.0 983:0.3333333333333333 1928:1.0 4812:1.0 5284:0... |
901d7b2a189f65f08f4aba4aa83d0bd6616d34e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH3/EX3.5/Ex3_5.sce | da1ec43b5cd00785436388eec013362f21f9aa5a | [] | 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 | 170 | sce | Ex3_5.sce |
B=.06//flux density
I=40D-3//current in coil
l=4D-2//length of coil side
F=B*I*l
N=50//no. of turns
mprintf("Force acting on each coil side=%f*10^-3 N",F*N*10^3)
|
f775e00e1d12b0e036baa59b4dafd96afdbc7c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH10/EX10.12/example12_sce.sce | 53c93686b4fabd170259174255d007a020cd7777 | [] | 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 | example12_sce.sce | //chapter 10
//example 10.12
//page 415
printf("\n")
printf("given")
Idss=5*10^-3;Vgsoff=6;Rs=3.3*10^3;Vdd=20;Rd=Rs;
disp("when Id=0, Vgs=Vs=0")
Id=0;Vgs=0;Vs=0;
disp(" at point A universal transfer characteristic Id/Idss and Vgs/Vgsoff=0")
Id=1.5*10^-3;
Vgs=Id*Rs
y=Id/Idss;
x=Vgs/Vgsoff;
disp(" point B th... |
94ebd13a6f612af1047028063a838bc80c92ead8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH7/EX7.7/Ex7_7.sce | 88be033c8c2d8311ff121745ac978c2413c67032 | [] | 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 | 645 | sce | Ex7_7.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 7.7
//Estimation of values of mutual inductance,resistance and capacitance
//given data
It=10*10^3//impulse current(in A)
Vmt=10//meter reading(in V) for full scale deflection
dibydt=10^11//rate of change of current(in... |
4792829bfb0ab416fb078e1f0ab82ef96a4fa3e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH2/EX2.3/Ex2_3.sce | b338e7196fa9238ac37b9c166a906a7a0fe867ca | [] | 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,683 | sce | Ex2_3.sce | // Given:-
clc;
patm = 10**5 // atmospheric pressure in pascal.
mp = 45.0 // mass of piston in Kg
A = 0.09 // face area of piston in m2
deltaV = 0.045 // increment of the volume of air in m3
m = ... |
61d3573c213f0576438e6b18c39fea0cb5459c2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.4/Example5_4.sce | bf7a9c7e53e518ef4568aa4b422e9d88ebeb2860 | [] | 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 | 589 | sce | Example5_4.sce | clear;
clc;
// Example: 5.4
// Page: 151
printf("Example: 5.4 - Page: 151\n\n");
// Solution
//*****Data*****//
m = 1;// [kg]
Tl = 273;// [K]
Th = 295;// [K]
Ql = 335;// [kJ/kg]
//*************//
// Solution (a)
// The coeffecient of performance of refrigerating machine is:
// COP = Ql/Wnet = Tl... |
127579edcd49d69fe4fb94f78f94c3bc56394e8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH8/EX8.18.8/Ex8_18_8.sce | 630f841f7e1399113f2cd1f643d2a505cf5656cd | [] | 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 | Ex8_18_8.sce | clear
clc
E1=1.51;//in V
E2=-0.49;//in v
E=(E1-E2);//in V
n=2;//
F=96500;//in C/mol
R=8.314;//in J/Kmol
T=298;//in K
Keq=10^((n*F*E)/(2.303*R*T));//equilibrium constant
printf('Keq=%.d10^331',Keq/10^331)
//There are some errors in the solution given in textbook
//page 486
|
101eb463e8dddd826bdc0d5c87880aff180932f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH12/EX12.9/12_9.sce | 341624e9ce3bc9470e0d6aea1fee7481c11c54b8 | [] | 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 | 384 | sce | 12_9.sce | clc
//Initialization of variables
P1=14.7 //psia
P4=14.7 //psia
T1=530 //R
T3=1960 //R
P2=60 //psia
P3=P2
g=1.4
eta1=0.85
eta2=0.9
//calculations
T2=T1*(P2/P1)^((g-1)/g)
T4=T3*(P4/P3)^((g-1)/g)
T2d=(T2-T1)/eta1 + T1
T4d=-eta2*(T3-T4) +T3
Wact=0.24*(T3-T4d - (T2d-T1))
Qh=0.24*(T3-T2d)
etath=Wact/Qh
//... |
b27cc3fe3c0cd5bdf07da28aadabce8326f87478 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH4/EX4.5/4_5.sce | a53d1786aa44a00dab1ebe35907b5de21b0fc629 | [] | 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 | 160 | sce | 4_5.sce |
clc
//initialisation of variables
g= 32.2 //ft/sec^2
//CALCULATIONS
r= g^2/((sqrt(2))^2*g^2)
//RESULTS
printf ('coefficient of contraction = %.1f ',r)
|
0c35c3d9061570e53a7fcc5d17cf3d96a6d4687c | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH3/EX3.1/Example3_1.sci | 6a40fa31ae032b14a7408336d668dae157732af6 | [] | 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 | 487 | sci | Example3_1.sci | clear;
clc();
// To find heat loss per square feet of wall surface per hour
deltax=9/12; // thickness of wall in ft
k=0.18; // thermal conductivity of wall in B/hr-ft-degF
t1=1500; // inside temperature of oven wall in degF
t2=400; // outside tem... |
b46735e9429c33f4e32a31174a897324a710fb93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH1/EX1.12/12.sce | 26cdf504728b400dc3776fac18bfc941dfca03ae | [] | 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 | 448 | sce | 12.sce | clc
// Given that
l_0 = 1// let initial length of rod in m
c = 3e8 // speed of light in m/s
v = 0.8*c // speed of frame of reference in m/s
// Sample Problem 12 on page no. 29
printf("\n # PROBLEM 12 # \n")
printf(" Standard formula used \n")
printf(" l = l_0/((1-v^2/c^2)^1/2) \n")
l = l_0*sqrt(1-(v/c)^2) // apparen... |
ec2e187ea759caf4dac174f79b98cc4002d2a4e9 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/StatisticalFunctions/FLKurtosisNZ-UM-01.tst | fed15cb687161760256760953fd370fa08e2ebf6 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,138 | tst | FLKurtosisNZ-UM-01.tst | -- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade
-- secret or copyright law. Dissemination of this information or reproduction of this material is
-- strictly forbidden unl... |
05e6988ea725698212041d6f72391716b335b3f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH12/EX12.4.2/12_4_2.sce | cb8106b5a4599914f4594a058d2762b460da17a4 | [] | 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 | 203 | sce | 12_4_2.sce |
//chapter_no.-12, page_no.-536
//Example_no.12-4-2
clc;
n=5;//number_of_turns
w=50;//film_width
s=100;//separation
d0=2.5*n*(w+s);
L=.03125*(n^2)*d0;
disp(L,'the_inductance(in (nH/mil)is =');
|
a361c2136b6a3912bc489638562f8e79a3ec17b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH5/EX5.10/Ch05Ex10.sce | af84f22570cdd21422d4e1ca8a452d510fcd8146 | [] | 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 | 400 | sce | Ch05Ex10.sce | // Scilab Code Ex 5.10 : Page-5.24 (2004)
clc;clear;
h = 6.626e-34; // Planck's const, Js
m = 9.1e-31; // Mass of electron, kg
L = 4e-10; // Side of the box, m
n1 = 1; // nx box lowest quantum number
E = (h^2)/(8*m*(L^2))*((n1)^2); //Lowest Energy level for electron confinement , in eV
printf("\nMinimum ... |
b3c3c47f61f019e348afd6b6ee51ab87cd3d2f83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH7/EX7.3/7_3.sce | e81c5b276a0c89a77f462b4d38cadbd97e565564 | [] | 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 | 634 | sce | 7_3.sce | clc();
clear;
// To calculate the conductivity of intrinsic silicon and resultant conductivity
ni=1.5*10^16; //intrinsic concentration per m^3
e=1.6*10^-19;
mew_e=0.13; //mobility of electrons in m^2/Vs
mew_h=0.05; //mobility of holes in m^2/Vs
ND=5*10^20; //conductivity in atoms/m^3
sigma1=ni*e*(mew... |
631ea0ca985a049a1d600335da7dbb3805d4ac88 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/eqm/stability_deriv.sci | 1193d707aec3d068ce5dd2fa293bca1d66b5b681 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,409 | sci | stability_deriv.sci | exec('eqm/aerodata_f16.sci');
function [long, lat] = stability_deriv(eqm_fun, X0, controls, params, dX)
[out, inp] = argn(0);
if(inp<5) then
onedeg_rad = 1/180*%pi;
dX = [
1 //(1)V_ftps
onedeg_rad //(2)alpha_rad
onedeg_rad //(3)beta_rad
on... |
f827bce7655235a0f7e7156884710a9fbc466643 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/H04.prev.tst | 667ba8cc1615b635a96641c649defe8a674bab7a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78,880 | tst | H04.prev.tst | n071: (2*x + 2*x*y)^2 + (x^2 - 2*y - y^2 - 1)^2 - (x^2 + 2*y + y^2 + 1)^2 = 0
test: 0
n071: (2*x + 2*x*y)^2 + (x^2 - 2*y - y^2 - 1)^2 - (x^2 + 2*y + y^2 + 1)^2 = 0
test: 0
n071: (2*x - 2*x*y)^2 + (x^2 + 2*y - y^2 - 1)^2 - (x^2 - 2*y + y^2 + 1)^2 = 0
test: 0
n071: (2*x - 2*x*y)^2 + (x^2 + 2*y - y^2 - 1)^2 - (x^2 -... |
762a2443caf31673bcf3c58ddd0091820b65b656 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/ex2c.sce | f329f842db1dabb1f1ce911fa67a224c251c6cda | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | ex2c.sce | clc,clear,clf
exec('input3.sce',-1)
scatter(S(:,1),S(:,2),xlabel('---x-->'),ylabel('---y --->'),title('Scatter plot of points in S'))
|
68ea98ae59d02e02c04844e101baa82b37002132 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/scripts/price-portfolio.sce | cb11e123916d3e9b38dd55519ea2be7d6baa7790 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | price-portfolio.sce | HOME=getenv("HOME") + "/";
PREMIADIR=HOME + "devel/premia/trunk-dev";
exec(PREMIADIR + '/nsp/libpremia/loader.sce');
premia_init()
pb_list = PBLIST;
t=cputime();
Lpb=pb_list;
for pb=Lpb'
printf("job %s\n",pb)
load(pb);
P.compute[];
end
t=t - cputime();
printf ("cpu : %f\n", t);
|
41d50eb204b47c7dfff6db2f0b6689210a5d26c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH5/EX5.5/5.sce | 9a1349d6f6e615a974c42a377a6b9126058eaa7d | [] | 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 | 299 | sce | 5.sce | clc
//Example 5.5
//calculate the velocity of water flowing out of a nozzle
g=32.2//ft/s^2
h=30//ft
M_air=29//dimentionless (molecular weight)
M_CO2=44//dimentionless (molecular weight)
v=(2*g*h*(1-(M_air/M_CO2)))^0.5//ft/s
printf("The velocity of water flowing out of nozzle is %f ft/s",v); |
1b05ba0175be8320808b46d3932aeca081036267 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/algebre/projspec.sci | 6e12897e76c6e685b6ec4d8cba9bc862dadc2fe3 | [
"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 | 1,308 | sci | projspec.sci | function [S,P,D,index]=projspec(A,tol)
//[S,P,D,index]=projspec(A)
//Spectral characteristics of A at 0
//S = reduced resolvent at 0 (S=-Drazin_inverse(A))
//P = spectral projection at 0
//D = Nilpotent operator at 0
//index = index of the 0 eigenvalue
//Author F.D.
//!
[LHS,RHS]=argn(0)
[n,n]=size(A);
if RHS==1 then t... |
3535950040164a535562e2a655aa520f74d8ea62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.36/Ex36.sce | 753d08934c8939286434501979c5aacb19109d7b | [] | 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 | 385 | sce | Ex36.sce | //Ex:36
clc;
clear;
close;
e_irp=51;// EIRP in dbW
g_t=13.12;//G/T ratio in db/k
l_fs=205.34;//free space loss in db
l_ab=0.17;//atmospheric absorption loss in db
df=16;// in MHz
f_v=5;// in MHz
B=df+2*f_v;// in MHz
k=1.38*10^(-23);// Boltzmann's const in J/K
k_b=k*B*10^6;
kB=10*log(k_b)/log(10);
c_n=e_ir... |
7363e079b9393077252c6d398b5831091e83ff59 | 978b15852ad0d9219e0cd69e9da3a9140b84aa97 | /exo5+exo6/Jacobi+GausseSeidel.sce | ee74aef8593fd268842229cd2dc011c489b9e930 | [] | no_license | nadine867/TP_CN | cd2acc700471c7f595ada5f2b799b43ca44590ce | fcf09074e27723ca3e9b1eec870386c848b190f9 | refs/heads/master | 2023-02-03T04:07:38.525606 | 2020-12-18T20:23:55 | 2020-12-18T20:23:55 | 316,060,516 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,331 | sce | Jacobi+GausseSeidel.sce | function[sol,relres,resvec,niter]=jacobi(A,b,tol,nmaxit)
x0=zeros(n,1);
normb=norm(b);
resvec=zeros(nmaxit,1);
res=b-A*x0;
relres=norm(res)/normb;
D=(1.)./diag(A);
niter=0;
while(relres>tol) &(niter<nmaxit)
niter=niter+1;
... |
120779e26b56f98ebc0cfccedb79c59be0cdfabc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.31/ex_4_31.sce | 729c99024c5a031b9dedb7a6f4fc80d2055219b8 | [] | 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 | 742 | sce | ex_4_31.sce | //Example 4.31//size and number of projector
clc;
clear;
close;
format('v',6)
watt=[300,500,1000,1500];
lum=[5000,9000,18000,27000];//
el=50;// in lux
dp=0.8;//depreciation factor
wlf=0.5;//waste light factor
uf=1.2;//utiliazation factor
l=60;// in meters
b=15;// in meters
lw=1000;// mscp in watts
a=l*b;//arean in m^2
... |
745d2c97ff1bae40c8f31d44b1e406fa7e508a22 | 44399e43f8dd4d0a7c8d41f5f407ee36ce8ab651 | /Puntofijo2.sce | 47acdf026e4c48f445c8d71ff7a0eacba71047cc | [] | no_license | BanderoChinoZF/MetodosNumericos_SciLab | e021c3f11e25f7216e0b2b3b015d0737e176edfa | eec9fcaa3ff226ca058f515d72b6558923421ad9 | refs/heads/master | 2022-11-13T12:33:03.241216 | 2020-07-02T07:00:42 | 2020-07-02T07:00:42 | 276,572,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | Puntofijo2.sce | function f = fx(x)
//f = (3/(x-2))
//f = x^3 + 2*x^2 +10*x - 20
f = sqrt(x)-cos(x)
endfunction
n=0;
Xo=input('Xo: ');
E=input('Ingrese la tolerancia: ');
n_ite=input("Ingrese el num de iteraciones: ")
fXo=feval(Xo,fx);
eror=10;
it=0;
disp('n f(xi) |Error... |
4faca97ac0f77413fa94abe77abdc51244d76ba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH9/EX9.5/Exa5.sce | 69579a1ead423c8602a5966e9edba00b991e8d6d | [] | 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,127 | sce | Exa5.sce | //Exa3
clc;
clear;
close;
//given data :
SQa=100//in Kgs
AQa=90//in Kgs
SPa=2//in rupees per Kgs
APa=2.20//in rupees per Kgs
SQb=50//in kg
AQb=60//in Kg
SPb=5//in rupees per Kg
APb=4.50//in rupees per Kg
//(i) MUVa
MUVa=SPa*(SQa-AQa);//in rupees
//(ii) MPVa
MPVa=AQa*(SPa-APa);//in rupees
//(iii) MCVa
... |
ff3a0aa619e106034ee1a8abc3a29b9aac1aaa51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH6/EX6.13/Ch06Exa13.sce | c8d2b33afadf9119a0ef2ba0fcf1e18870c5eb85 | [] | 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 | 599 | sce | Ch06Exa13.sce | // Scilab code Exa6.13: : Page-245 (2011)
clc; clear;
Q_EC = 850; // Q value for holmium 161, keV
B_p = 2.0; // Binding energy for p-orbital electron, keV
B_s = 1.8; // Binding energy for s-orbital electron, keV
M_ratio = 0.05*(Q_EC-B_p)^2/(Q_EC-B_s)^2; // Matrix ratio
Q_EC = 2.5; // Q ... |
cf051d3097c5e6427820b8a82a534950d60c2f74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH5/EX5.21/Ch05Ex21.sci | 6d251c65c662957ee469ee5ff5d9ebd1e825cca5 | [] | 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 | sci | Ch05Ex21.sci | // Scilab Code Ex5.21 Determining tilt angle from dislocation spacing in the boundary of Cu: Page-188 (2010)
a = 3.61e-010; // Lattice parameter of Cu, m
b = a/sqrt(2); // Burger vector magnitude for fcc Cu, m
h = 1.5e-06; // The vertical spacing between two neighbouring edge dislocations, m
theta = atand(b/h)... |
8989389285f5fe3b02dd8d1b6a740665adb165d2 | 8277b4cef8c96ff5b520fc43b2200dc67ea6b2ed | /exp5.sce | 5ec7289fe9e0f4474dd18ec7699128c13d25eacc | [] | no_license | divyashah98/OST | 5f7f3acf268fb9ab7e4ae889229e87d9ad31e6be | 214ee78db4e98e6387fca13cbe889054f3d9c298 | refs/heads/master | 2020-03-24T20:12:02.774742 | 2018-09-25T05:08:32 | 2018-09-25T05:08:32 | 142,964,900 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | exp5.sce | clc;
clear all;
[y fs] = wavread('s1.wav', [6000, 7999])
sound(y)
n = length(y);
//Plotting audio file against time
t = 1:n
figure(1)
plot(t, y)
//Finding Fs and length of audio file
disp(fs, "fs = ")
disp(n, "length of y = ")
//Finding FFT
//Plotting FFT magnitude against sample number
f = abs(fft(y))
k = 0:(n - 1)... |
05e2a7468330fbc804862b06ecb58de2acfa4822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH8/EX8.12/12.sce | af681418fd5f188847ef81ac3cf094bd90ea1abc | [] | 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 | 499 | sce | 12.sce | clc
clear
//INPUT DATA
a=1.5*10^-10//each side of cubicalbox in m
n1=1//for lowest energy
n2=1//for lowest energy
n3=1//for lowest energy
h=6.625*10^-34//Planck's constant in m^2 Kg /sec
m=9.11*10^-31//mass of electron in Kg
e=1.6*10^-19//charge of electron in coulombs
//CALCULATION
n=(n1^2+n2^2+n3^2)//tot... |
3035ea1a0eeaa2d3434fa130b54e58e6e2c8f515 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH4/EX4.11/ex4_11.sce | b8a28c798607042fc2d08c3c74ce5227b7ed2efa | [] | 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 | ex4_11.sce | // Exa 4.11
clc;
clear;
close;
// Given data
T1 = 127;// in °C
T1 = T1 + 273;// in K
R = 287;
V1 = 300;// in m/s
p1 = 2;// in MPa
p2 = 0.5;// in MPa
p1 = p1 * 10^6;// in Pa
p2 = p2 * 10^6;// in Pa
C_P = 1.005*10^3;// in J/ kg-K
Gamma = 1.4;
V2 = sqrt(2 * C_P *T1 *{1-(p2/p1)^((Gamma-1)/Gamma)} + V1^2);// ... |
650ce800be5284517950c6f5fc337c905aa7acbc | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/diabetes/data12.tst | f2f9711161a5ed10245a2c334f253fd4c5f1b718 | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,550 | tst | data12.tst | 0.235294 0.552764 0.622951 0.20202 0.118203 0.423249 0.0170794 0.1 class0
0.352941 0.40201 0.655738 0.363636 0 0.593145 0.0422716 0.116667 class0
0.588235 0.577889 0 0 0 0 0.0781383 0.15 class1
0.117647 0.638191 0.377049 0.212121 0.395981 0.512668 0.0418446 0.0166667 class0
0.529412 0.824121 0.639344 0 0 0.488823 0.029... |
c0fb7ac54d803cae523fc71942d07d7f9d00bed8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH1/EX1.2/EX2.sce | 720ec27ae4b09a8ca6b7830cd8d776125afdaa39 | [] | 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 | 418 | sce | EX2.sce | // Example 1.2: Electric field intensity, Voltage
clc, clear
l=3e-3; // Length of the bar in metres
a=50*10*1e-12; // Cross-sectional area in metres square
I=2e-6; // Current in amperes
rho=2.3e3; // Resistivity in ohm metres
E=I*rho/a; // Electric field intensity in volt per metres
V=E*l; // Voltage across the ... |
e61394e4fa68b622d23d378f1f5be2ba454b64c8 | 94c9fb094976265935872b32b6e6a4fd9454ef31 | /tp1/surface.sce | b7a010a73826de9f4de1290f407f9bf7e81ca295 | [] | no_license | dtbinh/tp-scilab | 6d2373af479d9cb1d1494f3ccc5abcae0697b8ac | 4c41c77eb4a4021022fa91614cfe4f7a4417f4e5 | refs/heads/master | 2021-01-10T12:23:53.166922 | 2013-12-19T17:23:18 | 2013-12-19T17:23:18 | 49,208,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | surface.sce | w0=-118.0:0.1:-116.0;
w1=9.0:0.1:11.0;
//[W0,W1] = meshgrid(w0,w1);
[r1, c1] = size(w0');
[r2, c2] = size(w1');
for i=1:r1
for j=1:r2
e = M*[w0(i) w1(j)]' - t;
E(i,j)=1/r1*e'*e;
end;
end;
x = w0;
y = w1;
z = E;
figure();
plot3d(x, y, z);
|
cc42a16b4cd835fdc6b093c902d9a60221ff6828 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/lqg/scilab/lqg_mac1.sce | def4e72fff5d4e78b182c8a0ab24e4c3a797cb6f | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | lqg_mac1.sce | // Updated(19-7-07)
// 13.5
// MacGregor's first control problem
A = [1 -1.4 0.45]; dA = 2; C = [1 -0.5]; dC = 1;
B = 0.5*[1 -0.9]; dB = 1; k = 1; int1 = 0; F = 1; dF = 0;
V = 1; W = 1; dV = 0; dW = 0;
rho = 1;
getf lqg1.sci;
[R1,dR1,Sc,dSc] = lqg1(A,dA,B,dB,C,dC,k,rho,V,dV,W,dW,F,dF)
[Nu,dNu,Du,dDu,Ny,d... |
88a7c994548a8f26acd3c55758483cb7a574d9c9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/xpolys.man.tst | 1d4c0b406e63f3faf3f9bed79ed9b3482ffaa3b2 | [
"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 | 143 | tst | xpolys.man.tst | clear;lines(0);
plot2d(0,0,-1,"012"," ",[0,0,1,1])
rand("uniform")
xset("pattern",3)
xpolys(rand(3,5),rand(3,5),[-1,-2,0,1,2])
xset("default")
|
58d5bafd6cdf36230763b7aff2fd7dfeb1f16a3b | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /help/fr_En/DCMOTOR_SB.tst | bebb34147731cecffab69fb2b67af36b049d36ba | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,692 | tst | DCMOTOR_SB.tst | \name
DCMOTOR_SB
\palette
Arduino
\smalldescription
Permet de piloter un hacheur (relié à un moteur)
\description
Le bloc DCMOTOR permet de piloter 1 ou plusieurs moteurs à courant continu. La carte Arduino ne délivre pas suffisamment de puissance, c'est pourquoi il est nécessaire d'utiliser un préactionne... |
f4b9e347e30dc4df061331201fb3870250d06fb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH9/EX9.10/ex9_10.sce | 726dcc9fee09f65d891795cd501c206864f26827 | [] | 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 | 596 | sce | ex9_10.sce | // Exa 9.10
clc;
clear;
close;
// Given data
T_sat = 179.88;// in degree c
T_sat = T_sat + 273;// in k
T_sup = 200;// in degree c
T_sup = T_sup + 273;// in k
L = 2013.6;// in kJ/kg
C_ps = 2.326;
C_pw = 1;
x = 0.8;
phi_wet = C_pw *log(T_sat/273) + ( (x * L)/T_sat);// in kJ/kg-K
disp(phi_wet,"Entropy of wet... |
e5d8bb18b115976ac9b280feb9cdd658d7ea9803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH1/EX1.14/Ex1_14.sce | 7ed7d2e927d51b2827d8a4207e2edaa30e6af117 | [] | 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 | 236 | sce | Ex1_14.sce | //Ex 1.14
clc;clear;close;
format('v',5);
Iout=0.5;//mA
VBE=0.7;//V
VCC=5;//V
Beta=50;//unitless
IREF=Iout*(1+2/Beta);//mA
disp(IREF,"Reference current is(mA) : ");
R=(VCC-VBE)/(IREF);//kohm
disp(R,"Resistance is(kohm) : ");
|
25ccc29bf0676246e681df7e88d16f952bbd0077 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH2/EX2.8/Example2_8.sce | 5167ba5663a7677f1b854088c63c81d76f4d5c12 | [] | 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 | 337 | sce | Example2_8.sce | clc
// Given That
E = 100 // magnitude of electric field perpendicular to X axis in N/C
r = 10 // radius of circle in cm
//Sample Problem 8 Page No. 83
printf("\n # Problem 8 # \n ")
ds = (r*1e-2)^2 //calculation of area of coil
phi = E*ds //calculation of Flux through coil
printf("Flux through coil is %d N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.