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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ec018f6de9003ae19f4b1c28df903547acf439f8 | 4bcda117acce5bd62feaddb016885345abcd8069 | /TestCaseLoop.tst | 25d48a3ef5e7413318001e5b8b8b70648ff32dea | [] | no_license | SuneetIyer/Hack-Computer | 190c5f4fcafcf5cc4b560516775a5c52f730ce91 | b0f6576c5ef9f76a97d47d9ce220a6ed0325e86c | refs/heads/main | 2023-06-19T22:13:14.981337 | 2021-07-20T13:20:26 | 2021-07-20T13:20:26 | 387,495,135 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | tst | TestCaseLoop.tst | load HackComputer.hdl;
output-file TestCaseLoop.out;
//Loading program into Instruction memory
ROM32K load TestCaseLoop.hack;
//Calculating the sum of the first 99 natural numbers=1+2+..+99
//Result is stored at address 17
output-list RAM64[17]%D1.9.1;
set reset 1;
tick,tock;
set reset 0;
output;
rep... |
9d344db2ef64f192e37302ba981492dd62bb34c5 | 6d92b23c0a0be3fa70a46ef017f383fff2a067a7 | /Realtime_IP/hardware/export_db/master_example.cmp.sci | 5be5def8da8c7c2205047fbd7f9484b6d9019dca | [
"MIT"
] | permissive | OhmVikrant/Image-Processing-on-FPGA | 3cd8ebaefd4b69ef49082efdee60674e6698559b | d3bb6075ba77b64d13d9d050b2a04acdc6fbdd71 | refs/heads/master | 2022-10-17T10:09:13.459530 | 2020-06-15T14:32:40 | 2020-06-15T14:32:40 | 272,455,142 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 11,733 | sci | master_example.cmp.sci | <session design_hash="00000000000000000000" m_completed_compilation="false">
<stp_instance is_hdl_type="false" m4k_usage="0" m512_usage="0" mram_usage="0">
<sci_design_instance entity_name="" instance_hpath="" instance_name="auto_signaltap_0" ir_bits="0" is_auto_index="false" is_imported_from_partition="false" is... |
e11b8a45c728150c7833b53ae44beefe976b5b13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH10/EX10.9/exa10_9.sce | b16c01e273378046eec792ee0142b4fccab64af6 | [] | 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 | 292 | sce | exa10_9.sce | // Example 10.9
// Design of quadratic optimal regulator system
clear; clc;
xdel(winsid()); //close all windows
mode(0);
A = [0 1;0 0];
B = [0;1];
Q = [1 0; 0 1];
R = [1];
// solve the riccati equation
P = riccati(A, B*inv(R)*B', Q,'c')
K = inv(R)*B'*P
E = spec(A - B*K) // eigen values
|
b3cb6c785e2e4e5a175da861d059fb8214fd4aec | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t0.tst | c5bbb821aaca07702ffcbe2b9e9cb323a6b8df8c | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e16</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e25</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e54</EventId>
<Reaching... |
d9e23c3feaafd526800c25ec55ced8c8c2a3ec71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH2/EX2.3/ex2_3.sce | a017a226cd2f75d0fe6dffa027e7d73bf24226e3 | [] | 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 | 298 | sce | ex2_3.sce | // Exa 2.3
clc;
clear;
close;
// Given data
R1 = 2.2*10^3;// in ohm
R2 = 4.7*10^3;// in ohm
R_AB = (R1*R2)/(R1+R2);// in ohm
Vi = 20;// in V
V_o = (Vi * R_AB)/(R_AB+R1);// in V
PIV= Vi;// in volts
disp(V_o,"The output voltage in V is");
disp(PIV,"Peak inverse voltage in volts is : ")
|
c3bd23f8786088fc0a4eb171bd8928722f4b3844 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.12/Ex1_12.sce | 944a5687d8c3a534583894cbe8bff2c4edd15579 | [] | 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 | 424 | sce | Ex1_12.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.12
//Given Data Set in the Problem
kin_visc=6*10^-4
SG=1.9
dens_water=1000
//Calculations
dens_liquid=SG*dens_water
visc=dens_liquid*kin_visc //Kinematic viscosity=Dynam... |
9b0885911f85fbd90cd0e58909880b1ec3585b0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH2/EX2.1/Ex2_1.sce | f4e3dfded0a8ee671f0054da5efcc01d7f6d22b8 | [] | 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 | 785 | sce | Ex2_1.sce | clear all; clc;
//This numerical is Ex 2_1,page 18.
//These are examples given in the book,they are used to teach conversions from one unit to another
rho=0.075//lbm/ft^3
V=120
RHO_c=rho/32.2//rho conerted to slug/ft^3
disp("The initial value of rho was given in lb/ft^3. In order to convert it to slug/f... |
4b9ca2c54fe6635cf60336cd8573d4dfd65e0d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH5/EX5.6/Ex5_6.sce | b98707b70a7dc26a6ca5f04f33e069eca9b09a58 | [] | 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 | 910 | sce | Ex5_6.sce | // exa 5.6 Pg 153
clc;clear;close;
// Given Data
n=5;// no. of rivets
P=45;// kN
alfa=30;// degree
tau=120;// MPa
Pd=P/n*1000;// N (direct shear load in rivet)
// C.G. of rivet group
// values below are collected direct from figure
x_bar=(3*200)/5;// mm
y_bar=(1*50+1*150+1*100+1*200)/5;// mm
ex=300+x_bar+y_bar;//mm
... |
0a11a3f7e0e165f36b4c3171c2a62081a1b1d03d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.29/ex2_29.sce | edc6bff85c8401aa785fc4c2fcedba00d1e7cfc9 | [] | 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 | 174 | sce | ex2_29.sce | // Example 2.29, page no-48
clear
clc
h=1
k=1
l=1
a=3*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe interplanar spacing for the plane(101) is %.3f*10^-10 m",d*10^10)
|
dd82bb417a55913807f432162dd0bcfaea0c89f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH7/EX7.4/ex7_4.sce | 974f814fbdc448b2633b4d149b92093eb0753082 | [] | 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 | 325 | sce | ex7_4.sce | // Example 7.4, page no-162
clear
clc
r=1.85*10^-10//m
t=3.4*10^-14//s
m=9.11*10^-31//Kg
e=1.6*10^-19//C
n=5.8*10^28//per m^3
rho=m/(n*t*e^2)
printf("\nThe electric resistivity of material is %.3f*10^-8 Ohm-m",rho*10^8)
mu=e*t/m
printf("\nThe mobility of the electron in a metal is %.2f*10^-3 m^2/v-s",mu*10... |
7b516f93efb660785d5b4649c9e562e73ad9b757 | 993c10f7706af779d36ea4b5254792a34da554c1 | /ann/practice/Classificacao_gaussiana/run.sci | 9ffe954097f4846eb8b943602bff8ced1a230f3f | [] | no_license | francislz/college_codes | e1c113a29fcb704a243e5a942bf2c629157d315a | 41bbefbe13135eb2654815aeb546a44462847b87 | refs/heads/master | 2022-01-29T11:15:15.597217 | 2018-11-01T22:40:13 | 2018-11-01T22:40:13 | 155,784,263 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 822 | sci | run.sci | clear; warning off;
exec('geragauss.sce',-1);
exec('../Plota_Dados_E_Reta/plotdata.sce',-1);
exec('../Treinamento_Perceptron/treina_perceptron.sce',-1);
exec('../Perceptron/perceptron.sci',-1);
W = [rand() rand()];
b = rand();
nc = 2;
npc = [20 50];
mc = [3.6 2.1; 6.7 5.2];
varc = [ 0.1 0.2 ; 0.3 0.4];
[X Yd] = gera... |
bf1efeadff8f96e2397d4c81ba05cedf2ad8a212 | 16ba4c57ca37d5496a121e2ee04b1addfdfc3463 | /FIRfilter.sce | 4bd0fde5f5897516f1fd006c7c81429dbd5693f5 | [] | no_license | fe-lpvo/FW_Respirator_CtrlMisko | ee00f92bb99a6a5231566134551bc109ec3b7403 | dd2005563818764b61d3c7826d27e08ebe0aff5b | refs/heads/master | 2021-05-21T18:37:53.735837 | 2020-04-16T16:14:55 | 2020-04-16T16:14:55 | 252,755,134 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | FIRfilter.sce | clear,xdel(winsid()),clc
f0=500
fm=10
Fm=fm/f0
L=52
typ='hn'
n=-L/2:L/2
hn=wfir('lp',L,[Fm 0],typ,[0 0])
[H1,F]=frmag(hn,1000)
hn=wfir('lp',L,[Fm 0],typ,[0 0])/H1(1)
disp(round(hn*2^15))
[H,F]=frmag(hn,1000)
scf()
subplot(211)
plot(hn,'o')
subplot(212)
plot(F*f0,H)
x=[ones(n)*1023 ones(n)*500 ones(n)*100 ones(n)*(-50... |
b29d3681de40737d8f9c75adb7ad62ff5bb76a5f | d09a1514b687b312a9925876da42bb2b22828225 | /CSCE312/Fall2016/Assignments/03/RightArithmeticBitshift.tst | b5772a99929e99ef3a31579035092fc1f519beee | [] | no_license | astro-nat/TAMU | 7861128deb2020fe5c0681522cf3731126a0ef7d | c7526f5c8adc28e1f479fc2f1cbd49e62a7a0d5c | refs/heads/master | 2021-01-13T13:56:29.819007 | 2018-01-18T17:31:22 | 2018-01-18T17:31:22 | 72,952,572 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 703 | tst | RightArithmeticBitshift.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/03/RightArithmeticBitshift.tst
load RightArithmeticBitshift.hdl,
output-file RightArithmeticBitshift.out,
compare-to RightArithmeticBitshift.cmp,
output-li... |
fcf72468d9939666baef4b8d29c28d18a861d588 | 72b0437731d44d03866f19e69d3356a2c65ef27f | /time_rev.sce | de8402033ee255514cba9f2c4abb5c5ed965c47d | [] | no_license | sonusharma55/Discrete-Time-Signal-Processing | 217f1753fbacf4bd67e557d3630ce1cf018ce036 | 6c255a9ca331c984598a04b81bb67e903e2e4c16 | refs/heads/master | 2020-07-25T21:12:32.026102 | 2019-09-14T11:36:56 | 2019-09-14T11:36:56 | 208,425,368 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | time_rev.sce | //B.) Time Reversal property
clear
function[X] = dft_s(x)
N = length(x)
n = 0:1:N-1
w = exp(-1*%i*2*%pi/N)
z = n'*n
TF = w.^z
X = x*TF
endfunction
clc
disp("To Verify : DFT[x(-n)] == X(-k)")
x = input("Enter a sequence x(n)=")
X = dft_s(x)
disp(X,"X(k) = ")
N = length(x)
n = ... |
2a72fd3f9cf2851f4901557c12bee9c0b0120b93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.8/Ex10_8.sce | ea6a4465bae18c862c6ff075336491ce7123d72b | [] | 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 | 246 | sce | Ex10_8.sce | clc
clear
//Initialization of variables
disp("From table 1 of keenan and keynes,")
p=400 //psia
t1=700 //F
p2=85 //psia
//calculations
s2=1.6398 //units/lb
t2=350 //F
//results
printf("Final state of steam is %d psia and %d F",p2,t2)
|
c174ecf5b20a82f1e41a9afec30baf8358f16a1a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/sci_roots.sci | a9a1101955d13179b6de9cc63ab527e384bb72b2 | [
"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 | 163 | sci | sci_roots.sci | function [stk,txt,top]=sci_roots()
// Copyright INRIA
temp=gettempvar()
txt=temp+' = '+stk(top)(1)
stk=list('roots(poly('+temp+'($:-1:1),''x''))','0','?','1','1')
|
bf980b48f6fb55d4f64c09dfdc837138b128a064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH7/EX7.2/Ex7_2.sce | b65001eb138ba1dc4202783c4aa003015134132d | [] | 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 | 539 | sce | Ex7_2.sce | clc;
close();
//page no 230
//prob no. 7.2
//v(t)=80*cos[(2*%pi*10^8*t)+20*sin(2*%pi*10^3*t)] --eq
//v(t)=A*cos[Wc*t+Bsin(Wm*t)] --eq7-27
//comparing the above 2 equations we get
A=80; //volts
fc=10^8; //Hz
fm=10^3; //Hz
B=20;
disp('Hz',fc,'(a) The carrier cyclic frequency is ');
disp('Hz',fm,... |
3568445c0c4fe0315549c13eda40a1f97426a336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH3/EX3.1/EX3_1.sce | 89d13d7da03791a974759c1c5c0f8016ced58cc7 | [] | 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 | 506 | sce | EX3_1.sce | //Example 3.1: Combining minterms in karnaugh map
clc; //clears the console
clear; //clears all existing variables
disp(' The given function is having three input variables A , B and C')
disp(' the minterms in adjacent squares can always be combined using the adjacency property')
disp(' m0 + m1 : A''B''C''+ A''B''... |
267d6643bb526486f0be62d3ebdd568f5632b8c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH9/EX9.12/Ex9_12.sce | a620e30d92ad9aa2fec9cd929f8cd4a5c3509551 | [] | 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 | 307 | sce | Ex9_12.sce | //Ex:9.12
clc;
clear;
close;
Vs=3*10^4;// saturation in m/s
W=25*10^-6;// depletion layer width in m
tr=W/Vs;// transit time in sec
f=0.35/tr;// max 3 dB bandwidth Hz
f1=f/10^6;// max 3 dB bandwidth Hz
printf("The max 3 dB bandwidth =%d MHz", f1);
printf("\n The answer is wrong in the textbook"); |
27fd6d3e150cbb68abe6061dab7865e1d9d7722d | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH20/EX20.2.1/20_2_1.sce | 08cc44cf960bb763dfa5a14b0c906c700bb1cac3 | [] | 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 | 339 | sce | 20_2_1.sce | clc;
// page no 753
// prob no 20.2.1
// An optic fiber is made of glass with following details
n1=1.55;//RI of glass
n2=1.51;//RI of clad
// NA of the fibe is given as
NA=n1*sqrt(2*(n1-n2)/n1);
disp(NA,'The numerical aperture is');
// Acceptance angle is given as
acc_angle=asind(NA);
disp(acc_angle,'The acc... |
8259879d0eb40a6df35261c088bae417afa8a516 | dbd504f73f233675d0c8c2c8c5730e866aabcd96 | /codes/outage.sce | c8ca28f106971fab88b6120f6d8b6c1df86b3a52 | [] | no_license | surajdurgesht/Wireless-Communication-Lab | f5019be42d24fe6568e98d666efd901283a0c7a7 | e8fac339daf91d24ee0dd9e22e9236fcbb68dac3 | refs/heads/master | 2020-06-04T19:07:54.824459 | 2019-06-16T06:30:21 | 2019-06-16T06:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | outage.sce | B=100;
R=0:10:100;
S=3;
P=10;
l=20;
O=1-exp((-l*(2^(R/B)-1)*S^2)/P);
plot(R,O);
xlabel("rate of transmission");
ylabel("probability of outage");
title("Outage probability");
|
acea50f85c28e7804fac1f7b267f0889180ca91d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH7/EX7.5/Ex7_5.sce | f5d3b4c928f5ba694852dd7bd6d8048ab1e481ec | [] | 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 | 809 | sce | Ex7_5.sce | printf("\t example 7.5 \n");
printf("\t approximate values are mentioned in the book \n");
T1=175; // inlet hot fluid,F
T2=150; // outlet hot fluid,F
t1=85; // inlet cold fluid,F
delt1=T2-t1; //F
printf("\t delt1 is : %.0f F \n",delt1);
U=15; // assumption,Btu/(hr)*(ft^2)*(F)
theta=8000; // operating hours,hr
... |
310f6c1319ba2407323c3a1553fa6064840b26ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH4/EX4.17/Ex4_17.sce | eca04296124fc701655677f79a9400dbf88c858f | [] | 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 | 366 | sce | Ex4_17.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 4 Example 17")
disp("NOTE=>In question no. 17 expression for (minimum theoretical ratio of heat supplied from source to heat absorbed from cold body) is derived wh... |
cc7f5fb42cccff122f254a750939a810c0f1a976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH2/EX2.17/Ex2_17.sce | 20e9804f8431f3a342e81c55c32ff6c384b002a3 | [] | 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 | 641 | sce | Ex2_17.sce | // Scilab Code Ex2.17: Page-72 (2013)
clc; clear
u = 931.5; // Energy equivalent of 1 amu, MeV/u
c = 1; // For simplicity assume speed of light in vacuum to be unity, m/s
E_B = 4.24; // The dissociationenergy of the NaCl molecule, MeV
M = 58.44*u; // Energy corresponding to molecular mass of NaCl, MeV
... |
11037394df7d17b9df4c8cfeea1cd32b94d11431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH7/EX7.3/Ex7_3.sce | f236accae7d1b4d74166a486965de4d842b2e0eb | [] | 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 | 806 | sce | Ex7_3.sce | clear all; clc;
disp("Scilab Code Ex 7.3 : ")
//Given:
udl = 6.5; //kN
l_bc = 8; //m
l = 150/1000;//m
t = 30/1000;//m
//Internal Shear:
w = udl*l_bc/2;
l_wc = l_bc/4;
l_bw = l_bc - l_wc;
V = (w*l_bw)/l_bc;
R_b = w - V;
//Section Properties:
y1= l/2;
A = (l*t);
y2= l+(t/2);
y_dash = (y1*A + y2*A... |
f532a5f5dbf1a7430904015e2d68b999d296d4aa | 244971ae8af51184d278cdc2be1c80775413adae | /SSSeQAMcoder.sci | abdb917abd15c1172fc37b232439233daac46f8e | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sci | SSSeQAMcoder.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [y,s] = SSSeQAMcoder(x,M)
xM = 0:M-1;
b = sqrt(M);
L = log2(M);
Kmod = 1/sqrt(2*(M-1)/3);
yM = zeros(M,L);
A=ones(1,L);
B=2.^(L-1:-1:0)
for n = 1:M
yM(n,:) = [bitand(xM(n)*A,B)... |
24dbc3e8f6e947feda71f47a4bc80e998cad1ca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.5/c6_5.sce | 33901542260edffc64cc2f85cd74ba8fbeeaf11e | [] | 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,463 | sce | c6_5.sce | //(6.5) A 0.3 kg metal bar initially at 1200K is removed from an oven and quenched by immersing it in a closed tank containing 9 kg of water initially at 300K. Each substance can be modeled as incompressible. An appropriate constant specific heat value for the water is cw = 4.2 kJ/kg. K, and an appropriate value ... |
94ddc3128ea1f3b99621d271d6befb9d252358f1 | abde5210bd538a9873f628945f25c08a6711abd0 | /appTests/v0.3_reverse_sort_stdin.tst | e3018e34b501a7cf0d0cbb7ac7872760b40971d0 | [] | no_license | step-batch-7/jsTools-mildshower | 4ff0f8357dac1fbb1603f933d4a9b658aa9bf61f | 20444d5ca9540782b793270f9c5e2f138696b6d7 | refs/heads/master | 2023-01-12T06:32:14.662150 | 2020-01-09T06:10:28 | 2020-01-09T06:10:28 | 229,381,464 | 0 | 1 | null | 2022-12-30T19:21:29 | 2019-12-21T05:32:22 | JavaScript | UTF-8 | Scilab | false | false | 66 | tst | v0.3_reverse_sort_stdin.tst | printf "a\nA\n8\n 8" > foo;cat foo | node sort -r; rm foo
a
A
8
8 |
da09f9d3e72095650286a7918a628083450d8117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH3/EX3.14/P3_14.sce | c8897bdff82e2c3d7591c72ca07a6d741c12864d | [] | 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 | 531 | sce | P3_14.sce | //EXAMPLE 3.14
//ENERGY OF LP DISCREET TIME SIGNAL
//PROGRAM REQUIRES MAXIMA SCILAB TOOLBOX
clc;
clear;
syms n wc w;
wc = input("the value of wc ( less than %pi)= ");
n = -5:0.05:5;
for i =0:length (n)
hlp(i+1) = (wc/%pi)*sinc((wc*i)/%pi);
E(i+1)=(abs(hlp(i+1)))^2;
end
Energy = sum(E);
if (Energy<%inf ) the... |
53648c26168e98c14fdaa925572e127c89b27193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH6/EX6.1/Chapter6_Example1.sce | 73902c344767f12140adcfbe04bd2ed812d931ff | [] | 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 | 402 | sce | Chapter6_Example1.sce | clc
clear
//INPUT
vl=1;//volume of water in cc
vs=1.0908;//volume of ice in cc
t=273;//temperature in k
p=76*13.6*981;//pressure in dynes/sq.cm
l=80;//latent heat of fusion in cal
j=4.2*10^7;//joules constant in erg/cal
//CALCULATIONS
v=vl-vs;//change in volume
T=(v*t*p)/(j*l);//change in melting point o... |
a216b80950b6ad1507e094bd063e903bcf45c82c | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/9_4_1.sci | a9979b9ef9d1b88286035c4519c816b798c8b92d | [] | 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 | 79 | sci | 9_4_1.sci | Hethane= -1559.9 //Kj/mol
Hethene= -1411 //Kj/mol
Hhydrogen= -285.84 //Kj/mol |
39769405e5829595aed8d54785fd0559b1cfbcd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH4/EX4.1b/Exa_4_1b.sci | 78e1290631d34fa4b74d109ec76fdba5d3395a9f | [] | 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 | 153 | sci | Exa_4_1b.sci | function[za]=ztransfer(sequence,n)
z=poly(0,'z','r')
za=sequence*(1/z)^n'
endfunction
x1=[2 1 -5 4];
n=-1:length(x1)-2;
ztransfer(x1,n) |
64241a43f548d595907cd88051859ea0fd85dbef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.2/example14_2.sce | e75e7a46486268c8b650fe6cc793e0e2c6c86ab7 | [] | 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 | 465 | sce | example14_2.sce | clc
// Given that
P = 2e5 // radiated power in W
f = 98e6 // frequency in Hz
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in C
// Sample Problem 2 on page no. 14.20
printf("\n # PROBLEM 2 # \n")
printf("Standard formula used \n")
printf(" E = h*mu \... |
23fcad440907e1672858f51d7ee8b8f0d8c84678 | 3362d6b11f4bc1566b42a84158b0aaf5e2b2e632 | /snake/snake.tst | b9e39d87da7652d48307551459f4e51ba5564b20 | [] | no_license | elanelango/nand2tetris | b87319ece65f4c2747776592c4b21a5a874c06e9 | d0e9010933ac6cda9ea164fac09c3087b03991d4 | refs/heads/master | 2021-07-13T03:28:07.423296 | 2020-09-21T05:51:37 | 2020-09-21T05:51:37 | 205,093,385 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29 | tst | snake.tst | load,
repeat {
vmstep;
}
|
ab3ba999df7c6cc25875df79719228957d4ec55c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH8/EX8.5/Example8_5.sce | 6ae31f79f7760e24995117040d4f2b8986377d19 | [] | 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 | 317 | sce | Example8_5.sce | //Chapter-8,Example8_5,pg 8_35
Z2=250
Z3=200
Z1=50
Z4=Z2*Z3/Z1//magnitude condition
theta1=80
theta2=0
theta3=30
theta4=theta2+theta3-theta1//angle condition
theta4=theta4*%pi/180//in radians
Rx=Z4*cos(theta4)//real part
Ry=Z4*sin(theta4)//imag. part
Z4=Rx+%i*Ry
printf("unknown impedance\n")
disp(Z4)
|
38321b206f0276a2aa7fc3c3f5e49ef23bc0e92e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH8/EX8.3/63ex3.sce | 81e44935c9ec0392e3332fb9e6d93ba870e5d801 | [] | 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 | 336 | sce | 63ex3.sce |
//2x+3y=42, 5x-y=20
clear;
clc;
close;
x=poly(0,'x');
y=(42-2*x)/3; //equation 1
y=5*x-20; //equation 2
for x=1:20
if((42-2*x)/3==5*x-20)
mprintf("x=%i ",x)
break
end
end
//substitute the x value in any one of the above equations
y=5*x-20;mprintf("y=%i",y)
printf("\n the solution is ... |
9622ca1fb3214f5477f078fddcf1a035c160873b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH6/EX6.19/Ex6_19.sce | 32d451137ebef262f791741326b92d51c500ba0f | [] | 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 | 347 | sce | Ex6_19.sce | clc,clear
//Example 6.19
//to express an equation in polar coordinates
//Given equation is : y=x
y_by_x =1; //ratio of y and x
tan_theta = y_by_x;
theta=atand(tan_theta); //azimuth angle
printf('The given equation in polar coordinates is : theta = %.0f degree\n',theta)
printf('\nNote: Polar form is same re... |
173593f9ed159cd8f819cf66e5dcec006a6ae3f4 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/NRZBandwidthStudy/Fig6-PSDofTrapPulse.sce | 439b21c11c22a7778364f76789df5c1d65c8e029 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Fig6-PSDofTrapPulse.sce | // Plot of PSD for ideal pulse
// (c)2008 Lenny Rayzman
//////////SPECIFY/////////////////////
samplerate=1000; // Number of points per period (must be multiple of 2)
trf=0.4; // Rise and fall time
//////////////////////////////////////
tofn=[0:1/(samplerate/2):3];
pps... |
016fe2e6f18899691589853d867af2cbff23657d | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH4/EX4.2/example42.sce | a71bf5e8420ba2f4748fa9eb77caead12bb85520 | [] | 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 | 114 | sce | example42.sce | //Example 4.2
//Find DTFT of x[n]=(a^n)u[-(n+1)]
clc;
syms w a n;
x=a^n;
X=symsum(x*exp(-%i*w*n),n,-%inf,-1); |
f417b9db589c4a344323fd9d8066431184c8f7f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH12/EX12.4/Ex12_4.sce | ce649cddfef3d3b0d05c11bd6a57c113cd9683b2 | [] | 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 | 603 | sce | Ex12_4.sce | //Ex12_4
clc
VI=-15
disp("VI= "+string(VI)+" volts") // Input voltage
TSW=2*10^(-3)
disp("TSW= "+string(TSW)+" seconds")// triangular wave Sweep time
R=10*10^(3)
disp("R= "+string(R)+ " ohm") // resistance as ckt. parameter
C=0.5*10^(-6)
disp("C= "+string(C)+" farad") // capacitance as ckt. parameter
S=-VI... |
72721f31c31acc6c87986198e710570f55ffaf71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH3/EX3.10/Ex3_10.sce | 91fa85f8cd332d88fd972700348abc7a93f9c5af | [] | 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 | 831 | sce | Ex3_10.sce | clc
//
//Variable declaration
t=0.160 // thickness(in)
T=24 // Torque(kip.in)
//Calculation
// Case(a)
Area=3.84*2.34 // Area bounded by centre line(in**2)
t=(T)/(2*t*Area)... |
308159e36be96cad781fe1925638302964c0315f | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH4/EX4.12/Example_4_12.sce | 0bbb6fa2294328ce8bc4f159599f2694d5ec12f5 | [] | 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 | 232 | sce | Example_4_12.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 4
//Second Law of Thermodynamics
//Example 12
clear;
clc;
//Given
//This is a theoretical question and does not involve any numerical computation
//end |
a62d554211b5147029c1ca3b2b33d69bfb5530e1 | 5ba9974f88f5d5ba808f9905096f7cd42fb380cb | /ES84/ES 84 removal exams/input22.sce | b78e42a0b2d96b8419bffb1cdc00022f6f0db233 | [] | no_license | Ailen-Aspe/test | a721d5ac0dc214d1a94d850bf1e5ce4f05b94592 | 884c7665fb122a21681f21a5e0137cb8aaecd6e3 | refs/heads/master | 2020-12-24T10:24:35.969105 | 2017-01-14T07:04:02 | 2017-01-14T07:04:02 | 73,158,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | input22.sce | function x = GAUSS (a,b)
n=size (a, "c")
x=zeros(n,1)
//a. Forward elimination
for k= 1: n-1
for i = k + 1: n
fact = a(i,k)/a(k,k);
for j = k + 1: n
a(i,j) = a(i,j) - fact * a (k,j);
end
b(i) = b(i) - fact * b(k);
end
... |
079279c0c1d50c2f82de5d38093bc61a72401dde | e20b143bd16a6a60520c5d3f6c30af9356cc0aa2 | /macros/update_checkbox.sci | f7873a2f18d01234da4b9da999ae2608219717f9 | [] | no_license | slevin48/covid | 2c4806c1d1d91b2196f3086e2af7c69c420fb4db | c482d908ae58b82558f338b63020845cefc43742 | refs/heads/master | 2022-05-28T10:40:56.271120 | 2020-04-29T16:08:27 | 2020-04-29T16:08:27 | 258,529,494 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sci | update_checkbox.sci | function update_checkbox()
c = get("compare").Value;
if c==0 then
set("country_compared","enable","off")
else
set("country_compared","enable","on")
end
endfunction
|
6b0be39376116e9840454093ec22bb5f1e9a15a0 | 60a8a4ce793d26ce86d35bcc0f2d58bd428855f1 | /3(B)Program to solve Product rule principle..sce | 293bbc44c0c2568562689a268271ce8526bedbcc | [] | no_license | muitnet/DM-Practicals-Exam | 194328e084450c7f06d2847eacb9cad170193197 | a9ad7a06e8fc28ffcbcde231b53c1de716fb97a3 | refs/heads/master | 2020-06-11T19:51:30.232988 | 2016-12-05T13:04:59 | 2016-12-05T13:04:59 | 75,625,333 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | 3(B)Program to solve Product rule principle..sce | disp( 'a license plate contains two letters followed by three digits where first digit can not be zero')
n =26;//number of english letters
n*n; //number of ways of choosing two letters in the license plate
p =10;//number of digits (0-9)
(p -1) *p*p; // number of ways to select the three digits with the first digit ... |
8ee4e2b513a581c0a5ebf85705d4fd1243ff1603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH16/EX16.5/Example16_5.sce | aa32005b9145e9d1ee9396fc95786aedceb3f4fe | [] | 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,013 | sce | Example16_5.sce | // Computation of pH in a titration of weak acid and strong base
clear;
clc;
printf("\t Example 16.5\n");
InitCH3COOH=0.1;//Initial concentration of CH3COOH solution, M
VCH3COOH=25;//volumeof CH3COOH, mL
nCH3COOH=InitCH3COOH*VCH3COOH/1000;
Ka=1.8*10^-5;//equilibrium constant of acid, M
Kb=5.6*10^-10;//equ... |
2ccd16861406ff5cb95d7031acf570f0c659f421 | bf63c70e054c641e89a6f7a4623a7634ce9a8a9d | /test/PA1.prev.tst | 853c8436e08784ae7f5f584f894c14b5931a8236 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gfis/jextra | 9c8c030faf35f0834843ed8f07cc061ca9d65a64 | bdad8fd33fdf633cf2ff4c1879e1f61935c3d636 | refs/heads/master | 2022-03-13T21:31:56.132450 | 2022-02-12T21:27:40 | 2022-02-12T21:27:40 | 30,127,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | tst | PA1.prev.tst | java.version=1.8.0_311
os.name=Windows 10
enbloc=1
enbloc=1
debug=3
gener=0
reorg=1
language=BNF
|
a3e8ab04e6594e521e9aaec182ab5d6d37456afd | 0f19c8f5a3aea34f2f91c728667b6e8f47887805 | /clean.ECB.en-fr.fr.tst | f4e1b93904eb82d5ab14e587b6e73c8c64ffd1ae | [] | no_license | DanBerrebbi/transformer_RELU_v8 | 4e9ffe04b11da2ade2e54a79c0870df70e69c0b9 | f5985d9a89cd9fc0e644aa0f3c785507b9133ce3 | refs/heads/main | 2023-07-19T04:36:12.925228 | 2021-08-15T00:18:19 | 2021-08-15T00:18:19 | 364,864,976 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191,436 | tst | clean.ECB.en-fr.fr.tst | INCIDENCE DU SEPA POUR LES ACTEURS CONCERNÉS >P O U R L E S C O N S O M M AT E U R S Les instruments de paiement SEPA seront disponibles dans l' ensemble de la zone euro , ce qui facilitera la vie des consommateurs .
Courtiers en valeurs mobilières et produits financiers dérivés ( 12 séries au total ) .
6 Titres en eur... |
fcda77089da6c5b649195d2e618d9875c83febbd | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 8/Q2.sce | b71e3ecbda6957227766db163b029973896c1fc8 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,444 | sce | Q2.sce | clc; clear;
s = poly(0, 's');
K2 = [0.001, 0.01, 0.1, 1, 10, 20];
K1 = 5 * K2;
t = 0:0.01:10;
plotcolors = ["scilabred4", "scilab blue2", "scilab green4","scilabmagenta4", "black", "royalblue"];
scf();
for i=1:size(K2, 2)
k2 = K2(i);
k1 = K1(i);
g = (s + k1) / (s + k2);
G = syslin('c', g);
plot2d(t,... |
ecde79af0905ff4a5e124203c8f3a13fb081f2e9 | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-env-variables-new/C/H5D/testfiles/110/h5ex_d_nbit.tst | 6dc94b37b563ef65a39ff95eb6596ab993fe0e3a | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | 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 | 62 | tst | h5ex_d_nbit.tst | Filter type is: H5Z_FILTER_NBIT
Maximum value in DS1 is: 1890
|
d1281f84006ded73ae028924d35051cd221ebb98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH4/EX4.8/4_8.sci | 2d06f39cefd41f2a5871d5ca97615bff194297f2 | [] | 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 | 159 | sci | 4_8.sci | // 4.8
clc;
n=5;
Ql=2^n;
Range=(Ql-1)*1;
disp('range is 0-31 V with each step representing 1V')
Qe=27.39-27;
printf("\nquattization error =%.1f V",Qe)
|
d5a7aeeef1b5a1b95fddaa54dac08c23916b24da | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH8/EX8.1/Example8_1.sci | 29e330821579b3da48c078622d81cdf46e34c50f | [] | 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,091 | sci | Example8_1.sci | clc();
clear;
// To calculate the average film coefficient of heat transfer
D=0.0752; // Outer diameter in ft
T1=61.4; // Pipe surface temperature in degF
T2=69.9; // Air temperature in degF
Tf=(T1+T2)/2; ... |
bfad6f04e171df86fb64aacd37dfb9179531d3e0 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/NR21KCM/ATWM1_Working_Memory_MEG_NR21KCM_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 290b5cf633fe59782c9036c4978c73103bbac341 | [] | 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,383 | sce | ATWM1_Working_Memory_MEG_Salient_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_monitor... |
69da42c4c257b63b03e162073cf3e5092b903ca9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH2/EX2.11/Ex2_11.sce | 0f0fb390678aa1fa73a365dd8a312c10c8a60ad5 | [] | 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 | 354 | sce | Ex2_11.sce | Td=1*10^(-1*6)
Delf=1*10^6//difference in frequency
printf("\nDelf= %.f MHz",Delf*10^(-6));
Bc=1/(2*%pi*Td)//coherence bandwidth
printf('\ncoherence bandwidth= %.2f kHz',Bc*10^(-3))
if Delf>Bc then
disp(,'Correlative fading fading will not be experienced as Delf>Bc')
else disp(,'Correlative fading fading will... |
bd0e800bae61f192cbc5d6c56ebc85b951c4c6ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH6/EX6.4/Ex6_4.sce | 2446945dfc67e15286b93ac677793e623f46cdb4 | [] | 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 | Ex6_4.sce | // SAMPLE PROBLEM 6/4
clc;funcprot(0);
// Given data
m=7.5;// kg
rbar=250/1000;// m
k_o=295/1000;// m
theta_1=0;// degree
theta_2=60;// degree
g=9.81;// The acceleration due to gravity in m/s^2
// Calculation
// SigmaM_o=I_o*alpha;
// alpha=28.2*cos(theta);
wsquare=48.8;// (rad/s)^2
// SigmaF_n=m*rbar*om... |
7719abd950c438b0e49523e11cf0048154f62b2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH5/EX5.3/ex5_3.sce | f8a02ae522d55af3240eb53c34d65245d635bf0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | ex5_3.sce | //ex5.3
B_DC=100;
R1=10*10^3;
R2=5.6*10^3;
R_C=1*10^3;
R_E=560;
V_CC=10;
V_BE=0.7
R_IN_base=B_DC*R_E;
//We can neglect R_IN_base as it is equal to 10*R2
disp(R_IN_base,'input resistance seen from base, which can be neglected as it is 10 times R2')
V_B=(R2/(R1+R2))*V_CC;
V_E=V_B-V_BE;
I_E=V_E/R_E;
I_C=I_E;... |
0ec2a9e5491f462eae2c57843fc2cdc93a08bc3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH9/EX9.8/example9_8.sce | 9600aeffc6438d508f2339c40565124779a59c35 | [] | 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 | 827 | sce | example9_8.sce | clear;
clc;
//Example9.8[Heat Loss through Aluminium Framed Windows]
//Given:-
H=1.2;//Height[m]
w=1.8;//Width[m]
Ti=22;//Inside temp[degree Celcius]
To=-10;//Outside temp[degree Celcius]
U_a=6.63,U_b=3.51,U_c=1.92,hi=8.3;//[W/m^.degree Celcius]
//Solution:-
A_win=h*w;//[m^2]
Q_win_a=U_a*A_win*(Ti-To);//[W... |
cf3dcbc433e20bf537cbc41fd3516b0109aad05a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.13/Ch03Ex13.sce | f17c1e926d49231af403975f32b15bfe2ce7a145 | [] | 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 | 603 | sce | Ch03Ex13.sce | // Scilab code Ex3.13: Pg 96 (2008)
clc; clear;
N = 20; // Number of plates in a capacitor
A = 6400e-06; // Cross - sectional area of plate, m^2
d = 1.5e-03; // Distance between plates, m
epsilon_r = 6.4; // Relative permittivity for mica
epsilon_o = 8.854e-12; ... |
dba244f7c92c4807b30e315fb678a0db59180b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH8/EX8.3.a/Example8_3_a.sce | 6c28f9a0d401bd1e0621ed2cfb986624a753e715 | [] | 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 | 376 | sce | Example8_3_a.sce | //Example 8.3 (a)
//Program to find the Voltage Gain of the Amplifier
clear;
clc ;
close ;
//Given Circuit Data
Bac=150;
rin=2*10^3; //Ohms
R1=4.7*10^3; //Ohms
R2=12*10^3; //Ohms
//Calculation
Rac=R1*R2/(R1+R2);
Av=Bac*Rac/rin;
//Displaying The Results in Command Window
printf("\n\t The Voltage Gain of th... |
93d3feab52050e2e93815e41d9f79b7d01228cc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH8/EX8.3/ex8_3.sce | fab49e33df3d60456a5913877554ebf72c1ad14c | [] | 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 | 288 | sce | ex8_3.sce | // Exa 8.3
clc;
clear;
close;
format('v',7)
// Given data
I_Don = 5;// in mA
V_GS = 8;// in V
V_GST = 4;// in V
K = I_Don/((V_GS-V_GST)^2);// in mA/V^2
// Drain current when V_GS= 6 V
V_GS= 6;// in V
I_D = K*((V_GS-V_GST)^2);// in mA
disp(I_D,"The drain current in mA is");
|
50f391fd72983dbe6afe32ea388b1c75488e2041 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH9/EX9.5/Ex9_5.sce | f008fdad0b30d6ead934eb7a8c0bc4b81cdfe5ce | [] | 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 | 703 | sce | Ex9_5.sce | //example-9.5
//page no-280
//given
//stress
sigmamean=70 //MPa
//stress range
sigmarange=210 //MPa
//as we know that
//sigmamean=(sigmamax+sigmamin)/2
//from this we get
//sigmamax+sigmamin=140 -----------(1)
//also
//sigmarange=sigmamax-sigmamin
//so we get
//sigmamax-sigmamin=210 ----------(2)
/... |
05bfce67d05d046576f997f72bfddd7831ce91f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.10/ex4_10.sce | dc6fb3470fe39cbef98a9e52b60c9ebee4e2b942 | [] | 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 | 277 | sce | ex4_10.sce | clc;
q1=(2*10^-8); //charge in coulomb
q2=(-2*10^-8); //charge in coulomb
q3=(3*10^-8); //charge in coulomb
q4=(6*10^-8); //charge in coulomb
s=1; //side in m
V=(9*10^9)*(1/s)*(q1+q2+q3+q4); //calculating voltage
disp(V,"Voltage in Volts = "); //displaying result |
0a367728e334856d95e8d26d3d585706ffa70488 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%r_s_lss.sci | a9d096399f67c57f957db3d22147276880b07869 | [
"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 | 153 | sci | %r_s_lss.sci | function [s]=%r_s_lss(s1,s2)
//s=%r_s_lss(s1,s2) ou s=s1-s2
// s1 : transfer
// s2 : state-space
//!
// Copyright INRIA
[s1,s2]=sysconv(s1,s2)
s=s1-s2
|
652796fde29fc3847adb03cc76bf7c794e2d4cb5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/arma/armax.sci | 4f9bf5c5ab97c27e32b9984ff3b768c8216faf90 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,057 | sci | armax.sci | //<la,lb,sig,resid>=armax(r,s,y,u,b0f,prf)
//<la,lb,sig,resid>=armax(r,s,y,u,[b0f,prf])
// Identification ARX
// Calcule les coefficients d'un ARX n-dimensionnel
// A(z^-1)y= B(z^-1)u + sig*e(t)
// e(t) est un bruit blanc de variance Id n-dimenssionnel
// sig: est une matrice (n,n)
// A(... |
9ba3f373f56066a0d1fe14c8a28a42f775c6968d | c137ad73980ccee1797e18dbd2b9b00ca6575f80 | /projects/01/Mux4Way.tst | 09cc9403a7a3128a8ddf0b7dc49a388fa6d3d562 | [] | no_license | sasakinzm/nand2tetris | 31f0753404153754fe57ff621386c1c93a7f81bc | 404c35bd85e41aecba8d1c654f1f23bdea766ea4 | refs/heads/master | 2022-06-30T11:41:31.043694 | 2020-05-12T14:06:53 | 2020-05-12T14:06:53 | 260,677,042 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,235 | tst | Mux4Way.tst |
load Mux4Way.hdl,
output-file Mux4Way.out,
compare-to Mux4Way.cmp,
output-list a%B3.1.3 b%B3.1.3 c%B3.1.3 d%B3.1.3 sel%B2.2.2 out%B3.1.3;
set a 0,
set b 0,
set c 0,
set d 0,
set sel %B00,
eval,
output;
set d 1,
eval,
output;
set c 1,
set d 0,
eval,
output;
set d 1,
eval,
output;
set b 1,
set c 0,
set d 0,
eval,
o... |
5a2be324076466df3b84255153d07e0f8c8ee2e8 | 2707da68619819d8105f9ae472647dc578c75730 | /Frequency.sci | f4d19c6b0e6a1124cfc22b33f762394e07dae161 | [
"Apache-2.0"
] | permissive | KrayzeX/ToE | 1aa62db747841e960fb47fbd59e38c6afa3a0723 | ad81dd433c0d3b23ebb00f0e65095ab6c1bed34e | refs/heads/master | 2020-05-26T09:19:33.970171 | 2017-06-02T08:50:16 | 2017-06-02T08:50:16 | 82,474,743 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 999 | sci | Frequency.sci | //Марчук Л.Б. 5307 подгруппа 3
//Модуль построения графиков АЧХ и ФЧХ
function [] = Frequency(Hs)
//S = jw
//Исследуемый отрезок частот
w = 0:0.01:30;
Values = freq(numer(Hs), denom(Hs), %i*w);
//АЧХ
A = sqrt(real(Values)^2 + imag(Values)^2);
plot2d(w, A);
//Находим... |
c3e0d092f64ffae43c45762c41e065aa4416aca0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH9/EX9.7/Example9_7.sce | 785537d32a8d21ae70f21c29d73b36fea1dbec21 | [] | 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 | 542 | sce | Example9_7.sce | clear ;
clc;
// Example 9.7
printf('Example 9.7\n\n');
// Page no. 243
// Solution
//Basis: 3 g mol H2 by reaction (a)
// 0.50 g mol C2H4 by reaction (b)
// by analysing reaction (a) 0.50 g mol C2H4 corresponds to 0.50 g mol H2 produced in reaction (b)
// By using reaction (a)
H2_a = 3-0.50 ;// H2 produced in reactio... |
abb957bc03041b3f2a1dbfbd24303790a52906fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.3h/eg7_3h.sce | cd1af4f0db4db32e049e8976eaf5682ff41441c6 | [] | 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 | 352 | sce | eg7_3h.sce | num=10;
X= [0.123 0.133 0.124 0.126 0.120 0.130 0.125 0.128 0.124 0.126];
//disp(variance(X))
s2 = variance(X);
chi1 = cdfchi("X",num-1,0.95, 0.05 );
chi2 = cdfchi("X",num-1,0.05, 0.95 );
//disp(chi1, chi2)
lowerlim = (num-1)*s2/chi2;
upperlim = (num-1)*s2/chi1;
disp(sqrt(upperlim), "to ",sqrt(lowerlim),"The... |
8aca620080a1e697e3ca4fa86430ca7ea884fb76 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/posters2d/edit-me.sce | 6e41f4f0b29378e0b73f1abbcef2a4697aeebf22 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,410 | sce | edit-me.sce | function [n] = solve(ns)
// Dit is een moeilijkere 2D-versie van vpw-posters1d.
//
// Je begint met een lege muur met onbeperkte afmetingen.
// Op deze muur plak je een aantal posters. Deze posters kunnen overlappen.
// De vraag is om uit te rekenen hoeveel posters nog zichtbaar zijn
// nadat j... |
aee663dd3f27bde8109efc064374eba22e4264a1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/UQ58DVC/ATWM1_Working_Memory_MEG_UQ58DVC_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | b6b60b93ad0aeea67ec4406ef2be63ee98063413 | [] | 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,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
267f963f201bda3fcbfb109a7d84daa1db522543 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH5/EX5.7/Exa_5_7.sce | 7795043c90ebf8bc2b6ca9db187bf48ca5d61e5e | [] | 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 | 211 | sce | Exa_5_7.sce | //Exa 5.7
clc;
clear;
close;
format('v',7);
//Given Data :
deltaQ=850;//KJ
T=180+273;//Kelvin
T0=22+273;//Kelvin
deltaS=deltaQ/T;//KJ/K
A=deltaQ-T0*deltaS;//KJ
disp(A,"Available energy in KJ : ");
|
232601fd693a19667581798f0a9952125c1e1d35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.13/Ex3_13.sce | 126e2988a4bc370482d23a7e2e977c21a5937ee2 | [] | 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 | 626 | sce | Ex3_13.sce |
// Examle 3.13
// From Diagram (3.26) Apply KVL to get 24-4I-2I+18I= 0
I=(-24/12); // Current
disp(' The value of Current = '+string(I)+' Amp');
V1=4*I; // Voltage across 4 Ohm Resistor
p=-(4.5*V1*I); // Power absorbed
... |
d86ba9397a9489c953ffcb203993fb78224a3e9c | 0f6ed5bf53ef2307a106f2ad288829fb51f2f377 | /rotE.sci | cbb190aec5447599d04503e3e7851dc41ac381ad | [] | no_license | otreblan/TAP-2 | 9bca51bc7cda86a5c764d5325c7ab917483243be | 7d7e49d9b55f0448e03813462f48c0fdc28092d7 | refs/heads/master | 2022-06-01T00:26:00.256412 | 2020-05-01T14:15:56 | 2020-05-01T14:15:56 | 260,449,614 | 0 | 0 | null | 2020-05-01T12:05:29 | 2020-05-01T12:05:28 | null | UTF-8 | Scilab | false | false | 238 | sci | rotE.sci | exec("projection.sci")
exec("Rmat.sci")
// theta debe estar en grados
function [A, B, C, D] = rotE(u, theta, d)
[_A _B _C _D] = projection(d)
[R] = Rmat(u, theta)
A=R*_A
B=R*_B
C=R*_C
D=R*_D
endfunction
|
ec79c3fedef116444704da0422483fcb454f4434 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.20/2_20.sce | 17898e54e1a282d274e0a2c5cac14a6d7c9b9bda | [] | 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 | 760 | sce | 2_20.sce | //Example 2.20
//Given
//for clay
k1=0.533 //[W/(m.K)]
//for red brick
k2=0.7 //[W/m.K]
//Case 1
A=1 //Area
x1=0.125 //[m]
x2=0.5 //[m]
//Resistances
r1=x1/(k1*A) //Res of fire clay [K/W]
r2=x2/(k2*A) //Res of red brick[K/W]
r=r1+r2
//Temperatures
T1=1373 //[K]
T2=323 //[... |
287a589d4c823eb98e4f70b0a652076722553449 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH7/EX7.4/Ch07Ex04.sce | d11f1d12ca67e35c8f9ee20babbfe39d5a6be080 | [] | 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 | 356 | sce | Ch07Ex04.sce | // Scilab code Ex7.4: Pg.294 (2008)
clc; clear;
delta_E = 4.5e-05; // Energy splitting, eV
mew_B = 5.79e-05; // Bohr magneton, eV/T
B = delta_E/(2*mew_B); // Magnetic field, T
printf("\nThe magnetic field experienced by 2p electron in hydrogen= %4.2f T", B);
// Result
// The magnetic field experienced... |
509a80d3d00f6c504587a22b0337653d84d250bf | 37a413853d706c06aeafe79d5f991c9b16928ce2 | /DSP/batch1.sce | d9965e6aaa108522d325b25defe88ae8b23dd680 | [] | no_license | Akshaykharmale/compsem7 | 968e6b25f802632963d9bfbf29369d2c6da6aaa7 | 921c4518d4140ffd3201ef35303f40829792acb3 | refs/heads/master | 2021-01-01T19:08:50.868935 | 2017-07-28T14:35:43 | 2017-07-28T14:35:43 | 98,522,171 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30 | sce | batch1.sce | clc;
clf;
disp "Hello World";
|
62a4739ae4c8e29f36a86fa2f30a9ddf2e7ec69e | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH7/EX7.6/ex_6.sce | c935dd8c1a4413d6f0830838ecab6647075c3711 | [] | 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 | 127 | sce | ex_6.sce | // PG (489)
A = [1 -2;-3 4]
norm(A,1)
norm(A,2)
norm(A,'inf')
lam = spec(A)
r = max(abs(lam))
//r < = norm(A,2) |
77c685d9c3a9763e5dc7cca62bec88287bafd254 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH6/EX6.2/Ex6_2.sce | a24d58abc0ed6e0a249427fdadf3e4509efd3593 | [] | 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 | 327 | sce | Ex6_2.sce | clear
//
//
//
//Variable declaration
A=100*10**-4 //area(m**2)
epsilon0=8.85*10**-12
d=1*10**-2 //seperation(m)
V=100 //potential(V)
//Calculation
C=A*epsilon0/d //capacitance(PF)
Q=C*V //charge on plates(C)
//Result
printf("\n capacitance is %e F",C)
printf("\n charge on plates is %e ... |
0e8774f3c510ec75a2d7dcbdbe36d062e2bded94 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /google-code-jam/2011/round1c/C/test-01.tst | 6030d4d9a05096a4657f68dd767c633478c19402 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | tst | test-01.tst | 2
3 2 100
3 5 7
4 8 16
1 20 5 2
~~~~~~~~~~~~~~~~~~~~~~~~~~
Case #1: NO
Case #2: 10
|
29c0a4247ffda9965bb38c4c9beadebfec516985 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_U2.sce | a2316042da13b49312d71aefb4c39dee445b0150 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Mission_U2.sce | // Mission U2
// Obtention de l'image
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_U\U2_surface.pbm";
img_in = readpbm(pathname);
// Application du filtre de sobel afin de ne garder que les contours
img_out = filtreSobel(img_in);
// Affichage
figure;
display_gray(im... |
20601cfd2ee0298417e8c71befc9781d832e579e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.27/7_27.sce | 1923f7487d2da66c0e8b53759189d64b7c327f11 | [] | 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,182 | sce | 7_27.sce | clear;
clc;
//Example - 7.27
//Page number - 261
printf("Example - 7.27 and Page number - 261\n\n");
//(a)
//This part involves proving a relation in which no numerical components are involved.
//For prove refer to this example 7.27 on page number 261 of the book.
//(b)
//This part involves proving a rel... |
bd90c793e54a11eecf2302d094d3645d98e693b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.5/Example9_5.sce | df3fea3966e20dbfda774c88ec08637c3a339c25 | [] | 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 | 158 | sce | Example9_5.sce | //Chapter-9,Example9_5,pg 9_24
P=4
A=P
Z=480
phi=20*10^-3//flux(in Wb)
Ia=50
Ta=0.159*phi*Ia*(P*Z/A)
printf("gross torque\n")
printf("Ta=%.3f N",Ta)
|
c64f51dc60dbd5bb25c3a32f79074a0638b82291 | fe627357f98c13ac8718604974b56279f3f28847 | /experimento15.01.19.sce | 785a24dd31090214e0d9d45d2e01f6c98827d3f8 | [] | no_license | NataliaKitaoka/iniciacaoCientifica | bd04dd52523828f884cf7d032fd11c5f0f77defd | e4e5a9fe750551400e9995ec6a1a2f9effa2c824 | refs/heads/master | 2020-04-19T04:05:53.969491 | 2019-01-29T12:34:48 | 2019-01-29T12:34:48 | 167,953,402 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,231 | sce | experimento15.01.19.sce | //PCA das imagens de colônias de S. cerevisiae irradiadas com 2Gy e do controle.
clear, clear all, clearglobal()
//stacksize(2e7)
//------------- compressao por Wavelet -------------------
n= 34;// numero de dados totais
n1 = 12; //numero de amostras da classe 1 = controle
n2 = 8; //numero de amostras da cl... |
cf801e3b4057adb126b3f13c0480d3c3f2bd971f | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t43.tst | 15febc3f8b03a213913accbec4eadce9107be42b | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t43.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e20</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e63</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e73</EventId>
<Reaching... |
033c6249e66af0a4a7159a498fac4ccfad6f3531 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH8/EX8.5/Example8_5.sce | 9dd6fdff684d2f325460ece430c13c848d17e3b8 | [] | 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 | 3,868 | sce | Example8_5.sce | clear;
clc;
// Illustration 8.5
// Page: 299
printf('Illustration 8.5 - Page: 299\n\n');
// solution
//****Data****//
// a = NH3 b = H2 c = N2 w = water
P = 2;// [bars]
Temp = 30;// [OC]
L = 6.38;// [kg/s]
W = 0.53;// [weir length,m]
pitch = 12.5/1000;// [m]
D = 0.75;// [Tower diameter,m]
hW = 0.0... |
c01e1f663a6320bfea40d0eac13690164f3fdfd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.15/Ex1_15.sce | f37c984529bb154d6bd532017383cec713bebcb9 | [] | 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 | 244 | sce | Ex1_15.sce | clc
//
//
//
//Variable declaration
s=2.143*10**-3
mu=1.542 //refractive index
lambdaa=5893*10**-10 //Wavelength
Beta=0.347*10**-3
//Calculations
t=(s*lambdaa*10**6)/(Beta*(mu-1))
//Result
printf("\n The refractive index is %0.2f mu m",t)
|
55bad96c9f98975af5325f34c9092a7a6e7220f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.a.6/exaA_6_6.sce | 610af856f9d3fabaefde9a3dd8ddf49c9c5ca262 | [] | 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 | 474 | sce | exaA_6_6.sce | // Example A-6-6
// Root locus
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("rootl.sci");
s = %s;
G = syslin('c',1,s * (s + 1) * (s^2 + 4*s + 13));
rootl(G,[-6 -5; 6 5],'Root locus plot for 1/ [s * (s + 1) * (s^2 + 4*s + 13]');
// the same method ... |
c9b91aa147929e6ae73dac29157f1516c01f2808 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/divers/read/main.sci | 4ea70fe8b78f5e36e005b4f18ef58b428e1d34b6 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | main.sci | fid=mopen("main.dat","r")
// skip header
header=mfscanf(fid,"%s")
// read up to eof
[N,tick,n1,dat,tim,f1,f2,f3,f4]=mfscanf(-1,fid,"%6s,%d,%d,%d,%f,%f,%f,%f\n")
mclose(fid) |
e6d03697a495c87017cb878d34ef8a41c40d9838 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH10/EX10.11/10_11.sce | 120c732ab11aa03d8b9a6a7d36a63f6dc277707b | [] | 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 | 154 | sce | 10_11.sce | clc
//initialization of varaibles
h1=1183.2 //B/lb
hg=1198.4 //B/lb
hfg=843
//calculations
x=1- (hg-h1)/hfg
//results
printf("Quality = %.3f",x)
|
69091402a7e46ab8d7540b25026130887d61e3d6 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /FIAT/9.90111-01 2012/4.2.2 Supply Voltage Drop Out 0.tst | 25cb2feda563ef06ed6cc1a68a456aaf5bd15551 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,728 | tst | 4.2.2 Supply Voltage Drop Out 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Test</Title>
<Organization>FIAT</Organization>
<Standard>9.90111-01 2012</Standard>
<Item>4.2.2 Supply Voltage Drop Out</Item>
<voltage>13.5</voltage>
<count>5</count>
<w... |
501f5cab00e43e9826b40baacf1a3ade3ee13577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH16/EX16.03/16_03.sce | b97cb57ac57dec74b9fc12847fb70591a736cb01 | [] | 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 | 555 | sce | 16_03.sce | //Problem 16.03: A capacitor C is connected in parallel with a resistor R across a 120 V, 200 Hz supply. The supply current is 2 A at a power factor of 0.6 leading. Determine the values of C and R.
//initializing the variables:
pf = 0.6; // power factor
V = 120; // in Volts
f = 200; // in Hz
I = 2; // in Amperes... |
56f5e443b89623412cb3da3b91a9349f9857b485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.11/Ex6_11.sce | 717f839f3f99e1fd974506af8a1cf34abbee4334 | [] | 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 | 445 | sce | Ex6_11.sce | //Initilization of variables
w=50 //lb wind load
W=60 //lb weight of door
//Calculations
//Calculation as system of linear equations
A=[0 0 33;1 1 -1;28 10 -28]
B=[50*18;-50;-50*24]
C=inv(A)*B
P=C(3)/cosd(20)
D=[-28 -10;1 1]
E=[1080-(28*(P*sind(20)));P*sind(20)]
F=inv(D)*E
By=60
//Result
clc
printf('The ... |
73799cc471a55e34b8e4f0cdf21ffa95a21415a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH12/EX12.1/Example12_1.sce | 52877f3fe3d73de7e03f9ab252750dccd70fc214 | [] | 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 | 423 | sce | Example12_1.sce | //clear//
//Caption:Program to determine the phasor of forward propagating field
//Example12.1
//page400
clc;
close;
Eyzt = sym('100*exp(%i*10^8*t-%i*0.5*z+30)');
Eysz = sym('100*exp(%i*10^8*t-%i*0.5*z+30)*exp(-%i*10^8*t)');
disp(Eyzt)
disp(Eysz,'Forward Propagating Field in phasor form =')
//Result
//100*ex... |
ea6857aff80265903d3b8819760216be550c43b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH10/EX10.5.b/10_5_soln.sce | fd5424790df8cec05a61ad243cce24ac48466d3a | [] | 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 | 871 | sce | 10_5_soln.sce | clc;
pathname=get_absolute_file_path('10_5_soln.sce')
filename=pathname+filesep()+'10_5_data.sci'
exec(filename)
// Solutions:
// minimum required pipe flow area,
A=(Q/v); //m^2
// minimum inside diameter,
ID=sqrt((4*A)/(%pi))*1000; //mm
// wall thickness,
t1=1; t2=2; //mm
// tube inside diameter,
D1=20; D2=24; //mm
/... |
f81ca307031692f683768c8454c28038e81c9b6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH17/EX17.2/17_2.sce | 157b802b2f58fc1de2b65d353c4e87a7cf3ad971 | [] | 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 | 646 | sce | 17_2.sce | clc
//initialization of varaibles
k=1.3
P=250 //psia
h0=1263.4 //B/lb
w=10000
cv=0.949
vts=3.415 //cu ft/lb
//calculations
Pratio=(2/(k+1))^(k/(k-1))
Pt=Pratio*P
hts=1208.2 //B/lb
h2s=891 //B/lb
Vts=sqrt(2*32.2*778*(h0-hts))
w=w/3600 //lb/sec
at=w*vts/(Vts)
V2=cv*sqrt(2*32.2*778*(h0-h2s))
etan=cv^2
h2... |
7393c6a457cf6240c86948f9f752a52d8d487e8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH13/EX13.6/example6.sce | 35d627fb309f3199696594456de34c71de243665 | [] | 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 | 696 | sce | example6.sce | // calculate medium source resistance, drain voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-6, page 436
clear; clc; close;
// Given data
Vp=4 ;// pinchoff voltage in volts
Idss=10*10^-3 ;// maximum drain current in amperes
... |
ef6268efb8b18ae154f5f5a97417f6c1bbc38587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH8/EX8.28/Example_8_28.sce | 25ddb1eda467c2f18f624dc680b1f133fe12be76 | [] | 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,275 | sce | Example_8_28.sce | //Caption:Two-tailed Test Concerning the Difference between Two Proportions
//Example8.28
//Page281
clc;
n1= 150; //sample size w.r.to City-Y
n2 = 160; //sample size w.r.to City-X
N1 = 135;//number of credit card holders in City-X
N2 = 133;//number of creedit card holders in City-Y
p1 = N1/n1; // proportion ... |
1ccb47a919e0d93d7ed85fc5194c5e927a3a8ff6 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-PDF/FLPDFNormal-NZ-01.tst | b31e4de12a8514b99e386e0a05f05ab2a5305424 | [] | 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,428 | tst | FLPDFNormal-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 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.
-... |
3516414a2b3ffab603e63111ef3ca642ed54a3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH19/EX19.1/19_1.sce | 1502b390ebccebc836b7c4f073644576071989a5 | [] | 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 | 413 | sce | 19_1.sce | clc
//initialisation of variables
pN2= 79 //percent
VN2= 82.3 //m^3
VCO2= 8 //m^3
VCO= 0.9 //m^3
M= 32 //gms
M1= 28 //gms
//CALCULATIONS
P= (pN2/(100-pN2))
z= VN2/P
x= VCO2+VCO
w= VCO2+(VCO/2)+(VCO2/10)
y= 2*w
r= y/x
TO= x+(y/4)
X= (z/TO)-1
AF= z*(M+P*M1)/(12*x+y)
//RESULTS
printf (' fuel ratio= %.3f... |
705c195930fa5682d50d8638fb3c5c5fa9cd44c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.15/2_15.sce | 18ec4e8100e6baf2a87bfde68318459f12a0294c | [] | 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 | 982 | sce | 2_15.sce | clc,clear
printf('Example 2.15\n\n')
shaft_output = 80*746 //coverted to watts
eta= 80/100 //efficiency
V=250
N_1=1200
R_a=0.04,R_sh = 250 //armature and shunt field resistance
power_input = shaft_output/eta
I_L= power_input /V
I_sh= V / R_sh
I_a = I_L - I_sh
E_b1 = V - I_a*R_a
gross_mechanical_power= E... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.